CopyableBuilder<DetachPrincipalPolicyRequest.Builder,DetachPrincipalPolicyRequest>
, SdkBuilder<DetachPrincipalPolicyRequest.Builder,DetachPrincipalPolicyRequest>
public static interface DetachPrincipalPolicyRequest.Builder extends CopyableBuilder<DetachPrincipalPolicyRequest.Builder,DetachPrincipalPolicyRequest>
Modifier and Type | Method | Description |
---|---|---|
DetachPrincipalPolicyRequest.Builder |
policyName(String policyName) |
The name of the policy to detach.
|
DetachPrincipalPolicyRequest.Builder |
principal(String principal) |
The principal.
|
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.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.