@Generated(value="software.amazon.awssdk:codegen") public final class SubjectDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SubjectDetail.Builder,SubjectDetail>
The state of the subject after a read or write operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SubjectDetail.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SubjectDetail.Builder |
builder() |
Instant |
createdAt()
The ISO-8601 timestamp when the subject was created.
|
List<CredentialSummary> |
credentials()
The temporary session credentials vended at the last authenticating call with this subject.
|
Boolean |
enabled()
The enabled status of the subject.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCredentials()
For responses, this returns true if the service returned a value for the Credentials property.
|
int |
hashCode() |
boolean |
hasInstanceProperties()
For responses, this returns true if the service returned a value for the InstanceProperties property.
|
List<InstanceProperty> |
instanceProperties()
The specified instance properties associated with the request.
|
Instant |
lastSeenAt()
The ISO-8601 timestamp of the last time this subject requested temporary session credentials.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SubjectDetail.Builder> |
serializableBuilderClass() |
String |
subjectArn()
The ARN of the resource.
|
String |
subjectId()
The id of the resource
|
SubjectDetail.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updatedAt()
The ISO-8601 timestamp when the subject was last updated.
|
String |
x509Subject()
The x509 principal identifier of the authenticating certificate.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant createdAt()
The ISO-8601 timestamp when the subject was created.
public final boolean hasCredentials()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<CredentialSummary> credentials()
The temporary session credentials vended at the last authenticating call with this subject.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasCredentials() method.
public final Boolean enabled()
The enabled status of the subject.
public final boolean hasInstanceProperties()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<InstanceProperty> instanceProperties()
The specified instance properties associated with the request.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasInstanceProperties() method.
public final Instant lastSeenAt()
The ISO-8601 timestamp of the last time this subject requested temporary session credentials.
public final String subjectArn()
The ARN of the resource.
public final String subjectId()
The id of the resource
public final Instant updatedAt()
The ISO-8601 timestamp when the subject was last updated.
public final String x509Subject()
The x509 principal identifier of the authenticating certificate.
public SubjectDetail.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SubjectDetail.Builder,SubjectDetail>public static SubjectDetail.Builder builder()
public static Class<? extends SubjectDetail.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.