@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CognitoMemberDefinition extends Object implements Serializable, Cloneable, StructuredPojo
Identifies a Amazon Cognito user group. A user group can be used in on or more work teams.
Constructor and Description |
---|
CognitoMemberDefinition() |
Modifier and Type | Method and Description |
---|---|
CognitoMemberDefinition |
clone() |
boolean |
equals(Object obj) |
String |
getClientId()
An identifier for an application client.
|
String |
getUserGroup()
An identifier for a user group.
|
String |
getUserPool()
An identifier for a user pool.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClientId(String clientId)
An identifier for an application client.
|
void |
setUserGroup(String userGroup)
An identifier for a user group.
|
void |
setUserPool(String userPool)
An identifier for a user pool.
|
String |
toString()
Returns a string representation of this object.
|
CognitoMemberDefinition |
withClientId(String clientId)
An identifier for an application client.
|
CognitoMemberDefinition |
withUserGroup(String userGroup)
An identifier for a user group.
|
CognitoMemberDefinition |
withUserPool(String userPool)
An identifier for a user pool.
|
public void setUserPool(String userPool)
An identifier for a user pool. The user pool must be in the same region as the service that you are calling.
userPool
- An identifier for a user pool. The user pool must be in the same region as the service that you are
calling.public String getUserPool()
An identifier for a user pool. The user pool must be in the same region as the service that you are calling.
public CognitoMemberDefinition withUserPool(String userPool)
An identifier for a user pool. The user pool must be in the same region as the service that you are calling.
userPool
- An identifier for a user pool. The user pool must be in the same region as the service that you are
calling.public void setUserGroup(String userGroup)
An identifier for a user group.
userGroup
- An identifier for a user group.public String getUserGroup()
An identifier for a user group.
public CognitoMemberDefinition withUserGroup(String userGroup)
An identifier for a user group.
userGroup
- An identifier for a user group.public void setClientId(String clientId)
An identifier for an application client. You must create the app client ID using Amazon Cognito.
clientId
- An identifier for an application client. You must create the app client ID using Amazon Cognito.public String getClientId()
An identifier for an application client. You must create the app client ID using Amazon Cognito.
public CognitoMemberDefinition withClientId(String clientId)
An identifier for an application client. You must create the app client ID using Amazon Cognito.
clientId
- An identifier for an application client. You must create the app client ID using Amazon Cognito.public String toString()
toString
in class Object
Object.toString()
public CognitoMemberDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.