@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRequestValidatorsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
A collection of RequestValidator resources of a given RestApi.
In Swagger, the RequestValidators of an API is defined by the x-amazon-apigateway-request-validators extension.
Constructor and Description |
---|
GetRequestValidatorsResult() |
Modifier and Type | Method and Description |
---|---|
GetRequestValidatorsResult |
clone() |
boolean |
equals(Object obj) |
List<RequestValidator> |
getItems()
The current page of elements from this collection.
|
String |
getPosition() |
int |
hashCode() |
void |
setItems(Collection<RequestValidator> items)
The current page of elements from this collection.
|
void |
setPosition(String position) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetRequestValidatorsResult |
withItems(Collection<RequestValidator> items)
The current page of elements from this collection.
|
GetRequestValidatorsResult |
withItems(RequestValidator... items)
The current page of elements from this collection.
|
GetRequestValidatorsResult |
withPosition(String position) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPosition(String position)
position
- public String getPosition()
public GetRequestValidatorsResult withPosition(String position)
position
- public List<RequestValidator> getItems()
The current page of elements from this collection.
public void setItems(Collection<RequestValidator> items)
The current page of elements from this collection.
items
- The current page of elements from this collection.public GetRequestValidatorsResult withItems(RequestValidator... items)
The current page of elements from this collection.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- The current page of elements from this collection.public GetRequestValidatorsResult withItems(Collection<RequestValidator> items)
The current page of elements from this collection.
items
- The current page of elements from this collection.public String toString()
toString
in class Object
Object.toString()
public GetRequestValidatorsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.