Interface DescribeProtectionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeProtectionRequest.Builder,DescribeProtectionRequest>,SdkBuilder<DescribeProtectionRequest.Builder,DescribeProtectionRequest>,SdkPojo,SdkRequest.Builder,ShieldRequest.Builder
- Enclosing class:
- DescribeProtectionRequest
public static interface DescribeProtectionRequest.Builder extends ShieldRequest.Builder, SdkPojo, CopyableBuilder<DescribeProtectionRequest.Builder,DescribeProtectionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeProtectionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DescribeProtectionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DescribeProtectionRequest.BuilderprotectionId(String protectionId)The unique identifier (ID) for the Protection object to describe.DescribeProtectionRequest.BuilderresourceArn(String resourceArn)The ARN (Amazon Resource Name) of the protected Amazon Web Services resource.-
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.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.shield.model.ShieldRequest.Builder
build
-
-
-
-
Method Detail
-
protectionId
DescribeProtectionRequest.Builder protectionId(String protectionId)
The unique identifier (ID) for the Protection object to describe. You must provide either the
ResourceArnof the protected resource or theProtectionIDof the protection, but not both.- Parameters:
protectionId- The unique identifier (ID) for the Protection object to describe. You must provide either theResourceArnof the protected resource or theProtectionIDof the protection, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArn
DescribeProtectionRequest.Builder resourceArn(String resourceArn)
The ARN (Amazon Resource Name) of the protected Amazon Web Services resource. You must provide either the
ResourceArnof the protected resource or theProtectionIDof the protection, but not both.- Parameters:
resourceArn- The ARN (Amazon Resource Name) of the protected Amazon Web Services resource. You must provide either theResourceArnof the protected resource or theProtectionIDof the protection, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeProtectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeProtectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-