@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListGuardrailsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| ListGuardrailsResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| ListGuardrailsResult | clone() | 
| boolean | equals(Object obj) | 
| List<GuardrailSummary> | getGuardrails()
 A list of objects, each of which contains details about a guardrail. | 
| String | getNextToken()
 If there are more results than were returned in the response, the response returns a  nextTokenthat
 you can send in anotherListGuardrailsrequest to see the next batch of results. | 
| int | hashCode() | 
| void | setGuardrails(Collection<GuardrailSummary> guardrails)
 A list of objects, each of which contains details about a guardrail. | 
| void | setNextToken(String nextToken)
 If there are more results than were returned in the response, the response returns a  nextTokenthat
 you can send in anotherListGuardrailsrequest to see the next batch of results. | 
| String | toString()Returns a string representation of this object. | 
| ListGuardrailsResult | withGuardrails(Collection<GuardrailSummary> guardrails)
 A list of objects, each of which contains details about a guardrail. | 
| ListGuardrailsResult | withGuardrails(GuardrailSummary... guardrails)
 A list of objects, each of which contains details about a guardrail. | 
| ListGuardrailsResult | withNextToken(String nextToken)
 If there are more results than were returned in the response, the response returns a  nextTokenthat
 you can send in anotherListGuardrailsrequest to see the next batch of results. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<GuardrailSummary> getGuardrails()
A list of objects, each of which contains details about a guardrail.
public void setGuardrails(Collection<GuardrailSummary> guardrails)
A list of objects, each of which contains details about a guardrail.
guardrails - A list of objects, each of which contains details about a guardrail.public ListGuardrailsResult withGuardrails(GuardrailSummary... guardrails)
A list of objects, each of which contains details about a guardrail.
 NOTE: This method appends the values to the existing list (if any). Use
 setGuardrails(java.util.Collection) or withGuardrails(java.util.Collection) if you want to
 override the existing values.
 
guardrails - A list of objects, each of which contains details about a guardrail.public ListGuardrailsResult withGuardrails(Collection<GuardrailSummary> guardrails)
A list of objects, each of which contains details about a guardrail.
guardrails - A list of objects, each of which contains details about a guardrail.public void setNextToken(String nextToken)
 If there are more results than were returned in the response, the response returns a nextToken that
 you can send in another ListGuardrails request to see the next batch of results.
 
nextToken - If there are more results than were returned in the response, the response returns a
        nextToken that you can send in another ListGuardrails request to see the next
        batch of results.public String getNextToken()
 If there are more results than were returned in the response, the response returns a nextToken that
 you can send in another ListGuardrails request to see the next batch of results.
 
nextToken that you can send in another ListGuardrails request to see the next
         batch of results.public ListGuardrailsResult withNextToken(String nextToken)
 If there are more results than were returned in the response, the response returns a nextToken that
 you can send in another ListGuardrails request to see the next batch of results.
 
nextToken - If there are more results than were returned in the response, the response returns a
        nextToken that you can send in another ListGuardrails request to see the next
        batch of results.public String toString()
toString in class ObjectObject.toString()public ListGuardrailsResult clone()