@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListApprovedOriginsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListApprovedOriginsResult() |
Modifier and Type | Method and Description |
---|---|
ListApprovedOriginsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If there are additional results, this is the token for the next set of results.
|
List<String> |
getOrigins()
The approved origins.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
void |
setOrigins(Collection<String> origins)
The approved origins.
|
String |
toString()
Returns a string representation of this object.
|
ListApprovedOriginsResult |
withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
ListApprovedOriginsResult |
withOrigins(Collection<String> origins)
The approved origins.
|
ListApprovedOriginsResult |
withOrigins(String... origins)
The approved origins.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setOrigins(Collection<String> origins)
The approved origins.
origins
- The approved origins.public ListApprovedOriginsResult withOrigins(String... origins)
The approved origins.
NOTE: This method appends the values to the existing list (if any). Use
setOrigins(java.util.Collection)
or withOrigins(java.util.Collection)
if you want to override
the existing values.
origins
- The approved origins.public ListApprovedOriginsResult withOrigins(Collection<String> origins)
The approved origins.
origins
- The approved origins.public void setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken
- If there are additional results, this is the token for the next set of results.public String getNextToken()
If there are additional results, this is the token for the next set of results.
public ListApprovedOriginsResult withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken
- If there are additional results, this is the token for the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListApprovedOriginsResult clone()