@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListFieldsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListFieldsResult() |
Modifier and Type | Method and Description |
---|---|
ListFieldsResult |
clone() |
boolean |
equals(Object obj) |
List<FieldSummary> |
getFields()
List of detailed field information.
|
String |
getNextToken()
The token for the next set of results.
|
int |
hashCode() |
void |
setFields(Collection<FieldSummary> fields)
List of detailed field information.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListFieldsResult |
withFields(Collection<FieldSummary> fields)
List of detailed field information.
|
ListFieldsResult |
withFields(FieldSummary... fields)
List of detailed field information.
|
ListFieldsResult |
withNextToken(String nextToken)
The token for the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<FieldSummary> getFields()
List of detailed field information.
public void setFields(Collection<FieldSummary> fields)
List of detailed field information.
fields
- List of detailed field information.public ListFieldsResult withFields(FieldSummary... fields)
List of detailed field information.
NOTE: This method appends the values to the existing list (if any). Use
setFields(java.util.Collection)
or withFields(java.util.Collection)
if you want to override the
existing values.
fields
- List of detailed field information.public ListFieldsResult withFields(Collection<FieldSummary> fields)
List of detailed field information.
fields
- List of detailed field information.public 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 ListFieldsResult 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 String toString()
toString
in class Object
Object.toString()
public ListFieldsResult clone()