@Generated(value="software.amazon.awssdk:codegen") public final class AwsIamGroupDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsIamGroupDetails.Builder,AwsIamGroupDetails>
Contains details about an IAM group.
Modifier and Type | Class and Description |
---|---|
static interface |
AwsIamGroupDetails.Builder |
Modifier and Type | Method and Description |
---|---|
List<AwsIamAttachedManagedPolicy> |
attachedManagedPolicies()
A list of the managed policies that are attached to the IAM group.
|
static AwsIamGroupDetails.Builder |
builder() |
String |
createDate()
Indicates when the IAM group was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
groupId()
The identifier of the IAM group.
|
String |
groupName()
The name of the IAM group.
|
List<AwsIamGroupPolicy> |
groupPolicyList()
The list of inline policies that are embedded in the group.
|
boolean |
hasAttachedManagedPolicies()
Returns true if the AttachedManagedPolicies 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 |
hasGroupPolicyList()
Returns true if the GroupPolicyList property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
String |
path()
The path to the group.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsIamGroupDetails.Builder> |
serializableBuilderClass() |
AwsIamGroupDetails.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public final boolean hasAttachedManagedPolicies()
public final List<AwsIamAttachedManagedPolicy> attachedManagedPolicies()
A list of the managed policies that are attached to the IAM group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAttachedManagedPolicies()
to see if a value was sent in this field.
public final String createDate()
Indicates when the IAM group 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 groupId()
The identifier of the IAM group.
public final String groupName()
The name of the IAM group.
public final boolean hasGroupPolicyList()
public final List<AwsIamGroupPolicy> groupPolicyList()
The list of inline policies that are embedded in the group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasGroupPolicyList()
to see if a value was sent in this field.
public final String path()
The path to the group.
public AwsIamGroupDetails.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AwsIamGroupDetails.Builder,AwsIamGroupDetails>
public static AwsIamGroupDetails.Builder builder()
public static Class<? extends AwsIamGroupDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()