@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 use when requesting the next set of items.
|
List<ResourcePolicy> |
getResourcePolicies()
Details about the resource policy attached to the response plan.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The pagination token to use when requesting the next set of items.
|
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 use when requesting the next set of items.
|
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 use when requesting the next set of items. If there are no additional items to return, the string is null.
nextToken
- The pagination token to use when requesting the next set of items. If there are no additional items to
return, the string is null.public String getNextToken()
The pagination token to use when requesting the next set of items. If there are no additional items to return, the string is null.
public GetResourcePoliciesResult withNextToken(String nextToken)
The pagination token to use when requesting the next set of items. If there are no additional items to return, the string is null.
nextToken
- The pagination token to use when requesting the next set of items. If there are no additional items to
return, the string is null.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()