public static interface AttachPolicyRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<AttachPolicyRequest.Builder,AttachPolicyRequest>
Modifier and Type | Method and Description |
---|---|
AttachPolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
AttachPolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
AttachPolicyRequest.Builder |
policyName(String policyName)
The name of the policy to attach.
|
AttachPolicyRequest.Builder |
target(String target)
The identity
to which the policy is attached.
|
build
overrideConfiguration
copy
applyMutation, build
AttachPolicyRequest.Builder policyName(String policyName)
The name of the policy to attach.
policyName
- The name of the policy to attach.AttachPolicyRequest.Builder target(String target)
The identity to which the policy is attached.
target
- The identity
to which the policy is attached.AttachPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.AttachPolicyRequest.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.