Interface ServiceSpecificCredential.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ServiceSpecificCredential.Builder,ServiceSpecificCredential>,SdkBuilder<ServiceSpecificCredential.Builder,ServiceSpecificCredential>,SdkPojo
- Enclosing class:
- ServiceSpecificCredential
@Mutable @NotThreadSafe public static interface ServiceSpecificCredential.Builder extends SdkPojo, CopyableBuilder<ServiceSpecificCredential.Builder,ServiceSpecificCredential>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServiceSpecificCredential.BuildercreateDate(Instant createDate)The date and time, in ISO 8601 date-time format, when the service-specific credential were created.ServiceSpecificCredential.BuilderexpirationDate(Instant expirationDate)The date and time when the service specific credential expires.ServiceSpecificCredential.BuilderserviceCredentialAlias(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.ServiceSpecificCredential.BuilderserviceCredentialSecret(String serviceCredentialSecret)For Bedrock API keys, this is the secret portion of the credential that should be used to authenticate API calls.ServiceSpecificCredential.BuilderserviceName(String serviceName)The name of the service associated with the service-specific credential.ServiceSpecificCredential.BuilderservicePassword(String servicePassword)The generated password for the service-specific credential.ServiceSpecificCredential.BuilderserviceSpecificCredentialId(String serviceSpecificCredentialId)The unique identifier for the service-specific credential.ServiceSpecificCredential.BuilderserviceUserName(String serviceUserName)The generated user name for the service-specific credential.ServiceSpecificCredential.Builderstatus(String status)The status of the service-specific credential.ServiceSpecificCredential.Builderstatus(StatusType status)The status of the service-specific credential.ServiceSpecificCredential.BuilderuserName(String userName)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 Detail
-
createDate
ServiceSpecificCredential.Builder createDate(Instant 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
ServiceSpecificCredential.Builder expirationDate(Instant 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.
-
serviceName
ServiceSpecificCredential.Builder serviceName(String 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.
-
serviceUserName
ServiceSpecificCredential.Builder serviceUserName(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 Amazon Web Services account, as in
jane-at-123456789012, for example. This value cannot be configured by the user.- Parameters:
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 Amazon Web Services account, as injane-at-123456789012, for example. This value cannot be configured by the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
servicePassword
ServiceSpecificCredential.Builder servicePassword(String servicePassword)
The generated password for the service-specific credential.
- Parameters:
servicePassword- The generated password for the service-specific credential.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceCredentialAlias
ServiceSpecificCredential.Builder 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.
- 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.
-
serviceCredentialSecret
ServiceSpecificCredential.Builder serviceCredentialSecret(String serviceCredentialSecret)
For Bedrock API keys, this is the secret portion of the credential that should be used to authenticate API calls. This value is returned only when the credential is created.
- Parameters:
serviceCredentialSecret- For Bedrock API keys, this is the secret portion of the credential that should be used to authenticate API calls. This value is returned only when the credential is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceSpecificCredentialId
ServiceSpecificCredential.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.
-
userName
ServiceSpecificCredential.Builder userName(String 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
ServiceSpecificCredential.Builder status(String status)
The status of the service-specific credential.
Activemeans that the key is valid for API calls, whileInactivemeans it is not.- Parameters:
status- The status of the service-specific credential.Activemeans that the key is valid for API calls, whileInactivemeans it is not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StatusType,StatusType
-
status
ServiceSpecificCredential.Builder status(StatusType status)
The status of the service-specific credential.
Activemeans that the key is valid for API calls, whileInactivemeans it is not.- Parameters:
status- The status of the service-specific credential.Activemeans that the key is valid for API calls, whileInactivemeans it is not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StatusType,StatusType
-
-