@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsIamGroupDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about an IAM group.
Constructor and Description |
---|
AwsIamGroupDetails() |
Modifier and Type | Method and Description |
---|---|
AwsIamGroupDetails |
clone() |
boolean |
equals(Object obj) |
List<AwsIamAttachedManagedPolicy> |
getAttachedManagedPolicies()
A list of the managed policies that are attached to the IAM group.
|
String |
getCreateDate()
Indicates when the IAM group was created.
|
String |
getGroupId()
The identifier of the IAM group.
|
String |
getGroupName()
The name of the IAM group.
|
List<AwsIamGroupPolicy> |
getGroupPolicyList()
The list of inline policies that are embedded in the group.
|
String |
getPath()
The path to the group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttachedManagedPolicies(Collection<AwsIamAttachedManagedPolicy> attachedManagedPolicies)
A list of the managed policies that are attached to the IAM group.
|
void |
setCreateDate(String createDate)
Indicates when the IAM group was created.
|
void |
setGroupId(String groupId)
The identifier of the IAM group.
|
void |
setGroupName(String groupName)
The name of the IAM group.
|
void |
setGroupPolicyList(Collection<AwsIamGroupPolicy> groupPolicyList)
The list of inline policies that are embedded in the group.
|
void |
setPath(String path)
The path to the group.
|
String |
toString()
Returns a string representation of this object.
|
AwsIamGroupDetails |
withAttachedManagedPolicies(AwsIamAttachedManagedPolicy... attachedManagedPolicies)
A list of the managed policies that are attached to the IAM group.
|
AwsIamGroupDetails |
withAttachedManagedPolicies(Collection<AwsIamAttachedManagedPolicy> attachedManagedPolicies)
A list of the managed policies that are attached to the IAM group.
|
AwsIamGroupDetails |
withCreateDate(String createDate)
Indicates when the IAM group was created.
|
AwsIamGroupDetails |
withGroupId(String groupId)
The identifier of the IAM group.
|
AwsIamGroupDetails |
withGroupName(String groupName)
The name of the IAM group.
|
AwsIamGroupDetails |
withGroupPolicyList(AwsIamGroupPolicy... groupPolicyList)
The list of inline policies that are embedded in the group.
|
AwsIamGroupDetails |
withGroupPolicyList(Collection<AwsIamGroupPolicy> groupPolicyList)
The list of inline policies that are embedded in the group.
|
AwsIamGroupDetails |
withPath(String path)
The path to the group.
|
public List<AwsIamAttachedManagedPolicy> getAttachedManagedPolicies()
A list of the managed policies that are attached to the IAM group.
public void setAttachedManagedPolicies(Collection<AwsIamAttachedManagedPolicy> attachedManagedPolicies)
A list of the managed policies that are attached to the IAM group.
attachedManagedPolicies
- A list of the managed policies that are attached to the IAM group.public AwsIamGroupDetails withAttachedManagedPolicies(AwsIamAttachedManagedPolicy... attachedManagedPolicies)
A list of the managed policies that are attached to the IAM group.
NOTE: This method appends the values to the existing list (if any). Use
setAttachedManagedPolicies(java.util.Collection)
or
withAttachedManagedPolicies(java.util.Collection)
if you want to override the existing values.
attachedManagedPolicies
- A list of the managed policies that are attached to the IAM group.public AwsIamGroupDetails withAttachedManagedPolicies(Collection<AwsIamAttachedManagedPolicy> attachedManagedPolicies)
A list of the managed policies that are attached to the IAM group.
attachedManagedPolicies
- A list of the managed policies that are attached to the IAM group.public void setCreateDate(String createDate)
Indicates when the IAM group was created.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9
digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example, 2024-01-04T15:25:10.123456789+17:59
)
createDate
- Indicates when the IAM group was created.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a
maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,
2024-01-04T15:25:10.123456789+17:59
)
public String getCreateDate()
Indicates when the IAM group was created.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9
digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example, 2024-01-04T15:25:10.123456789+17:59
)
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a
maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,
2024-01-04T15:25:10.123456789+17:59
)
public AwsIamGroupDetails withCreateDate(String createDate)
Indicates when the IAM group was created.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9
digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example, 2024-01-04T15:25:10.123456789+17:59
)
createDate
- Indicates when the IAM group was created.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a
maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,
2024-01-04T15:25:10.123456789+17:59
)
public void setGroupId(String groupId)
The identifier of the IAM group.
groupId
- The identifier of the IAM group.public String getGroupId()
The identifier of the IAM group.
public AwsIamGroupDetails withGroupId(String groupId)
The identifier of the IAM group.
groupId
- The identifier of the IAM group.public void setGroupName(String groupName)
The name of the IAM group.
groupName
- The name of the IAM group.public String getGroupName()
The name of the IAM group.
public AwsIamGroupDetails withGroupName(String groupName)
The name of the IAM group.
groupName
- The name of the IAM group.public List<AwsIamGroupPolicy> getGroupPolicyList()
The list of inline policies that are embedded in the group.
public void setGroupPolicyList(Collection<AwsIamGroupPolicy> groupPolicyList)
The list of inline policies that are embedded in the group.
groupPolicyList
- The list of inline policies that are embedded in the group.public AwsIamGroupDetails withGroupPolicyList(AwsIamGroupPolicy... groupPolicyList)
The list of inline policies that are embedded in the group.
NOTE: This method appends the values to the existing list (if any). Use
setGroupPolicyList(java.util.Collection)
or withGroupPolicyList(java.util.Collection)
if you
want to override the existing values.
groupPolicyList
- The list of inline policies that are embedded in the group.public AwsIamGroupDetails withGroupPolicyList(Collection<AwsIamGroupPolicy> groupPolicyList)
The list of inline policies that are embedded in the group.
groupPolicyList
- The list of inline policies that are embedded in the group.public void setPath(String path)
The path to the group.
path
- The path to the group.public String getPath()
The path to the group.
public AwsIamGroupDetails withPath(String path)
The path to the group.
path
- The path to the group.public String toString()
toString
in class Object
Object.toString()
public AwsIamGroupDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.