Class CustomerManagedPolicyReference
- java.lang.Object
-
- software.amazon.awssdk.services.ssoadmin.model.CustomerManagedPolicyReference
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<CustomerManagedPolicyReference.Builder,CustomerManagedPolicyReference>
@Generated("software.amazon.awssdk:codegen") public final class CustomerManagedPolicyReference extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CustomerManagedPolicyReference.Builder,CustomerManagedPolicyReference>
Specifies the name and path of a 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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
CustomerManagedPolicyReference.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 IAM policy that you have configured in each account where you want to deploy your permission set.String
path()
The path to the IAM policy that you have configured in each account where you want to deploy your permission set.List<SdkField<?>>
sdkFields()
static Class<? extends CustomerManagedPolicyReference.Builder>
serializableBuilderClass()
CustomerManagedPolicyReference.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The name of the IAM policy that you have configured in each account where you want to deploy your permission set.
- Returns:
- The name of the IAM policy that you have configured in each account where you want to deploy your permission set.
-
path
public final String path()
The path to the IAM policy that you have configured in each account where you want to deploy your permission set. The default is
/
. For more information, see Friendly names and paths in the IAM User Guide.- Returns:
- The path to the IAM policy that you have configured in each account where you want to deploy your
permission set. The default is
/
. For more information, see Friendly names and paths in the IAM User Guide.
-
toBuilder
public CustomerManagedPolicyReference.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<CustomerManagedPolicyReference.Builder,CustomerManagedPolicyReference>
-
builder
public static CustomerManagedPolicyReference.Builder builder()
-
serializableBuilderClass
public static Class<? extends CustomerManagedPolicyReference.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-