@Generated(value="software.amazon.awssdk:codegen") public final class CustomerManagedPolicyReference extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CustomerManagedPolicyReference.Builder,CustomerManagedPolicyReference>
Specifies the name and path of the IAM customer managed policy. You must have an IAM policy that matches the name and path in each Amazon Web Services account where you want to deploy your permission set.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CustomerManagedPolicyReference.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CustomerManagedPolicyReference.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the policy document.
|
String |
path()
The path for the policy.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CustomerManagedPolicyReference.Builder> |
serializableBuilderClass() |
CustomerManagedPolicyReference.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the policy document.
public final String path()
The path for the policy. The default is /. For more information, see Friendly names and paths in the Identity and Access Management user guide.
/. For more information, see Friendly names and paths in the Identity and Access Management user guide.public CustomerManagedPolicyReference.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CustomerManagedPolicyReference.Builder,CustomerManagedPolicyReference>public static CustomerManagedPolicyReference.Builder builder()
public static Class<? extends CustomerManagedPolicyReference.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.