@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListFieldOptionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListFieldOptionsRequest() |
Modifier and Type | Method and Description |
---|---|
ListFieldOptionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDomainId()
The unique identifier of the Cases domain.
|
String |
getFieldId()
The unique identifier of a field.
|
Integer |
getMaxResults()
The maximum number of results to return per page.
|
String |
getNextToken()
The token for the next set of results.
|
List<String> |
getValues()
A list of
FieldOption values to filter on for ListFieldOptions . |
int |
hashCode() |
void |
setDomainId(String domainId)
The unique identifier of the Cases domain.
|
void |
setFieldId(String fieldId)
The unique identifier of a field.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return per page.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
void |
setValues(Collection<String> values)
A list of
FieldOption values to filter on for ListFieldOptions . |
String |
toString()
Returns a string representation of this object.
|
ListFieldOptionsRequest |
withDomainId(String domainId)
The unique identifier of the Cases domain.
|
ListFieldOptionsRequest |
withFieldId(String fieldId)
The unique identifier of a field.
|
ListFieldOptionsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return per page.
|
ListFieldOptionsRequest |
withNextToken(String nextToken)
The token for the next set of results.
|
ListFieldOptionsRequest |
withValues(Collection<String> values)
A list of
FieldOption values to filter on for ListFieldOptions . |
ListFieldOptionsRequest |
withValues(String... values)
A list of
FieldOption values to filter on for ListFieldOptions . |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDomainId(String domainId)
The unique identifier of the Cases domain.
domainId
- The unique identifier of the Cases domain.public String getDomainId()
The unique identifier of the Cases domain.
public ListFieldOptionsRequest withDomainId(String domainId)
The unique identifier of the Cases domain.
domainId
- The unique identifier of the Cases domain.public void setFieldId(String fieldId)
The unique identifier of a field.
fieldId
- The unique identifier of a field.public String getFieldId()
The unique identifier of a field.
public ListFieldOptionsRequest withFieldId(String fieldId)
The unique identifier of a field.
fieldId
- The unique identifier of a field.public void setMaxResults(Integer maxResults)
The maximum number of results to return per page.
maxResults
- The maximum number of results to return per page.public Integer getMaxResults()
The maximum number of results to return per page.
public ListFieldOptionsRequest withMaxResults(Integer maxResults)
The maximum number of results to return per page.
maxResults
- The maximum number of results to return per page.public void setNextToken(String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
nextToken
- The token for the next set of results. Use the value returned in the previous response in the next request
to retrieve the next set of results.public String getNextToken()
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
public ListFieldOptionsRequest withNextToken(String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
nextToken
- The token for the next set of results. Use the value returned in the previous response in the next request
to retrieve the next set of results.public List<String> getValues()
A list of FieldOption
values to filter on for ListFieldOptions
.
FieldOption
values to filter on for ListFieldOptions
.public void setValues(Collection<String> values)
A list of FieldOption
values to filter on for ListFieldOptions
.
values
- A list of FieldOption
values to filter on for ListFieldOptions
.public ListFieldOptionsRequest withValues(String... values)
A list of FieldOption
values to filter on for ListFieldOptions
.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- A list of FieldOption
values to filter on for ListFieldOptions
.public ListFieldOptionsRequest withValues(Collection<String> values)
A list of FieldOption
values to filter on for ListFieldOptions
.
values
- A list of FieldOption
values to filter on for ListFieldOptions
.public String toString()
toString
in class Object
Object.toString()
public ListFieldOptionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()