public class ListApprovedOriginsResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ListApprovedOriginsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
If there are additional results, this is the token for the next set of
results.
|
java.util.List<java.lang.String> |
getOrigins()
The approved origins.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
If there are additional results, this is the token for the next set of
results.
|
void |
setOrigins(java.util.Collection<java.lang.String> origins)
The approved origins.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListApprovedOriginsResult |
withNextToken(java.lang.String nextToken)
If there are additional results, this is the token for the next set of
results.
|
ListApprovedOriginsResult |
withOrigins(java.util.Collection<java.lang.String> origins)
The approved origins.
|
ListApprovedOriginsResult |
withOrigins(java.lang.String... origins)
The approved origins.
|
public java.util.List<java.lang.String> getOrigins()
The approved origins.
The approved origins.
public void setOrigins(java.util.Collection<java.lang.String> origins)
The approved origins.
origins
- The approved origins.
public ListApprovedOriginsResult withOrigins(java.lang.String... origins)
The approved origins.
Returns a reference to this object so that method calls can be chained together.
origins
- The approved origins.
public ListApprovedOriginsResult withOrigins(java.util.Collection<java.lang.String> origins)
The approved origins.
Returns a reference to this object so that method calls can be chained together.
origins
- The approved origins.
public java.lang.String getNextToken()
If there are additional results, this is the token for the next set of results.
If there are additional results, this is the token for the next set of results.
public void setNextToken(java.lang.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 ListApprovedOriginsResult withNextToken(java.lang.String nextToken)
If there are additional results, this is the token for the next set of results.
Returns a reference to this object so that method calls can be chained together.
nextToken
- If there are additional results, this is the token for the next set of results.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.