Interface AcquireRoleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AcquireRoleRequest.Builder,,AcquireRoleRequest> IamRequest.Builder,SdkBuilder<AcquireRoleRequest.Builder,,AcquireRoleRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AcquireRoleRequest
@Mutable
@NotThreadSafe
public static interface AcquireRoleRequest.Builder
extends IamRequest.Builder, SdkPojo, CopyableBuilder<AcquireRoleRequest.Builder,AcquireRoleRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.replacementValues(Map<String, ReplacementValueEntry> replacementValues) A map of values to substitute for the parameters that are defined in the role template version.templateArn(String templateArn) The Amazon Resource Name (ARN) of the role template to create the role from.templateMinorVersion(Integer templateMinorVersion) The minor version of the role template to use.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iam.model.IamRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
templateArn
The Amazon Resource Name (ARN) of the role template to create the role from.
For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
- Parameters:
templateArn- The Amazon Resource Name (ARN) of the role template to create the role from.For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateMinorVersion
The minor version of the role template to use. If you do not specify a minor version, the service uses the template's default minor version.
- Parameters:
templateMinorVersion- The minor version of the role template to use. If you do not specify a minor version, the service uses the template's default minor version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replacementValues
A map of values to substitute for the parameters that are defined in the role template version. Each key is a parameter name from the template, and each value is a structure that contains the replacement values for that parameter.
- Parameters:
replacementValues- A map of values to substitute for the parameters that are defined in the role template version. Each key is a parameter name from the template, and each value is a structure that contains the replacement values for that parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AcquireRoleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AcquireRoleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-