@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListOriginEndpointsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListOriginEndpointsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListOriginEndpointsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token that can be used to resume pagination from the end of the collection.
|
List<OriginEndpoint> |
getOriginEndpoints()
A list of OriginEndpoint records.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token that can be used to resume pagination from the end of the collection.
|
void |
setOriginEndpoints(Collection<OriginEndpoint> originEndpoints)
A list of OriginEndpoint records.
|
String |
toString()
Returns a string representation of this object.
|
ListOriginEndpointsResult |
withNextToken(String nextToken)
A token that can be used to resume pagination from the end of the collection.
|
ListOriginEndpointsResult |
withOriginEndpoints(Collection<OriginEndpoint> originEndpoints)
A list of OriginEndpoint records.
|
ListOriginEndpointsResult |
withOriginEndpoints(OriginEndpoint... originEndpoints)
A list of OriginEndpoint records.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setNextToken(String nextToken)
nextToken - A token that can be used to resume pagination from the end of the collection.public String getNextToken()
public ListOriginEndpointsResult withNextToken(String nextToken)
nextToken - A token that can be used to resume pagination from the end of the collection.public List<OriginEndpoint> getOriginEndpoints()
public void setOriginEndpoints(Collection<OriginEndpoint> originEndpoints)
originEndpoints - A list of OriginEndpoint records.public ListOriginEndpointsResult withOriginEndpoints(OriginEndpoint... originEndpoints)
NOTE: This method appends the values to the existing list (if any). Use
setOriginEndpoints(java.util.Collection) or withOriginEndpoints(java.util.Collection) if you
want to override the existing values.
originEndpoints - A list of OriginEndpoint records.public ListOriginEndpointsResult withOriginEndpoints(Collection<OriginEndpoint> originEndpoints)
originEndpoints - A list of OriginEndpoint records.public String toString()
toString in class ObjectObject.toString()public ListOriginEndpointsResult clone()