@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SubjectDetail extends Object implements Serializable, Cloneable, StructuredPojo
The state of the subject after a read or write operation.
Constructor and Description |
---|
SubjectDetail() |
Modifier and Type | Method and Description |
---|---|
SubjectDetail |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The ISO-8601 timestamp when the subject was created.
|
List<CredentialSummary> |
getCredentials()
The temporary session credentials vended at the last authenticating call with this subject.
|
Boolean |
getEnabled()
The enabled status of the subject.
|
List<InstanceProperty> |
getInstanceProperties()
The specified instance properties associated with the request.
|
Date |
getLastSeenAt()
The ISO-8601 timestamp of the last time this subject requested temporary session credentials.
|
String |
getSubjectArn()
The ARN of the resource.
|
String |
getSubjectId()
The id of the resource
|
Date |
getUpdatedAt()
The ISO-8601 timestamp when the subject was last updated.
|
String |
getX509Subject()
The x509 principal identifier of the authenticating certificate.
|
int |
hashCode() |
Boolean |
isEnabled()
The enabled status of the subject.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The ISO-8601 timestamp when the subject was created.
|
void |
setCredentials(Collection<CredentialSummary> credentials)
The temporary session credentials vended at the last authenticating call with this subject.
|
void |
setEnabled(Boolean enabled)
The enabled status of the subject.
|
void |
setInstanceProperties(Collection<InstanceProperty> instanceProperties)
The specified instance properties associated with the request.
|
void |
setLastSeenAt(Date lastSeenAt)
The ISO-8601 timestamp of the last time this subject requested temporary session credentials.
|
void |
setSubjectArn(String subjectArn)
The ARN of the resource.
|
void |
setSubjectId(String subjectId)
The id of the resource
|
void |
setUpdatedAt(Date updatedAt)
The ISO-8601 timestamp when the subject was last updated.
|
void |
setX509Subject(String x509Subject)
The x509 principal identifier of the authenticating certificate.
|
String |
toString()
Returns a string representation of this object.
|
SubjectDetail |
withCreatedAt(Date createdAt)
The ISO-8601 timestamp when the subject was created.
|
SubjectDetail |
withCredentials(Collection<CredentialSummary> credentials)
The temporary session credentials vended at the last authenticating call with this subject.
|
SubjectDetail |
withCredentials(CredentialSummary... credentials)
The temporary session credentials vended at the last authenticating call with this subject.
|
SubjectDetail |
withEnabled(Boolean enabled)
The enabled status of the subject.
|
SubjectDetail |
withInstanceProperties(Collection<InstanceProperty> instanceProperties)
The specified instance properties associated with the request.
|
SubjectDetail |
withInstanceProperties(InstanceProperty... instanceProperties)
The specified instance properties associated with the request.
|
SubjectDetail |
withLastSeenAt(Date lastSeenAt)
The ISO-8601 timestamp of the last time this subject requested temporary session credentials.
|
SubjectDetail |
withSubjectArn(String subjectArn)
The ARN of the resource.
|
SubjectDetail |
withSubjectId(String subjectId)
The id of the resource
|
SubjectDetail |
withUpdatedAt(Date updatedAt)
The ISO-8601 timestamp when the subject was last updated.
|
SubjectDetail |
withX509Subject(String x509Subject)
The x509 principal identifier of the authenticating certificate.
|
public void setCreatedAt(Date createdAt)
The ISO-8601 timestamp when the subject was created.
createdAt
- The ISO-8601 timestamp when the subject was created.public Date getCreatedAt()
The ISO-8601 timestamp when the subject was created.
public SubjectDetail withCreatedAt(Date createdAt)
The ISO-8601 timestamp when the subject was created.
createdAt
- The ISO-8601 timestamp when the subject was created.public List<CredentialSummary> getCredentials()
The temporary session credentials vended at the last authenticating call with this subject.
public void setCredentials(Collection<CredentialSummary> credentials)
The temporary session credentials vended at the last authenticating call with this subject.
credentials
- The temporary session credentials vended at the last authenticating call with this subject.public SubjectDetail withCredentials(CredentialSummary... credentials)
The temporary session credentials vended at the last authenticating call with this subject.
NOTE: This method appends the values to the existing list (if any). Use
setCredentials(java.util.Collection)
or withCredentials(java.util.Collection)
if you want to
override the existing values.
credentials
- The temporary session credentials vended at the last authenticating call with this subject.public SubjectDetail withCredentials(Collection<CredentialSummary> credentials)
The temporary session credentials vended at the last authenticating call with this subject.
credentials
- The temporary session credentials vended at the last authenticating call with this subject.public void setEnabled(Boolean enabled)
The enabled status of the subject.
enabled
- The enabled status of the subject.public Boolean getEnabled()
The enabled status of the subject.
public SubjectDetail withEnabled(Boolean enabled)
The enabled status of the subject.
enabled
- The enabled status of the subject.public Boolean isEnabled()
The enabled status of the subject.
public List<InstanceProperty> getInstanceProperties()
The specified instance properties associated with the request.
public void setInstanceProperties(Collection<InstanceProperty> instanceProperties)
The specified instance properties associated with the request.
instanceProperties
- The specified instance properties associated with the request.public SubjectDetail withInstanceProperties(InstanceProperty... instanceProperties)
The specified instance properties associated with the request.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceProperties(java.util.Collection)
or withInstanceProperties(java.util.Collection)
if
you want to override the existing values.
instanceProperties
- The specified instance properties associated with the request.public SubjectDetail withInstanceProperties(Collection<InstanceProperty> instanceProperties)
The specified instance properties associated with the request.
instanceProperties
- The specified instance properties associated with the request.public void setLastSeenAt(Date lastSeenAt)
The ISO-8601 timestamp of the last time this subject requested temporary session credentials.
lastSeenAt
- The ISO-8601 timestamp of the last time this subject requested temporary session credentials.public Date getLastSeenAt()
The ISO-8601 timestamp of the last time this subject requested temporary session credentials.
public SubjectDetail withLastSeenAt(Date lastSeenAt)
The ISO-8601 timestamp of the last time this subject requested temporary session credentials.
lastSeenAt
- The ISO-8601 timestamp of the last time this subject requested temporary session credentials.public void setSubjectArn(String subjectArn)
The ARN of the resource.
subjectArn
- The ARN of the resource.public String getSubjectArn()
The ARN of the resource.
public SubjectDetail withSubjectArn(String subjectArn)
The ARN of the resource.
subjectArn
- The ARN of the resource.public void setSubjectId(String subjectId)
The id of the resource
subjectId
- The id of the resourcepublic String getSubjectId()
The id of the resource
public SubjectDetail withSubjectId(String subjectId)
The id of the resource
subjectId
- The id of the resourcepublic void setUpdatedAt(Date updatedAt)
The ISO-8601 timestamp when the subject was last updated.
updatedAt
- The ISO-8601 timestamp when the subject was last updated.public Date getUpdatedAt()
The ISO-8601 timestamp when the subject was last updated.
public SubjectDetail withUpdatedAt(Date updatedAt)
The ISO-8601 timestamp when the subject was last updated.
updatedAt
- The ISO-8601 timestamp when the subject was last updated.public void setX509Subject(String x509Subject)
The x509 principal identifier of the authenticating certificate.
x509Subject
- The x509 principal identifier of the authenticating certificate.public String getX509Subject()
The x509 principal identifier of the authenticating certificate.
public SubjectDetail withX509Subject(String x509Subject)
The x509 principal identifier of the authenticating certificate.
x509Subject
- The x509 principal identifier of the authenticating certificate.public String toString()
toString
in class Object
Object.toString()
public SubjectDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.