Interface CreateServiceSpecificCredentialRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateServiceSpecificCredentialRequest.Builder,CreateServiceSpecificCredentialRequest>
,IamRequest.Builder
,SdkBuilder<CreateServiceSpecificCredentialRequest.Builder,CreateServiceSpecificCredentialRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateServiceSpecificCredentialRequest
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.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateServiceSpecificCredentialRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CreateServiceSpecificCredentialRequest.Builder
serviceName(String serviceName)
The name of the Amazon Web Services service that is to be associated with the credentials.CreateServiceSpecificCredentialRequest.Builder
userName(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, 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.
-
overrideConfiguration
CreateServiceSpecificCredentialRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateServiceSpecificCredentialRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-