@Generated(value="software.amazon.awssdk:codegen") public final class ServiceSpecificCredential extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceSpecificCredential.Builder,ServiceSpecificCredential>
Contains the details of a service-specific credential.
Modifier and Type | Class and Description |
---|---|
static interface |
ServiceSpecificCredential.Builder |
Modifier and Type | Method and Description |
---|---|
static ServiceSpecificCredential.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() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ServiceSpecificCredential.Builder> |
serializableBuilderClass() |
String |
serviceName()
The name of the service associated with the service-specific credential.
|
String |
servicePassword()
The generated password for 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.
|
ServiceSpecificCredential.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 Instant createDate()
The date and time, in ISO 8601 date-time format, when the service-specific credential were created.
public String serviceName()
The name of the service associated with the service-specific credential.
public String serviceUserName()
The generated user name for the service-specific credential. This value is generated by combining the IAM user's
name combined with the ID number of the AWS account, as in jane-at-123456789012
, for example. This
value cannot be configured by the user.
jane-at-123456789012
, for
example. This value cannot be configured by the user.public String servicePassword()
The generated password for the service-specific credential.
public String serviceSpecificCredentialId()
The unique identifier for the service-specific credential.
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 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 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 ServiceSpecificCredential.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ServiceSpecificCredential.Builder,ServiceSpecificCredential>
public static ServiceSpecificCredential.Builder builder()
public static Class<? extends ServiceSpecificCredential.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.