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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateProtectionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateProtectionRequest.Builder |
resourceArn(String resourceArn)
The ARN (Amazon Resource Name) of the resource to be protected.
|
build
overrideConfiguration
copy
applyMutation, build
CreateProtectionRequest.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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateProtectionRequest.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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.