@Generated(value="software.amazon.awssdk:codegen") public final class ServiceSpecificCredentialMetadata extends Object implements 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
userName()
The name of the IAM user associated with the service-specific credential.
|
copy
public String userName()
The name of the IAM user associated with the service-specific credential.
public StatusType status()
The status of the service-specific credential. Active
means 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 the key is valid for API calls,
while Inactive
means it is not.StatusType
public String statusAsString()
The status of the service-specific credential. Active
means 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 the key is valid for API calls,
while Inactive
means it is not.StatusType
public String serviceUserName()
The generated user name for the service-specific credential.
public Instant createDate()
The date and time, in ISO 8601 date-time format, when the service-specific credential were created.
public String serviceSpecificCredentialId()
The unique identifier for the service-specific credential.
public String serviceName()
The name of the service associated with the service-specific credential.
public ServiceSpecificCredentialMetadata.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ServiceSpecificCredentialMetadata.Builder,ServiceSpecificCredentialMetadata>
public static ServiceSpecificCredentialMetadata.Builder builder()
public static Class<? extends ServiceSpecificCredentialMetadata.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.