Class ServiceSpecificCredentialMetadata
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServiceSpecificCredentialMetadata.Builder,ServiceSpecificCredentialMetadata>
Contains additional details about a service-specific credential.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final InstantThe date and time, in ISO 8601 date-time format, when the service-specific credential were created.final booleanfinal booleanequalsBySdkFields(Object obj) final InstantThe date and time when the service specific credential expires.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends ServiceSpecificCredentialMetadata.Builder>final StringFor Bedrock API keys and CloudWatch Logs API keys, this is the public portion of the credential that includes the IAM user name and a suffix containing version and creation information.final StringThe name of the service associated with the service-specific credential.final StringThe unique identifier for the service-specific credential.final StringThe generated user name for the service-specific credential.final StatusTypestatus()The status of the service-specific credential.final StringThe status of the service-specific credential.final StringtoString()Returns a string representation of this object.final StringuserName()The name of the IAM user associated with the service-specific credential.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
userName
The name of the IAM user associated with the service-specific credential.
- Returns:
- The name of the IAM user associated with the service-specific credential.
-
status
The status of the service-specific credential.
Activemeans that the key is valid for API calls, whileInactivemeans it is not.If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the service-specific credential.
Activemeans that the key is valid for API calls, whileInactivemeans it is not. - See Also:
-
statusAsString
The status of the service-specific credential.
Activemeans that the key is valid for API calls, whileInactivemeans it is not.If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the service-specific credential.
Activemeans that the key is valid for API calls, whileInactivemeans it is not. - See Also:
-
serviceUserName
The generated user name for the service-specific credential.
- Returns:
- The generated user name for the service-specific credential.
-
serviceCredentialAlias
For Bedrock API keys and CloudWatch Logs API keys, this is the public portion of the credential that includes the IAM user name and a suffix containing version and creation information.
- Returns:
- For Bedrock API keys and CloudWatch Logs API keys, this is the public portion of the credential that includes the IAM user name and a suffix containing version and creation information.
-
createDate
The date and time, in ISO 8601 date-time format, when the service-specific credential were created.
- Returns:
- The date and time, in ISO 8601 date-time format, when the service-specific credential were created.
-
expirationDate
The date and time when the service specific credential expires. This field is only present for Bedrock API keys and CloudWatch Logs API keys that were created with an expiration period.
- Returns:
- The date and time when the service specific credential expires. This field is only present for Bedrock API keys and CloudWatch Logs API keys that were created with an expiration period.
-
serviceSpecificCredentialId
The unique identifier for the service-specific credential.
- Returns:
- The unique identifier for the service-specific credential.
-
serviceName
The name of the service associated with the service-specific credential.
- Returns:
- The name of the service associated with the service-specific credential.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ServiceSpecificCredentialMetadata.Builder,ServiceSpecificCredentialMetadata>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-