Interface CreateServiceSpecificCredentialRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateServiceSpecificCredentialRequest.Builder,CreateServiceSpecificCredentialRequest>,IamRequest.Builder,SdkBuilder<CreateServiceSpecificCredentialRequest.Builder,CreateServiceSpecificCredentialRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateServiceSpecificCredentialRequest
@Mutable @NotThreadSafe public static interface CreateServiceSpecificCredentialRequest.Builder extends IamRequest.Builder, SdkPojo, CopyableBuilder<CreateServiceSpecificCredentialRequest.Builder,CreateServiceSpecificCredentialRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateServiceSpecificCredentialRequest.BuildercredentialAgeDays(Integer credentialAgeDays)The number of days until the service specific credential expires.CreateServiceSpecificCredentialRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateServiceSpecificCredentialRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateServiceSpecificCredentialRequest.BuilderserviceName(String serviceName)The name of the Amazon Web Services service that is to be associated with the credentials.CreateServiceSpecificCredentialRequest.BuilderuserName(String userName)The name of the IAM user that is to be associated with the credentials.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iam.model.IamRequest.Builder
build
-
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
-
userName
CreateServiceSpecificCredentialRequest.Builder userName(String 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.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
- 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.This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceName
CreateServiceSpecificCredentialRequest.Builder serviceName(String serviceName)
The name of the Amazon Web Services 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.
- Parameters:
serviceName- The name of the Amazon Web Services 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialAgeDays
CreateServiceSpecificCredentialRequest.Builder credentialAgeDays(Integer credentialAgeDays)
The number of days until the service specific credential expires. This field is only valid for Bedrock API keys and must be a positive integer. When not specified, the credential will not expire.
- Parameters:
credentialAgeDays- The number of days until the service specific credential expires. This field is only valid for Bedrock API keys and must be a positive integer. When not specified, the credential will not expire.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateServiceSpecificCredentialRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateServiceSpecificCredentialRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-