@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateIAMPolicyAssignmentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateIAMPolicyAssignmentRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateIAMPolicyAssignmentRequest |
addIdentitiesEntry(String key,
List<String> value)
Add a single Identities entry
|
UpdateIAMPolicyAssignmentRequest |
clearIdentitiesEntries()
Removes all the entries added into Identities.
|
UpdateIAMPolicyAssignmentRequest |
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 that contains the IAM policy assignment.
|
Map<String,List<String>> |
getIdentities()
The Amazon QuickSight users, groups, or both that you want to assign the policy to.
|
String |
getNamespace()
The namespace of 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 that contains the IAM policy assignment.
|
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 of 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.
|
UpdateIAMPolicyAssignmentRequest |
withAssignmentName(String assignmentName)
The name of the assignment, also called a rule.
|
UpdateIAMPolicyAssignmentRequest |
withAssignmentStatus(AssignmentStatus assignmentStatus)
The status of the assignment.
|
UpdateIAMPolicyAssignmentRequest |
withAssignmentStatus(String assignmentStatus)
The status of the assignment.
|
UpdateIAMPolicyAssignmentRequest |
withAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account that contains the IAM policy assignment.
|
UpdateIAMPolicyAssignmentRequest |
withIdentities(Map<String,List<String>> identities)
The Amazon QuickSight users, groups, or both that you want to assign the policy to.
|
UpdateIAMPolicyAssignmentRequest |
withNamespace(String namespace)
The namespace of the assignment.
|
UpdateIAMPolicyAssignmentRequest |
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 that contains the IAM policy assignment.
awsAccountId
- The ID of the Amazon Web Services account that contains the IAM policy assignment.public String getAwsAccountId()
The ID of the Amazon Web Services account that contains the IAM policy assignment.
public UpdateIAMPolicyAssignmentRequest withAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account that contains the IAM policy assignment.
awsAccountId
- The ID of the Amazon Web Services account that contains the IAM policy assignment.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 UpdateIAMPolicyAssignmentRequest 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 setNamespace(String namespace)
The namespace of the assignment.
namespace
- The namespace of the assignment.public String getNamespace()
The namespace of the assignment.
public UpdateIAMPolicyAssignmentRequest withNamespace(String namespace)
The namespace of the assignment.
namespace
- The namespace of the assignment.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 UpdateIAMPolicyAssignmentRequest 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 UpdateIAMPolicyAssignmentRequest 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 UpdateIAMPolicyAssignmentRequest 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 UpdateIAMPolicyAssignmentRequest 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 UpdateIAMPolicyAssignmentRequest addIdentitiesEntry(String key, List<String> value)
public UpdateIAMPolicyAssignmentRequest clearIdentitiesEntries()
public String toString()
toString
in class Object
Object.toString()
public UpdateIAMPolicyAssignmentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()