@Generated(value="software.amazon.awssdk:codegen") public final class AwsIamPolicyDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsIamPolicyDetails.Builder,AwsIamPolicyDetails>
Represents an IAM permissions policy.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsIamPolicyDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
Integer |
attachmentCount()
The number of users, groups, and roles that the policy is attached to.
|
static AwsIamPolicyDetails.Builder |
builder() |
String |
createDate()
When the policy was created.
|
String |
defaultVersionId()
The identifier of the default version of the policy.
|
String |
description()
A description of the policy.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasPolicyVersionList()
Returns true if the PolicyVersionList property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
Boolean |
isAttachable()
Whether the policy can be attached to a user, group, or role.
|
String |
path()
The path to the policy.
|
Integer |
permissionsBoundaryUsageCount()
The number of users and roles that use the policy to set the permissions boundary.
|
String |
policyId()
The unique identifier of the policy.
|
String |
policyName()
The name of the policy.
|
List<AwsIamPolicyVersion> |
policyVersionList()
List of versions of the policy.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsIamPolicyDetails.Builder> |
serializableBuilderClass() |
AwsIamPolicyDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
updateDate()
When the policy was most recently updated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer attachmentCount()
The number of users, groups, and roles that the policy is attached to.
public final String createDate()
When the policy was created.
Uses the date-time format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.
public final String defaultVersionId()
The identifier of the default version of the policy.
public final String description()
A description of the policy.
public final Boolean isAttachable()
Whether the policy can be attached to a user, group, or role.
public final String path()
The path to the policy.
public final Integer permissionsBoundaryUsageCount()
The number of users and roles that use the policy to set the permissions boundary.
public final String policyId()
The unique identifier of the policy.
public final String policyName()
The name of the policy.
public final boolean hasPolicyVersionList()
public final List<AwsIamPolicyVersion> policyVersionList()
List of versions of the policy.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPolicyVersionList() to see if a value was sent in this field.
public final String updateDate()
When the policy was most recently updated.
Uses the date-time format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.
public AwsIamPolicyDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsIamPolicyDetails.Builder,AwsIamPolicyDetails>public static AwsIamPolicyDetails.Builder builder()
public static Class<? extends AwsIamPolicyDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.