@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListResponsePlansResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListResponsePlansResult() |
Modifier and Type | Method and Description |
---|---|
ListResponsePlansResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The pagination token to use when requesting the next set of items.
|
List<ResponsePlanSummary> |
getResponsePlanSummaries()
Details of each response plan.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The pagination token to use when requesting the next set of items.
|
void |
setResponsePlanSummaries(Collection<ResponsePlanSummary> responsePlanSummaries)
Details of each response plan.
|
String |
toString()
Returns a string representation of this object.
|
ListResponsePlansResult |
withNextToken(String nextToken)
The pagination token to use when requesting the next set of items.
|
ListResponsePlansResult |
withResponsePlanSummaries(Collection<ResponsePlanSummary> responsePlanSummaries)
Details of each response plan.
|
ListResponsePlansResult |
withResponsePlanSummaries(ResponsePlanSummary... responsePlanSummaries)
Details of each 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 ListResponsePlansResult 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<ResponsePlanSummary> getResponsePlanSummaries()
Details of each response plan.
public void setResponsePlanSummaries(Collection<ResponsePlanSummary> responsePlanSummaries)
Details of each response plan.
responsePlanSummaries
- Details of each response plan.public ListResponsePlansResult withResponsePlanSummaries(ResponsePlanSummary... responsePlanSummaries)
Details of each response plan.
NOTE: This method appends the values to the existing list (if any). Use
setResponsePlanSummaries(java.util.Collection)
or
withResponsePlanSummaries(java.util.Collection)
if you want to override the existing values.
responsePlanSummaries
- Details of each response plan.public ListResponsePlansResult withResponsePlanSummaries(Collection<ResponsePlanSummary> responsePlanSummaries)
Details of each response plan.
responsePlanSummaries
- Details of each response plan.public String toString()
toString
in class Object
Object.toString()
public ListResponsePlansResult clone()