Interface ServiceSpecificCredentialMetadata.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ServiceSpecificCredentialMetadata.Builder,
,ServiceSpecificCredentialMetadata> SdkBuilder<ServiceSpecificCredentialMetadata.Builder,
,ServiceSpecificCredentialMetadata> SdkPojo
- Enclosing class:
ServiceSpecificCredentialMetadata
-
Method Summary
Modifier and TypeMethodDescriptioncreateDate
(Instant createDate) The date and time, in ISO 8601 date-time format, when the service-specific credential were created.expirationDate
(Instant expirationDate) The date and time when the service specific credential expires.serviceCredentialAlias
(String serviceCredentialAlias) For Bedrock API keys, this is the public portion of the credential that includes the IAM user name and a suffix containing version and creation information.serviceName
(String serviceName) The name of the service associated with the service-specific credential.serviceSpecificCredentialId
(String serviceSpecificCredentialId) The unique identifier for the service-specific credential.serviceUserName
(String serviceUserName) The generated user name for the service-specific credential.The status of the service-specific credential.status
(StatusType status) The status of the service-specific credential.The name of the IAM user associated with the service-specific credential.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
userName
The name of the IAM user associated with the service-specific credential.
- Parameters:
userName
- The name of the IAM user associated with the service-specific credential.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the service-specific credential.
Active
means that the key is valid for API calls, whileInactive
means it is not.- Parameters:
status
- The status of the service-specific credential.Active
means that the key is valid for API calls, whileInactive
means it is not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the service-specific credential.
Active
means that the key is valid for API calls, whileInactive
means it is not.- Parameters:
status
- The status of the service-specific credential.Active
means that the key is valid for API calls, whileInactive
means it is not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceUserName
The generated user name for the service-specific credential.
- Parameters:
serviceUserName
- The generated user name for the service-specific credential.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceCredentialAlias
For Bedrock API keys, this is the public portion of the credential that includes the IAM user name and a suffix containing version and creation information.
- Parameters:
serviceCredentialAlias
- For Bedrock 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:
- Returns a reference to this object so that method calls can be chained together.
-
createDate
The date and time, in ISO 8601 date-time format, when the service-specific credential were created.
- Parameters:
createDate
- The date and time, in ISO 8601 date-time format, when the service-specific credential were created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expirationDate
The date and time when the service specific credential expires. This field is only present for Bedrock API keys that were created with an expiration period.
- Parameters:
expirationDate
- The date and time when the service specific credential expires. This field is only present for Bedrock API keys that were created with an expiration period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceSpecificCredentialId
ServiceSpecificCredentialMetadata.Builder serviceSpecificCredentialId(String serviceSpecificCredentialId) The unique identifier for the service-specific credential.
- Parameters:
serviceSpecificCredentialId
- The unique identifier for the service-specific credential.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceName
The name of the service associated with the service-specific credential.
- Parameters:
serviceName
- The name of the service associated with the service-specific credential.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-