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.
|
buildoverrideConfigurationcopyapplyMutation, buildAttachPolicyRequest.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.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.AttachPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.