@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateIAMPolicyAssignmentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateIAMPolicyAssignmentRequest() |
Modifier and Type | Method and Description |
---|---|
CreateIAMPolicyAssignmentRequest |
addIdentitiesEntry(String key,
List<String> value)
Add a single Identities entry
|
CreateIAMPolicyAssignmentRequest |
clearIdentitiesEntries()
Removes all the entries added into Identities.
|
CreateIAMPolicyAssignmentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAssignmentName()
The name of the assignment, also called a rule.
|
String |
getAssignmentStatus()
The status of the assignment.
|
String |
getAwsAccountId()
The ID of the Amazon Web Services account where you want to assign an IAM policy to Amazon QuickSight users or
groups.
|
Map<String,List<String>> |
getIdentities()
The Amazon QuickSight users, groups, or both that you want to assign the policy to.
|
String |
getNamespace()
The namespace that contains the assignment.
|
String |
getPolicyArn()
The ARN for the IAM policy to apply to the Amazon QuickSight users and groups specified in this assignment.
|
int |
hashCode() |
void |
setAssignmentName(String assignmentName)
The name of the assignment, also called a rule.
|
void |
setAssignmentStatus(String assignmentStatus)
The status of the assignment.
|
void |
setAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account where you want to assign an IAM policy to Amazon QuickSight users or
groups.
|
void |
setIdentities(Map<String,List<String>> identities)
The Amazon QuickSight users, groups, or both that you want to assign the policy to.
|
void |
setNamespace(String namespace)
The namespace that contains the assignment.
|
void |
setPolicyArn(String policyArn)
The ARN for the IAM policy to apply to the Amazon QuickSight users and groups specified in this assignment.
|
String |
toString()
Returns a string representation of this object.
|
CreateIAMPolicyAssignmentRequest |
withAssignmentName(String assignmentName)
The name of the assignment, also called a rule.
|
CreateIAMPolicyAssignmentRequest |
withAssignmentStatus(AssignmentStatus assignmentStatus)
The status of the assignment.
|
CreateIAMPolicyAssignmentRequest |
withAssignmentStatus(String assignmentStatus)
The status of the assignment.
|
CreateIAMPolicyAssignmentRequest |
withAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account where you want to assign an IAM policy to Amazon QuickSight users or
groups.
|
CreateIAMPolicyAssignmentRequest |
withIdentities(Map<String,List<String>> identities)
The Amazon QuickSight users, groups, or both that you want to assign the policy to.
|
CreateIAMPolicyAssignmentRequest |
withNamespace(String namespace)
The namespace that contains the assignment.
|
CreateIAMPolicyAssignmentRequest |
withPolicyArn(String policyArn)
The ARN for the IAM policy to apply to the Amazon QuickSight users and groups specified in this assignment.
|
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 setAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account where you want to assign an IAM policy to Amazon QuickSight users or groups.
awsAccountId
- The ID of the Amazon Web Services account where you want to assign an IAM policy to Amazon QuickSight
users or groups.public String getAwsAccountId()
The ID of the Amazon Web Services account where you want to assign an IAM policy to Amazon QuickSight users or groups.
public CreateIAMPolicyAssignmentRequest withAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account where you want to assign an IAM policy to Amazon QuickSight users or groups.
awsAccountId
- The ID of the Amazon Web Services account where you want to assign an IAM policy to Amazon QuickSight
users or groups.public void setAssignmentName(String assignmentName)
The name of the assignment, also called a rule. The name must be unique within the Amazon Web Services account.
assignmentName
- The name of the assignment, also called a rule. The name must be unique within the Amazon Web Services
account.public String getAssignmentName()
The name of the assignment, also called a rule. The name must be unique within the Amazon Web Services account.
public CreateIAMPolicyAssignmentRequest withAssignmentName(String assignmentName)
The name of the assignment, also called a rule. The name must be unique within the Amazon Web Services account.
assignmentName
- The name of the assignment, also called a rule. The name must be unique within the Amazon Web Services
account.public void setAssignmentStatus(String assignmentStatus)
The status of the assignment. Possible values are as follows:
ENABLED
- Anything specified in this assignment is used when creating the data source.
DISABLED
- This assignment isn't used when creating the data source.
DRAFT
- This assignment is an unfinished draft and isn't used when creating the data source.
assignmentStatus
- The status of the assignment. Possible values are as follows:
ENABLED
- Anything specified in this assignment is used when creating the data source.
DISABLED
- This assignment isn't used when creating the data source.
DRAFT
- This assignment is an unfinished draft and isn't used when creating the data source.
AssignmentStatus
public String getAssignmentStatus()
The status of the assignment. Possible values are as follows:
ENABLED
- Anything specified in this assignment is used when creating the data source.
DISABLED
- This assignment isn't used when creating the data source.
DRAFT
- This assignment is an unfinished draft and isn't used when creating the data source.
ENABLED
- Anything specified in this assignment is used when creating the data source.
DISABLED
- This assignment isn't used when creating the data source.
DRAFT
- This assignment is an unfinished draft and isn't used when creating the data source.
AssignmentStatus
public CreateIAMPolicyAssignmentRequest withAssignmentStatus(String assignmentStatus)
The status of the assignment. Possible values are as follows:
ENABLED
- Anything specified in this assignment is used when creating the data source.
DISABLED
- This assignment isn't used when creating the data source.
DRAFT
- This assignment is an unfinished draft and isn't used when creating the data source.
assignmentStatus
- The status of the assignment. Possible values are as follows:
ENABLED
- Anything specified in this assignment is used when creating the data source.
DISABLED
- This assignment isn't used when creating the data source.
DRAFT
- This assignment is an unfinished draft and isn't used when creating the data source.
AssignmentStatus
public CreateIAMPolicyAssignmentRequest withAssignmentStatus(AssignmentStatus assignmentStatus)
The status of the assignment. Possible values are as follows:
ENABLED
- Anything specified in this assignment is used when creating the data source.
DISABLED
- This assignment isn't used when creating the data source.
DRAFT
- This assignment is an unfinished draft and isn't used when creating the data source.
assignmentStatus
- The status of the assignment. Possible values are as follows:
ENABLED
- Anything specified in this assignment is used when creating the data source.
DISABLED
- This assignment isn't used when creating the data source.
DRAFT
- This assignment is an unfinished draft and isn't used when creating the data source.
AssignmentStatus
public void setPolicyArn(String policyArn)
The ARN for the IAM policy to apply to the Amazon QuickSight users and groups specified in this assignment.
policyArn
- The ARN for the IAM policy to apply to the Amazon QuickSight users and groups specified in this
assignment.public String getPolicyArn()
The ARN for the IAM policy to apply to the Amazon QuickSight users and groups specified in this assignment.
public CreateIAMPolicyAssignmentRequest withPolicyArn(String policyArn)
The ARN for the IAM policy to apply to the Amazon QuickSight users and groups specified in this assignment.
policyArn
- The ARN for the IAM policy to apply to the Amazon QuickSight users and groups specified in this
assignment.public Map<String,List<String>> getIdentities()
The Amazon QuickSight users, groups, or both that you want to assign the policy to.
public void setIdentities(Map<String,List<String>> identities)
The Amazon QuickSight users, groups, or both that you want to assign the policy to.
identities
- The Amazon QuickSight users, groups, or both that you want to assign the policy to.public CreateIAMPolicyAssignmentRequest withIdentities(Map<String,List<String>> identities)
The Amazon QuickSight users, groups, or both that you want to assign the policy to.
identities
- The Amazon QuickSight users, groups, or both that you want to assign the policy to.public CreateIAMPolicyAssignmentRequest addIdentitiesEntry(String key, List<String> value)
public CreateIAMPolicyAssignmentRequest clearIdentitiesEntries()
public void setNamespace(String namespace)
The namespace that contains the assignment.
namespace
- The namespace that contains the assignment.public String getNamespace()
The namespace that contains the assignment.
public CreateIAMPolicyAssignmentRequest withNamespace(String namespace)
The namespace that contains the assignment.
namespace
- The namespace that contains the assignment.public String toString()
toString
in class Object
Object.toString()
public CreateIAMPolicyAssignmentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()