@Generated(value="software.amazon.awssdk:codegen") public final class ServiceSpecificCredentialMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceSpecificCredentialMetadata.Builder,ServiceSpecificCredentialMetadata>
Contains additional details about a service-specific credential.
Modifier and Type | Class and Description |
---|---|
static interface |
ServiceSpecificCredentialMetadata.Builder |
Modifier and Type | Method and Description |
---|---|
static ServiceSpecificCredentialMetadata.Builder |
builder() |
Instant |
createDate()
The date and time, in ISO 8601 date-time format, when the
service-specific credential were created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ServiceSpecificCredentialMetadata.Builder> |
serializableBuilderClass() |
String |
serviceName()
The name of the service associated with the service-specific credential.
|
String |
serviceSpecificCredentialId()
The unique identifier for the service-specific credential.
|
String |
serviceUserName()
The generated user name for the service-specific credential.
|
StatusType |
status()
The status of the service-specific credential.
|
String |
statusAsString()
The status of the service-specific credential.
|
ServiceSpecificCredentialMetadata.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userName()
The name of the IAM user associated with the service-specific credential.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String userName()
The name of the IAM user associated with the service-specific credential.
public final StatusType status()
The status of the service-specific credential. Active
means that the key is valid for API calls,
while Inactive
means it is not.
If the service returns an enum value that is not available in the current SDK version, status
will
return StatusType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
Active
means that the key is valid for API
calls, while Inactive
means it is not.StatusType
public final String statusAsString()
The status of the service-specific credential. Active
means that the key is valid for API calls,
while Inactive
means it is not.
If the service returns an enum value that is not available in the current SDK version, status
will
return StatusType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
Active
means that the key is valid for API
calls, while Inactive
means it is not.StatusType
public final String serviceUserName()
The generated user name for the service-specific credential.
public final Instant createDate()
The date and time, in ISO 8601 date-time format, when the service-specific credential were created.
public final String serviceSpecificCredentialId()
The unique identifier for the service-specific credential.
public final String serviceName()
The name of the service associated with the service-specific credential.
public ServiceSpecificCredentialMetadata.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ServiceSpecificCredentialMetadata.Builder,ServiceSpecificCredentialMetadata>
public static ServiceSpecificCredentialMetadata.Builder builder()
public static Class<? extends ServiceSpecificCredentialMetadata.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.