@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListIAMPolicyAssignmentsForUserResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListIAMPolicyAssignmentsForUserResult() |
Modifier and Type | Method and Description |
---|---|
ListIAMPolicyAssignmentsForUserResult |
clone() |
boolean |
equals(Object obj) |
List<ActiveIAMPolicyAssignment> |
getActiveAssignments()
The active assignments for this user.
|
String |
getNextToken()
The token for the next set of results, or null if there are no more results.
|
String |
getRequestId()
The Amazon Web Services request ID for this operation.
|
Integer |
getStatus()
The HTTP status of the request.
|
int |
hashCode() |
void |
setActiveAssignments(Collection<ActiveIAMPolicyAssignment> activeAssignments)
The active assignments for this user.
|
void |
setNextToken(String nextToken)
The token for the next set of results, or null if there are no more results.
|
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.
|
ListIAMPolicyAssignmentsForUserResult |
withActiveAssignments(ActiveIAMPolicyAssignment... activeAssignments)
The active assignments for this user.
|
ListIAMPolicyAssignmentsForUserResult |
withActiveAssignments(Collection<ActiveIAMPolicyAssignment> activeAssignments)
The active assignments for this user.
|
ListIAMPolicyAssignmentsForUserResult |
withNextToken(String nextToken)
The token for the next set of results, or null if there are no more results.
|
ListIAMPolicyAssignmentsForUserResult |
withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
ListIAMPolicyAssignmentsForUserResult |
withStatus(Integer status)
The HTTP status of the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListIAMPolicyAssignmentsForUserResult()
public List<ActiveIAMPolicyAssignment> getActiveAssignments()
The active assignments for this user.
public void setActiveAssignments(Collection<ActiveIAMPolicyAssignment> activeAssignments)
The active assignments for this user.
activeAssignments
- The active assignments for this user.public ListIAMPolicyAssignmentsForUserResult withActiveAssignments(ActiveIAMPolicyAssignment... activeAssignments)
The active assignments for this user.
NOTE: This method appends the values to the existing list (if any). Use
setActiveAssignments(java.util.Collection)
or withActiveAssignments(java.util.Collection)
if
you want to override the existing values.
activeAssignments
- The active assignments for this user.public ListIAMPolicyAssignmentsForUserResult withActiveAssignments(Collection<ActiveIAMPolicyAssignment> activeAssignments)
The active assignments for this user.
activeAssignments
- The active assignments for this user.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 ListIAMPolicyAssignmentsForUserResult withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
requestId
- The Amazon Web Services request ID for this operation.public void setNextToken(String nextToken)
The token for the next set of results, or null if there are no more results.
nextToken
- The token for the next set of results, or null if there are no more results.public String getNextToken()
The token for the next set of results, or null if there are no more results.
public ListIAMPolicyAssignmentsForUserResult withNextToken(String nextToken)
The token for the next set of results, or null if there are no more results.
nextToken
- The token for the next set of results, or null if there are no more results.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 ListIAMPolicyAssignmentsForUserResult 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 ListIAMPolicyAssignmentsForUserResult clone()