ToCopyableBuilder<AttachedPolicy.Builder,AttachedPolicy>@Generated("software.amazon.awssdk:codegen") public class AttachedPolicy extends Object implements ToCopyableBuilder<AttachedPolicy.Builder,AttachedPolicy>
Contains information about an attached policy.
An attached policy is a managed policy that has been attached to a user, group, or role. This data type is used as a response element in the ListAttachedGroupPolicies, ListAttachedRolePolicies, ListAttachedUserPolicies, and GetAccountAuthorizationDetails actions.
For more information about managed policies, refer to Managed Policies and Inline Policies in the Using IAM guide.
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
AttachedPolicy.Builder |
| Modifier and Type | Method | Description |
|---|---|---|
static AttachedPolicy.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
policyArn() |
|
String |
policyName() |
The friendly name of the attached policy.
|
static Class<? extends AttachedPolicy.Builder> |
serializableBuilderClass() |
|
AttachedPolicy.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String policyName()
The friendly name of the attached policy.
public String policyArn()
public AttachedPolicy.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<AttachedPolicy.Builder,AttachedPolicy>public static AttachedPolicy.Builder builder()
public static Class<? extends AttachedPolicy.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.