@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRoleMembershipRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateRoleMembershipRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateRoleMembershipRequest |
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 Amazon Web Services account that you want to create a group in.
|
String |
getMemberName()
The name of the group that you want to add to the role.
|
String |
getNamespace()
The namespace that the role belongs to.
|
String |
getRole()
The role that you want to add a group to.
|
int |
hashCode() |
void |
setAwsAccountId(String awsAccountId)
The ID for the Amazon Web Services account that you want to create a group in.
|
void |
setMemberName(String memberName)
The name of the group that you want to add to the role.
|
void |
setNamespace(String namespace)
The namespace that the role belongs to.
|
void |
setRole(String role)
The role that you want to add a group to.
|
String |
toString()
Returns a string representation of this object.
|
CreateRoleMembershipRequest |
withAwsAccountId(String awsAccountId)
The ID for the Amazon Web Services account that you want to create a group in.
|
CreateRoleMembershipRequest |
withMemberName(String memberName)
The name of the group that you want to add to the role.
|
CreateRoleMembershipRequest |
withNamespace(String namespace)
The namespace that the role belongs to.
|
CreateRoleMembershipRequest |
withRole(Role role)
The role that you want to add a group to.
|
CreateRoleMembershipRequest |
withRole(String role)
The role that you want to add a group to.
|
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, withSdkRequestTimeoutpublic void setMemberName(String memberName)
The name of the group that you want to add to the role.
memberName - The name of the group that you want to add to the role.public String getMemberName()
The name of the group that you want to add to the role.
public CreateRoleMembershipRequest withMemberName(String memberName)
The name of the group that you want to add to the role.
memberName - The name of the group that you want to add to the role.public void setAwsAccountId(String awsAccountId)
The ID for the Amazon Web Services account that you want to create a group in. The Amazon Web Services account ID that you provide must be the same Amazon Web Services account that contains your Amazon QuickSight account.
awsAccountId - The ID for the Amazon Web Services account that you want to create a group in. The Amazon Web Services
account ID that you provide must be the same Amazon Web Services account that contains your Amazon
QuickSight account.public String getAwsAccountId()
The ID for the Amazon Web Services account that you want to create a group in. The Amazon Web Services account ID that you provide must be the same Amazon Web Services account that contains your Amazon QuickSight account.
public CreateRoleMembershipRequest withAwsAccountId(String awsAccountId)
The ID for the Amazon Web Services account that you want to create a group in. The Amazon Web Services account ID that you provide must be the same Amazon Web Services account that contains your Amazon QuickSight account.
awsAccountId - The ID for the Amazon Web Services account that you want to create a group in. The Amazon Web Services
account ID that you provide must be the same Amazon Web Services account that contains your Amazon
QuickSight account.public void setNamespace(String namespace)
The namespace that the role belongs to.
namespace - The namespace that the role belongs to.public String getNamespace()
The namespace that the role belongs to.
public CreateRoleMembershipRequest withNamespace(String namespace)
The namespace that the role belongs to.
namespace - The namespace that the role belongs to.public void setRole(String role)
The role that you want to add a group to.
role - The role that you want to add a group to.Rolepublic String getRole()
The role that you want to add a group to.
Rolepublic CreateRoleMembershipRequest withRole(String role)
The role that you want to add a group to.
role - The role that you want to add a group to.Rolepublic CreateRoleMembershipRequest withRole(Role role)
The role that you want to add a group to.
role - The role that you want to add a group to.Rolepublic String toString()
toString in class ObjectObject.toString()public CreateRoleMembershipRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()