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