@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetResourcePoliciesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetResourcePoliciesResult() |
Modifier and Type | Method and Description |
---|---|
GetResourcePoliciesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The pagination token to continue to the next page of results.
|
List<ResourcePolicy> |
getResourcePolicies()
Details about the resource policy attached to the response plan.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The pagination token to continue to the next page of results.
|
void |
setResourcePolicies(Collection<ResourcePolicy> resourcePolicies)
Details about the resource policy attached to the response plan.
|
String |
toString()
Returns a string representation of this object.
|
GetResourcePoliciesResult |
withNextToken(String nextToken)
The pagination token to continue to the next page of results.
|
GetResourcePoliciesResult |
withResourcePolicies(Collection<ResourcePolicy> resourcePolicies)
Details about the resource policy attached to the response plan.
|
GetResourcePoliciesResult |
withResourcePolicies(ResourcePolicy... resourcePolicies)
Details about the resource policy attached to the response plan.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The pagination token to continue to the next page of results.
nextToken
- The pagination token to continue to the next page of results.public String getNextToken()
The pagination token to continue to the next page of results.
public GetResourcePoliciesResult withNextToken(String nextToken)
The pagination token to continue to the next page of results.
nextToken
- The pagination token to continue to the next page of results.public List<ResourcePolicy> getResourcePolicies()
Details about the resource policy attached to the response plan.
public void setResourcePolicies(Collection<ResourcePolicy> resourcePolicies)
Details about the resource policy attached to the response plan.
resourcePolicies
- Details about the resource policy attached to the response plan.public GetResourcePoliciesResult withResourcePolicies(ResourcePolicy... resourcePolicies)
Details about the resource policy attached to the response plan.
NOTE: This method appends the values to the existing list (if any). Use
setResourcePolicies(java.util.Collection)
or withResourcePolicies(java.util.Collection)
if you
want to override the existing values.
resourcePolicies
- Details about the resource policy attached to the response plan.public GetResourcePoliciesResult withResourcePolicies(Collection<ResourcePolicy> resourcePolicies)
Details about the resource policy attached to the response plan.
resourcePolicies
- Details about the resource policy attached to the response plan.public String toString()
toString
in class Object
Object.toString()
public GetResourcePoliciesResult clone()