public static interface CreateServiceSpecificCredentialRequest.Builder extends IamRequest.Builder, SdkPojo, CopyableBuilder<CreateServiceSpecificCredentialRequest.Builder,CreateServiceSpecificCredentialRequest>
Modifier and Type | Method and Description |
---|---|
CreateServiceSpecificCredentialRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateServiceSpecificCredentialRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateServiceSpecificCredentialRequest.Builder |
serviceName(String serviceName)
The name of the AWS 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.
|
build
overrideConfiguration
copy
applyMutation, build
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 (per 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: _+=,.@-
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 (per 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: _+=,.@-
CreateServiceSpecificCredentialRequest.Builder serviceName(String 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.
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.CreateServiceSpecificCredentialRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateServiceSpecificCredentialRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.