@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListResiliencyPoliciesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListResiliencyPoliciesResult() |
Modifier and Type | Method and Description |
---|---|
ListResiliencyPoliciesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token for the next set of results, or null if there are no more results.
|
List<ResiliencyPolicy> |
getResiliencyPolicies()
The resiliency policies for the Resilience Hub applications.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token for the next set of results, or null if there are no more results.
|
void |
setResiliencyPolicies(Collection<ResiliencyPolicy> resiliencyPolicies)
The resiliency policies for the Resilience Hub applications.
|
String |
toString()
Returns a string representation of this object.
|
ListResiliencyPoliciesResult |
withNextToken(String nextToken)
The token for the next set of results, or null if there are no more results.
|
ListResiliencyPoliciesResult |
withResiliencyPolicies(Collection<ResiliencyPolicy> resiliencyPolicies)
The resiliency policies for the Resilience Hub applications.
|
ListResiliencyPoliciesResult |
withResiliencyPolicies(ResiliencyPolicy... resiliencyPolicies)
The resiliency policies for the Resilience Hub applications.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 ListResiliencyPoliciesResult 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 List<ResiliencyPolicy> getResiliencyPolicies()
The resiliency policies for the Resilience Hub applications.
public void setResiliencyPolicies(Collection<ResiliencyPolicy> resiliencyPolicies)
The resiliency policies for the Resilience Hub applications.
resiliencyPolicies
- The resiliency policies for the Resilience Hub applications.public ListResiliencyPoliciesResult withResiliencyPolicies(ResiliencyPolicy... resiliencyPolicies)
The resiliency policies for the Resilience Hub applications.
NOTE: This method appends the values to the existing list (if any). Use
setResiliencyPolicies(java.util.Collection)
or withResiliencyPolicies(java.util.Collection)
if
you want to override the existing values.
resiliencyPolicies
- The resiliency policies for the Resilience Hub applications.public ListResiliencyPoliciesResult withResiliencyPolicies(Collection<ResiliencyPolicy> resiliencyPolicies)
The resiliency policies for the Resilience Hub applications.
resiliencyPolicies
- The resiliency policies for the Resilience Hub applications.public String toString()
toString
in class Object
Object.toString()
public ListResiliencyPoliciesResult clone()