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.
|
build
requestOverrideConfig
copy
apply, build
DetachPrincipalPolicyRequest.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.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.DetachPrincipalPolicyRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.