Class GetAccountAuthorizationDetailsResult

java.lang.Object
com.amazonaws.services.identitymanagement.model.GetAccountAuthorizationDetailsResult
All Implemented Interfaces:
Serializable, Cloneable

public class GetAccountAuthorizationDetailsResult extends Object implements Serializable, Cloneable

Contains the response to a successful GetAccountAuthorizationDetails request.

See Also:
  • Constructor Details

    • GetAccountAuthorizationDetailsResult

      public GetAccountAuthorizationDetailsResult()
  • Method Details

    • getUserDetailList

      public List<UserDetail> getUserDetailList()

      A list containing information about IAM users.

      Returns:
      A list containing information about IAM users.
    • setUserDetailList

      public void setUserDetailList(Collection<UserDetail> userDetailList)

      A list containing information about IAM users.

      Parameters:
      userDetailList - A list containing information about IAM users.
    • withUserDetailList

      public GetAccountAuthorizationDetailsResult withUserDetailList(UserDetail... userDetailList)

      A list containing information about IAM users.

      NOTE: This method appends the values to the existing list (if any). Use setUserDetailList(java.util.Collection) or withUserDetailList(java.util.Collection) if you want to override the existing values.

      Parameters:
      userDetailList - A list containing information about IAM users.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withUserDetailList

      public GetAccountAuthorizationDetailsResult withUserDetailList(Collection<UserDetail> userDetailList)

      A list containing information about IAM users.

      Parameters:
      userDetailList - A list containing information about IAM users.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getGroupDetailList

      public List<GroupDetail> getGroupDetailList()

      A list containing information about IAM groups.

      Returns:
      A list containing information about IAM groups.
    • setGroupDetailList

      public void setGroupDetailList(Collection<GroupDetail> groupDetailList)

      A list containing information about IAM groups.

      Parameters:
      groupDetailList - A list containing information about IAM groups.
    • withGroupDetailList

      public GetAccountAuthorizationDetailsResult withGroupDetailList(GroupDetail... groupDetailList)

      A list containing information about IAM groups.

      NOTE: This method appends the values to the existing list (if any). Use setGroupDetailList(java.util.Collection) or withGroupDetailList(java.util.Collection) if you want to override the existing values.

      Parameters:
      groupDetailList - A list containing information about IAM groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withGroupDetailList

      public GetAccountAuthorizationDetailsResult withGroupDetailList(Collection<GroupDetail> groupDetailList)

      A list containing information about IAM groups.

      Parameters:
      groupDetailList - A list containing information about IAM groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getRoleDetailList

      public List<RoleDetail> getRoleDetailList()

      A list containing information about IAM roles.

      Returns:
      A list containing information about IAM roles.
    • setRoleDetailList

      public void setRoleDetailList(Collection<RoleDetail> roleDetailList)

      A list containing information about IAM roles.

      Parameters:
      roleDetailList - A list containing information about IAM roles.
    • withRoleDetailList

      public GetAccountAuthorizationDetailsResult withRoleDetailList(RoleDetail... roleDetailList)

      A list containing information about IAM roles.

      NOTE: This method appends the values to the existing list (if any). Use setRoleDetailList(java.util.Collection) or withRoleDetailList(java.util.Collection) if you want to override the existing values.

      Parameters:
      roleDetailList - A list containing information about IAM roles.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withRoleDetailList

      public GetAccountAuthorizationDetailsResult withRoleDetailList(Collection<RoleDetail> roleDetailList)

      A list containing information about IAM roles.

      Parameters:
      roleDetailList - A list containing information about IAM roles.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getPolicies

      public List<ManagedPolicyDetail> getPolicies()

      A list containing information about managed policies.

      Returns:
      A list containing information about managed policies.
    • setPolicies

      public void setPolicies(Collection<ManagedPolicyDetail> policies)

      A list containing information about managed policies.

      Parameters:
      policies - A list containing information about managed policies.
    • withPolicies

      public GetAccountAuthorizationDetailsResult withPolicies(ManagedPolicyDetail... policies)

      A list containing information about managed policies.

      NOTE: This method appends the values to the existing list (if any). Use setPolicies(java.util.Collection) or withPolicies(java.util.Collection) if you want to override the existing values.

      Parameters:
      policies - A list containing information about managed policies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withPolicies

      A list containing information about managed policies.

      Parameters:
      policies - A list containing information about managed policies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setIsTruncated

      public void setIsTruncated(Boolean isTruncated)

      A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results.

      Parameters:
      isTruncated - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results.
    • getIsTruncated

      public Boolean getIsTruncated()

      A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results.

      Returns:
      A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results.
    • withIsTruncated

      public GetAccountAuthorizationDetailsResult withIsTruncated(Boolean isTruncated)

      A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results.

      Parameters:
      isTruncated - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isTruncated

      public Boolean isTruncated()

      A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results.

      Returns:
      A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results.
    • setMarker

      public void setMarker(String marker)

      When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.

      Parameters:
      marker - When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
    • getMarker

      public String getMarker()

      When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.

      Returns:
      When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
    • withMarker

      public GetAccountAuthorizationDetailsResult withMarker(String marker)

      When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.

      Parameters:
      marker - When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object