public static interface DescribeProtectionRequest.Builder extends ShieldRequest.Builder, SdkPojo, CopyableBuilder<DescribeProtectionRequest.Builder,DescribeProtectionRequest>
Modifier and Type | Method and Description |
---|---|
DescribeProtectionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
DescribeProtectionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
DescribeProtectionRequest.Builder |
protectionId(String protectionId)
The unique identifier (ID) for the Protection object that is described.
|
DescribeProtectionRequest.Builder |
resourceArn(String resourceArn)
The ARN (Amazon Resource Name) of the AWS resource for the Protection object that is described.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeProtectionRequest.Builder protectionId(String protectionId)
The unique identifier (ID) for the Protection object that is described. When submitting the
DescribeProtection
request you must provide either the ResourceArn
or the
ProtectionID
, but not both.
protectionId
- The unique identifier (ID) for the Protection object that is described. When submitting the
DescribeProtection
request you must provide either the ResourceArn
or the
ProtectionID
, but not both.DescribeProtectionRequest.Builder resourceArn(String resourceArn)
The ARN (Amazon Resource Name) of the AWS resource for the Protection object that is described. When
submitting the DescribeProtection
request you must provide either the ResourceArn
or the ProtectionID
, but not both.
resourceArn
- The ARN (Amazon Resource Name) of the AWS resource for the Protection object that is described.
When submitting the DescribeProtection
request you must provide either the
ResourceArn
or the ProtectionID
, but not both.DescribeProtectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.DescribeProtectionRequest.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.