@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListManagedPoliciesInPermissionSetResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListManagedPoliciesInPermissionSetResult() |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListManagedPoliciesInPermissionSetResult()
public List<AttachedManagedPolicy> getAttachedManagedPolicies()
An array of the AttachedManagedPolicy data type object.
public void setAttachedManagedPolicies(Collection<AttachedManagedPolicy> attachedManagedPolicies)
An array of the AttachedManagedPolicy data type object.
attachedManagedPolicies
- An array of the AttachedManagedPolicy data type object.public ListManagedPoliciesInPermissionSetResult withAttachedManagedPolicies(AttachedManagedPolicy... attachedManagedPolicies)
An array of the AttachedManagedPolicy data type object.
NOTE: This method appends the values to the existing list (if any). Use
setAttachedManagedPolicies(java.util.Collection)
or
withAttachedManagedPolicies(java.util.Collection)
if you want to override the existing values.
attachedManagedPolicies
- An array of the AttachedManagedPolicy data type object.public ListManagedPoliciesInPermissionSetResult withAttachedManagedPolicies(Collection<AttachedManagedPolicy> attachedManagedPolicies)
An array of the AttachedManagedPolicy data type object.
attachedManagedPolicies
- An array of the AttachedManagedPolicy data type object.public void setNextToken(String nextToken)
The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
nextToken
- The pagination token for the list API. Initially the value is null. Use the output of previous API calls
to make subsequent calls.public String getNextToken()
The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
public ListManagedPoliciesInPermissionSetResult withNextToken(String nextToken)
The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
nextToken
- The pagination token for the list API. Initially the value is null. Use the output of previous API calls
to make subsequent calls.public String toString()
toString
in class Object
Object.toString()
public ListManagedPoliciesInPermissionSetResult clone()