@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateGroupMembershipRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateGroupMembershipRequest() |
Modifier and Type | Method and Description |
---|---|
CreateGroupMembershipRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAwsAccountId()
The ID for the AWS account that the group is in.
|
String |
getGroupName()
The name of the group that you want to add the user to.
|
String |
getMemberName()
The name of the user that you want to add to the group membership.
|
String |
getNamespace()
The namespace.
|
int |
hashCode() |
void |
setAwsAccountId(String awsAccountId)
The ID for the AWS account that the group is in.
|
void |
setGroupName(String groupName)
The name of the group that you want to add the user to.
|
void |
setMemberName(String memberName)
The name of the user that you want to add to the group membership.
|
void |
setNamespace(String namespace)
The namespace.
|
String |
toString()
Returns a string representation of this object.
|
CreateGroupMembershipRequest |
withAwsAccountId(String awsAccountId)
The ID for the AWS account that the group is in.
|
CreateGroupMembershipRequest |
withGroupName(String groupName)
The name of the group that you want to add the user to.
|
CreateGroupMembershipRequest |
withMemberName(String memberName)
The name of the user that you want to add to the group membership.
|
CreateGroupMembershipRequest |
withNamespace(String namespace)
The namespace.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setMemberName(String memberName)
The name of the user that you want to add to the group membership.
memberName
- The name of the user that you want to add to the group membership.public String getMemberName()
The name of the user that you want to add to the group membership.
public CreateGroupMembershipRequest withMemberName(String memberName)
The name of the user that you want to add to the group membership.
memberName
- The name of the user that you want to add to the group membership.public void setGroupName(String groupName)
The name of the group that you want to add the user to.
groupName
- The name of the group that you want to add the user to.public String getGroupName()
The name of the group that you want to add the user to.
public CreateGroupMembershipRequest withGroupName(String groupName)
The name of the group that you want to add the user to.
groupName
- The name of the group that you want to add the user to.public void setAwsAccountId(String awsAccountId)
The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
awsAccountId
- The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that
contains your Amazon QuickSight account.public String getAwsAccountId()
The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
public CreateGroupMembershipRequest withAwsAccountId(String awsAccountId)
The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
awsAccountId
- The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that
contains your Amazon QuickSight account.public void setNamespace(String namespace)
The namespace. Currently, you should set this to default
.
namespace
- The namespace. Currently, you should set this to default
.public String getNamespace()
The namespace. Currently, you should set this to default
.
default
.public CreateGroupMembershipRequest withNamespace(String namespace)
The namespace. Currently, you should set this to default
.
namespace
- The namespace. Currently, you should set this to default
.public String toString()
toString
in class Object
Object.toString()
public CreateGroupMembershipRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()