@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateIAMPolicyAssignmentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateIAMPolicyAssignmentResult() |
Modifier and Type | Method and Description |
---|---|
CreateIAMPolicyAssignmentResult |
addIdentitiesEntry(String key,
List<String> value)
Add a single Identities entry
|
CreateIAMPolicyAssignmentResult |
clearIdentitiesEntries()
Removes all the entries added into Identities.
|
CreateIAMPolicyAssignmentResult |
clone() |
boolean |
equals(Object obj) |
String |
getAssignmentId()
The ID for the assignment.
|
String |
getAssignmentName()
The name of the assignment.
|
String |
getAssignmentStatus()
The status of the assignment.
|
Map<String,List<String>> |
getIdentities()
The Amazon QuickSight users, groups, or both that the IAM policy is assigned to.
|
String |
getPolicyArn()
The ARN for the IAM policy that is applied to the Amazon QuickSight users and groups specified in this
assignment.
|
String |
getRequestId()
The Amazon Web Services request ID for this operation.
|
Integer |
getStatus()
The HTTP status of the request.
|
int |
hashCode() |
void |
setAssignmentId(String assignmentId)
The ID for the assignment.
|
void |
setAssignmentName(String assignmentName)
The name of the assignment.
|
void |
setAssignmentStatus(String assignmentStatus)
The status of the assignment.
|
void |
setIdentities(Map<String,List<String>> identities)
The Amazon QuickSight users, groups, or both that the IAM policy is assigned to.
|
void |
setPolicyArn(String policyArn)
The ARN for the IAM policy that is applied to the Amazon QuickSight users and groups specified in this
assignment.
|
void |
setRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
void |
setStatus(Integer status)
The HTTP status of the request.
|
String |
toString()
Returns a string representation of this object.
|
CreateIAMPolicyAssignmentResult |
withAssignmentId(String assignmentId)
The ID for the assignment.
|
CreateIAMPolicyAssignmentResult |
withAssignmentName(String assignmentName)
The name of the assignment.
|
CreateIAMPolicyAssignmentResult |
withAssignmentStatus(AssignmentStatus assignmentStatus)
The status of the assignment.
|
CreateIAMPolicyAssignmentResult |
withAssignmentStatus(String assignmentStatus)
The status of the assignment.
|
CreateIAMPolicyAssignmentResult |
withIdentities(Map<String,List<String>> identities)
The Amazon QuickSight users, groups, or both that the IAM policy is assigned to.
|
CreateIAMPolicyAssignmentResult |
withPolicyArn(String policyArn)
The ARN for the IAM policy that is applied to the Amazon QuickSight users and groups specified in this
assignment.
|
CreateIAMPolicyAssignmentResult |
withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
CreateIAMPolicyAssignmentResult |
withStatus(Integer status)
The HTTP status of the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAssignmentName(String assignmentName)
The name of the assignment. The name must be unique within the Amazon Web Services account.
assignmentName
- The name of the assignment. The name must be unique within the Amazon Web Services account.public String getAssignmentName()
The name of the assignment. The name must be unique within the Amazon Web Services account.
public CreateIAMPolicyAssignmentResult withAssignmentName(String assignmentName)
The name of the assignment. The name must be unique within the Amazon Web Services account.
assignmentName
- The name of the assignment. The name must be unique within the Amazon Web Services account.public void setAssignmentId(String assignmentId)
The ID for the assignment.
assignmentId
- The ID for the assignment.public String getAssignmentId()
The ID for the assignment.
public CreateIAMPolicyAssignmentResult withAssignmentId(String assignmentId)
The ID for the assignment.
assignmentId
- The ID for 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 CreateIAMPolicyAssignmentResult 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 CreateIAMPolicyAssignmentResult 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 that is applied to the Amazon QuickSight users and groups specified in this assignment.
policyArn
- The ARN for the IAM policy that is applied to the Amazon QuickSight users and groups specified in this
assignment.public String getPolicyArn()
The ARN for the IAM policy that is applied to the Amazon QuickSight users and groups specified in this assignment.
public CreateIAMPolicyAssignmentResult withPolicyArn(String policyArn)
The ARN for the IAM policy that is applied to the Amazon QuickSight users and groups specified in this assignment.
policyArn
- The ARN for the IAM policy that is applied 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 the IAM policy is assigned to.
public void setIdentities(Map<String,List<String>> identities)
The Amazon QuickSight users, groups, or both that the IAM policy is assigned to.
identities
- The Amazon QuickSight users, groups, or both that the IAM policy is assigned to.public CreateIAMPolicyAssignmentResult withIdentities(Map<String,List<String>> identities)
The Amazon QuickSight users, groups, or both that the IAM policy is assigned to.
identities
- The Amazon QuickSight users, groups, or both that the IAM policy is assigned to.public CreateIAMPolicyAssignmentResult addIdentitiesEntry(String key, List<String> value)
public CreateIAMPolicyAssignmentResult clearIdentitiesEntries()
public void setRequestId(String requestId)
The Amazon Web Services request ID for this operation.
requestId
- The Amazon Web Services request ID for this operation.public String getRequestId()
The Amazon Web Services request ID for this operation.
public CreateIAMPolicyAssignmentResult withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
requestId
- The Amazon Web Services request ID for this operation.public void setStatus(Integer status)
The HTTP status of the request.
status
- The HTTP status of the request.public Integer getStatus()
The HTTP status of the request.
public CreateIAMPolicyAssignmentResult withStatus(Integer status)
The HTTP status of the request.
status
- The HTTP status of the request.public String toString()
toString
in class Object
Object.toString()
public CreateIAMPolicyAssignmentResult clone()