Package com.pulumi.aws.iam.inputs
Class ServiceSpecificCredentialState.Builder
- java.lang.Object
-
- com.pulumi.aws.iam.inputs.ServiceSpecificCredentialState.Builder
-
- Enclosing class:
- ServiceSpecificCredentialState
public static final class ServiceSpecificCredentialState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ServiceSpecificCredentialState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ServiceSpecificCredentialState defaults)
-
-
Method Detail
-
createDate
public ServiceSpecificCredentialState.Builder createDate(@Nullable com.pulumi.core.Output<java.lang.String> createDate)
- Parameters:
createDate- The date and time, in RFC3339 format, when the service-specific credential was created.- Returns:
- builder
-
createDate
public ServiceSpecificCredentialState.Builder createDate(java.lang.String createDate)
- Parameters:
createDate- The date and time, in RFC3339 format, when the service-specific credential was created.- Returns:
- builder
-
credentialAgeDays
public ServiceSpecificCredentialState.Builder credentialAgeDays(@Nullable com.pulumi.core.Output<java.lang.Integer> credentialAgeDays)
- Parameters:
credentialAgeDays- The number of days until the service specific credential expires. This field is only valid for Bedrock API keys and must be between 1 and 36600 (approximately 100 years). When not specified, the credential will not expire.- Returns:
- builder
-
credentialAgeDays
public ServiceSpecificCredentialState.Builder credentialAgeDays(java.lang.Integer credentialAgeDays)
- Parameters:
credentialAgeDays- The number of days until the service specific credential expires. This field is only valid for Bedrock API keys and must be between 1 and 36600 (approximately 100 years). When not specified, the credential will not expire.- Returns:
- builder
-
expirationDate
public ServiceSpecificCredentialState.Builder expirationDate(@Nullable com.pulumi.core.Output<java.lang.String> expirationDate)
- Parameters:
expirationDate- The date and time, in RFC3339 format, when the service specific credential expires. This field is only present for Bedrock API keys that were created with an expiration period.- Returns:
- builder
-
expirationDate
public ServiceSpecificCredentialState.Builder expirationDate(java.lang.String expirationDate)
- Parameters:
expirationDate- The date and time, in RFC3339 format, when the service specific credential expires. This field is only present for Bedrock API keys that were created with an expiration period.- Returns:
- builder
-
serviceCredentialAlias
public ServiceSpecificCredentialState.Builder serviceCredentialAlias(@Nullable com.pulumi.core.Output<java.lang.String> serviceCredentialAlias)
- 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:
- builder
-
serviceCredentialAlias
public ServiceSpecificCredentialState.Builder serviceCredentialAlias(java.lang.String serviceCredentialAlias)
- 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:
- builder
-
serviceCredentialSecret
public ServiceSpecificCredentialState.Builder serviceCredentialSecret(@Nullable com.pulumi.core.Output<java.lang.String> serviceCredentialSecret)
- 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 only available when the credential is created.- Returns:
- builder
-
serviceCredentialSecret
public ServiceSpecificCredentialState.Builder serviceCredentialSecret(java.lang.String serviceCredentialSecret)
- 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 only available when the credential is created.- Returns:
- builder
-
serviceName
public ServiceSpecificCredentialState.Builder serviceName(@Nullable com.pulumi.core.Output<java.lang.String> serviceName)
- Parameters:
serviceName- The name of the AWS service that is to be associated with the credentials. The service you specify here is the only service that can be accessed using these credentials. Supported services are `codecommit.amazonaws.com`, `bedrock.amazonaws.com`, and `cassandra.amazonaws.com`.- Returns:
- builder
-
serviceName
public ServiceSpecificCredentialState.Builder serviceName(java.lang.String serviceName)
- Parameters:
serviceName- The name of the AWS service that is to be associated with the credentials. The service you specify here is the only service that can be accessed using these credentials. Supported services are `codecommit.amazonaws.com`, `bedrock.amazonaws.com`, and `cassandra.amazonaws.com`.- Returns:
- builder
-
servicePassword
public ServiceSpecificCredentialState.Builder servicePassword(@Nullable com.pulumi.core.Output<java.lang.String> servicePassword)
- Parameters:
servicePassword- The generated password for the service-specific credential. This value is only available when the credential is created.- Returns:
- builder
-
servicePassword
public ServiceSpecificCredentialState.Builder servicePassword(java.lang.String servicePassword)
- Parameters:
servicePassword- The generated password for the service-specific credential. This value is only available when the credential is created.- Returns:
- builder
-
serviceSpecificCredentialId
public ServiceSpecificCredentialState.Builder serviceSpecificCredentialId(@Nullable com.pulumi.core.Output<java.lang.String> serviceSpecificCredentialId)
- Parameters:
serviceSpecificCredentialId- The unique identifier for the service-specific credential.- Returns:
- builder
-
serviceSpecificCredentialId
public ServiceSpecificCredentialState.Builder serviceSpecificCredentialId(java.lang.String serviceSpecificCredentialId)
- Parameters:
serviceSpecificCredentialId- The unique identifier for the service-specific credential.- Returns:
- builder
-
serviceUserName
public ServiceSpecificCredentialState.Builder serviceUserName(@Nullable com.pulumi.core.Output<java.lang.String> serviceUserName)
- 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 AWS account, as in `jane-at-123456789012`, for example.- Returns:
- builder
-
serviceUserName
public ServiceSpecificCredentialState.Builder serviceUserName(java.lang.String serviceUserName)
- 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 AWS account, as in `jane-at-123456789012`, for example.- Returns:
- builder
-
status
public ServiceSpecificCredentialState.Builder status(@Nullable com.pulumi.core.Output<java.lang.String> status)
- Parameters:
status- The status to be assigned to the service-specific credential. Valid values are `Active`, `Inactive`, and `Expired`. Default value is `Active`. Note that `Expired` is only used for read operations and cannot be set manually.- Returns:
- builder
-
status
public ServiceSpecificCredentialState.Builder status(java.lang.String status)
- Parameters:
status- The status to be assigned to the service-specific credential. Valid values are `Active`, `Inactive`, and `Expired`. Default value is `Active`. Note that `Expired` is only used for read operations and cannot be set manually.- Returns:
- builder
-
userName
public ServiceSpecificCredentialState.Builder userName(@Nullable com.pulumi.core.Output<java.lang.String> userName)
- Parameters:
userName- The name of the IAM user that is to be associated with the credentials. The new service-specific credentials have the same permissions as the associated user except that they can be used only to access the specified service.- Returns:
- builder
-
userName
public ServiceSpecificCredentialState.Builder userName(java.lang.String userName)
- Parameters:
userName- The name of the IAM user that is to be associated with the credentials. The new service-specific credentials have the same permissions as the associated user except that they can be used only to access the specified service.- Returns:
- builder
-
build
public ServiceSpecificCredentialState build()
-
-