@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Group extends Object implements Serializable, Cloneable, StructuredPojo
A group object that contains the metadata and attributes for a specified group.
Constructor and Description |
---|
Group() |
Modifier and Type | Method and Description |
---|---|
Group |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A string containing a description of the specified group.
|
String |
getDisplayName()
The display name value for the group.
|
List<ExternalId> |
getExternalIds()
A list of
ExternalId objects that contains the identifiers issued to this resource by an external
identity provider. |
String |
getGroupId()
The identifier for a group in the identity store.
|
String |
getIdentityStoreId()
The globally unique identifier for the identity store.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
A string containing a description of the specified group.
|
void |
setDisplayName(String displayName)
The display name value for the group.
|
void |
setExternalIds(Collection<ExternalId> externalIds)
A list of
ExternalId objects that contains the identifiers issued to this resource by an external
identity provider. |
void |
setGroupId(String groupId)
The identifier for a group in the identity store.
|
void |
setIdentityStoreId(String identityStoreId)
The globally unique identifier for the identity store.
|
String |
toString()
Returns a string representation of this object.
|
Group |
withDescription(String description)
A string containing a description of the specified group.
|
Group |
withDisplayName(String displayName)
The display name value for the group.
|
Group |
withExternalIds(Collection<ExternalId> externalIds)
A list of
ExternalId objects that contains the identifiers issued to this resource by an external
identity provider. |
Group |
withExternalIds(ExternalId... externalIds)
A list of
ExternalId objects that contains the identifiers issued to this resource by an external
identity provider. |
Group |
withGroupId(String groupId)
The identifier for a group in the identity store.
|
Group |
withIdentityStoreId(String identityStoreId)
The globally unique identifier for the identity store.
|
public void setGroupId(String groupId)
The identifier for a group in the identity store.
groupId
- The identifier for a group in the identity store.public String getGroupId()
The identifier for a group in the identity store.
public Group withGroupId(String groupId)
The identifier for a group in the identity store.
groupId
- The identifier for a group in the identity store.public void setDisplayName(String displayName)
The display name value for the group. The length limit is 1,024 characters. This value can consist of letters, accented characters, symbols, numbers, punctuation, tab, new line, carriage return, space, and nonbreaking space in this attribute. This value is specified at the time the group is created and stored as an attribute of the group object in the identity store.
displayName
- The display name value for the group. The length limit is 1,024 characters. This value can consist of
letters, accented characters, symbols, numbers, punctuation, tab, new line, carriage return, space, and
nonbreaking space in this attribute. This value is specified at the time the group is created and stored
as an attribute of the group object in the identity store.public String getDisplayName()
The display name value for the group. The length limit is 1,024 characters. This value can consist of letters, accented characters, symbols, numbers, punctuation, tab, new line, carriage return, space, and nonbreaking space in this attribute. This value is specified at the time the group is created and stored as an attribute of the group object in the identity store.
public Group withDisplayName(String displayName)
The display name value for the group. The length limit is 1,024 characters. This value can consist of letters, accented characters, symbols, numbers, punctuation, tab, new line, carriage return, space, and nonbreaking space in this attribute. This value is specified at the time the group is created and stored as an attribute of the group object in the identity store.
displayName
- The display name value for the group. The length limit is 1,024 characters. This value can consist of
letters, accented characters, symbols, numbers, punctuation, tab, new line, carriage return, space, and
nonbreaking space in this attribute. This value is specified at the time the group is created and stored
as an attribute of the group object in the identity store.public List<ExternalId> getExternalIds()
A list of ExternalId
objects that contains the identifiers issued to this resource by an external
identity provider.
ExternalId
objects that contains the identifiers issued to this resource by an
external identity provider.public void setExternalIds(Collection<ExternalId> externalIds)
A list of ExternalId
objects that contains the identifiers issued to this resource by an external
identity provider.
externalIds
- A list of ExternalId
objects that contains the identifiers issued to this resource by an
external identity provider.public Group withExternalIds(ExternalId... externalIds)
A list of ExternalId
objects that contains the identifiers issued to this resource by an external
identity provider.
NOTE: This method appends the values to the existing list (if any). Use
setExternalIds(java.util.Collection)
or withExternalIds(java.util.Collection)
if you want to
override the existing values.
externalIds
- A list of ExternalId
objects that contains the identifiers issued to this resource by an
external identity provider.public Group withExternalIds(Collection<ExternalId> externalIds)
A list of ExternalId
objects that contains the identifiers issued to this resource by an external
identity provider.
externalIds
- A list of ExternalId
objects that contains the identifiers issued to this resource by an
external identity provider.public void setDescription(String description)
A string containing a description of the specified group.
description
- A string containing a description of the specified group.public String getDescription()
A string containing a description of the specified group.
public Group withDescription(String description)
A string containing a description of the specified group.
description
- A string containing a description of the specified group.public void setIdentityStoreId(String identityStoreId)
The globally unique identifier for the identity store.
identityStoreId
- The globally unique identifier for the identity store.public String getIdentityStoreId()
The globally unique identifier for the identity store.
public Group withIdentityStoreId(String identityStoreId)
The globally unique identifier for the identity store.
identityStoreId
- The globally unique identifier for the identity store.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.