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