@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SubjectSummary extends Object implements Serializable, Cloneable, StructuredPojo
A summary representation of subjects.
Constructor and Description |
---|
SubjectSummary() |
Modifier and Type | Method and Description |
---|---|
SubjectSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The ISO-8601 time stamp of when the certificate was first used in a temporary credential request.
|
Boolean |
getEnabled()
The enabled status of the subject.
|
Date |
getLastSeenAt()
The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.
|
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 time stamp of when the certificate was first used in a temporary credential request.
|
void |
setEnabled(Boolean enabled)
The enabled status of the subject.
|
void |
setLastSeenAt(Date lastSeenAt)
The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.
|
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.
|
SubjectSummary |
withCreatedAt(Date createdAt)
The ISO-8601 time stamp of when the certificate was first used in a temporary credential request.
|
SubjectSummary |
withEnabled(Boolean enabled)
The enabled status of the subject.
|
SubjectSummary |
withLastSeenAt(Date lastSeenAt)
The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.
|
SubjectSummary |
withSubjectArn(String subjectArn)
The ARN of the resource.
|
SubjectSummary |
withSubjectId(String subjectId)
The id of the resource.
|
SubjectSummary |
withUpdatedAt(Date updatedAt)
The ISO-8601 timestamp when the subject was last updated.
|
SubjectSummary |
withX509Subject(String x509Subject)
The x509 principal identifier of the authenticating certificate.
|
public void setCreatedAt(Date createdAt)
The ISO-8601 time stamp of when the certificate was first used in a temporary credential request.
createdAt
- The ISO-8601 time stamp of when the certificate was first used in a temporary credential request.public Date getCreatedAt()
The ISO-8601 time stamp of when the certificate was first used in a temporary credential request.
public SubjectSummary withCreatedAt(Date createdAt)
The ISO-8601 time stamp of when the certificate was first used in a temporary credential request.
createdAt
- The ISO-8601 time stamp of when the certificate was first used in a temporary credential request.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 SubjectSummary 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 void setLastSeenAt(Date lastSeenAt)
The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.
lastSeenAt
- The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.public Date getLastSeenAt()
The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.
public SubjectSummary withLastSeenAt(Date lastSeenAt)
The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.
lastSeenAt
- The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.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 SubjectSummary 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 resource.public String getSubjectId()
The id of the resource.
public SubjectSummary withSubjectId(String subjectId)
The id of the resource.
subjectId
- The id of the resource.public 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 SubjectSummary 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 SubjectSummary 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 SubjectSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.