public static interface CreateProtectionRequest.Builder extends ShieldRequest.Builder, CopyableBuilder<CreateProtectionRequest.Builder,CreateProtectionRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateProtectionRequest.Builder |
name(String name)
Friendly name for the
Protection you are creating. |
CreateProtectionRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateProtectionRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateProtectionRequest.Builder |
resourceArn(String resourceArn)
The ARN (Amazon Resource Name) of the resource to be protected.
|
buildrequestOverrideConfigcopyapply, buildCreateProtectionRequest.Builder name(String name)
Friendly name for the Protection you are creating.
name - Friendly name for the Protection you are creating.CreateProtectionRequest.Builder resourceArn(String resourceArn)
The ARN (Amazon Resource Name) of the resource to be protected.
resourceArn - The ARN (Amazon Resource Name) of the resource to be protected.CreateProtectionRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CreateProtectionRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.