Class PolicyGroup
- java.lang.Object
-
- software.amazon.awssdk.services.iam.model.PolicyGroup
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PolicyGroup.Builder,PolicyGroup>
@Generated("software.amazon.awssdk:codegen") public final class PolicyGroup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PolicyGroup.Builder,PolicyGroup>
Contains information about a group that a managed policy is attached to.
This data type is used as a response element in the ListEntitiesForPolicy operation.
For more information about managed policies, refer to Managed policies and inline policies in the IAM User Guide.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePolicyGroup.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PolicyGroup.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringgroupId()The stable and unique string identifying the group.StringgroupName()The name (friendly name, not ARN) identifying the group.inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PolicyGroup.Builder>serializableBuilderClass()PolicyGroup.BuildertoBuilder()StringtoString()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
-
groupName
public final String groupName()
The name (friendly name, not ARN) identifying the group.
- Returns:
- The name (friendly name, not ARN) identifying the group.
-
groupId
public final String groupId()
The stable and unique string identifying the group. For more information about IDs, see IAM identifiers in the IAM User Guide.
- Returns:
- The stable and unique string identifying the group. For more information about IDs, see IAM identifiers in the IAM User Guide.
-
toBuilder
public PolicyGroup.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PolicyGroup.Builder,PolicyGroup>
-
builder
public static PolicyGroup.Builder builder()
-
serializableBuilderClass
public static Class<? extends PolicyGroup.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-