@Generated(value="software.amazon.awssdk:codegen") public final class PolicyGrantingServiceAccess extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PolicyGrantingServiceAccess.Builder,PolicyGrantingServiceAccess>
Contains details about the permissions policies that are attached to the specified identity (user, group, or role).
This data type is an element of the ListPoliciesGrantingServiceAccessEntry object.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PolicyGrantingServiceAccess.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PolicyGrantingServiceAccess.Builder |
builder() |
String |
entityName()
The name of the entity (user or role) to which the inline policy is attached.
|
PolicyOwnerEntityType |
entityType()
The type of entity (user or role) that used the policy to access the service to which the inline policy is
attached.
|
String |
entityTypeAsString()
The type of entity (user or role) that used the policy to access the service to which the inline policy is
attached.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
policyArn()
Returns the value of the PolicyArn property for this object.
|
String |
policyName()
The policy name.
|
PolicyType |
policyType()
The policy type.
|
String |
policyTypeAsString()
The policy type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PolicyGrantingServiceAccess.Builder> |
serializableBuilderClass() |
PolicyGrantingServiceAccess.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String policyName()
The policy name.
public final PolicyType policyType()
The policy type. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.
If the service returns an enum value that is not available in the current SDK version, policyType will
return PolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
policyTypeAsString().
PolicyTypepublic final String policyTypeAsString()
The policy type. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.
If the service returns an enum value that is not available in the current SDK version, policyType will
return PolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
policyTypeAsString().
PolicyTypepublic final String policyArn()
public final PolicyOwnerEntityType entityType()
The type of entity (user or role) that used the policy to access the service to which the inline policy is attached.
This field is null for managed policies. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.
If the service returns an enum value that is not available in the current SDK version, entityType will
return PolicyOwnerEntityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from entityTypeAsString().
This field is null for managed policies. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.
PolicyOwnerEntityTypepublic final String entityTypeAsString()
The type of entity (user or role) that used the policy to access the service to which the inline policy is attached.
This field is null for managed policies. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.
If the service returns an enum value that is not available in the current SDK version, entityType will
return PolicyOwnerEntityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from entityTypeAsString().
This field is null for managed policies. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.
PolicyOwnerEntityTypepublic final String entityName()
The name of the entity (user or role) to which the inline policy is attached.
This field is null for managed policies. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.
This field is null for managed policies. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.
public PolicyGrantingServiceAccess.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PolicyGrantingServiceAccess.Builder,PolicyGrantingServiceAccess>public static PolicyGrantingServiceAccess.Builder builder()
public static Class<? extends PolicyGrantingServiceAccess.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.