Interface AssociateDrtRoleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AssociateDrtRoleRequest.Builder,,AssociateDrtRoleRequest> SdkBuilder<AssociateDrtRoleRequest.Builder,,AssociateDrtRoleRequest> SdkPojo,SdkRequest.Builder,ShieldRequest.Builder
- Enclosing class:
AssociateDrtRoleRequest
@Mutable
@NotThreadSafe
public static interface AssociateDrtRoleRequest.Builder
extends ShieldRequest.Builder, SdkPojo, CopyableBuilder<AssociateDrtRoleRequest.Builder,AssociateDrtRoleRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the role the SRT will use to access your Amazon Web Services account.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.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.shield.model.ShieldRequest.Builder
build
-
Method Details
-
roleArn
The Amazon Resource Name (ARN) of the role the SRT will use to access your Amazon Web Services account.
Prior to making the
AssociateDRTRolerequest, you must attach the AWSShieldDRTAccessPolicy managed policy to this role. For more information see Attaching and Detaching IAM Policies.- Parameters:
roleArn- The Amazon Resource Name (ARN) of the role the SRT will use to access your Amazon Web Services account.Prior to making the
AssociateDRTRolerequest, you must attach the AWSShieldDRTAccessPolicy managed policy to this role. For more information see Attaching and Detaching IAM Policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AssociateDrtRoleRequest.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
AssociateDrtRoleRequest.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.
-