@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.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
separated by T
. For example, 2020-03-22T13:22:13.933Z
.
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, and date and time should be separated by T
. For
example, 2020-03-22T13:22:13.933Z
.
public String getCreateDate()
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, and date and time should be
separated by T
. 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, and date and time should be separated by T
. For
example, 2020-03-22T13:22:13.933Z
.
public AwsIamGroupDetails withCreateDate(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, and date and time should be
separated by T
. For example, 2020-03-22T13:22:13.933Z
.
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, and date and time should be separated by T
. For
example, 2020-03-22T13:22:13.933Z
.
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.