public static interface DetachPrincipalPolicyRequest.Builder extends IoTRequest.Builder, CopyableBuilder<DetachPrincipalPolicyRequest.Builder,DetachPrincipalPolicyRequest>
| Modifier and Type | Method and Description |
|---|---|
DetachPrincipalPolicyRequest.Builder |
policyName(String policyName)
The name of the policy to detach.
|
DetachPrincipalPolicyRequest.Builder |
principal(String principal)
The principal.
|
DetachPrincipalPolicyRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
DetachPrincipalPolicyRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, buildDetachPrincipalPolicyRequest.Builder policyName(String policyName)
The name of the policy to detach.
policyName - The name of the policy to detach.DetachPrincipalPolicyRequest.Builder principal(String principal)
The principal.
If the principal is a certificate, specify the certificate ARN. If the principal is an Amazon Cognito identity, specify the identity ID.
principal - The principal.
If the principal is a certificate, specify the certificate ARN. If the principal is an Amazon Cognito identity, specify the identity ID.
DetachPrincipalPolicyRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.DetachPrincipalPolicyRequest.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.