Class DescribeIndexFieldsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.cloudsearchv2.model.DescribeIndexFieldsRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class DescribeIndexFieldsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Container for the parameters to the
DescribeIndexFieldsoperation. Specifies the name of the domain you want to describe. To restrict the response to particular index fields, specify the names of the index fields you want to describe. To show the active configuration and exclude any pending changes, set theDeployedoption totrue.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeIndexFieldsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeIndexFieldsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)BooleangetDeployed()Whether to display the deployed configuration (true) or include any pending changes (false).StringgetDomainName()The name of the domain you want to describe.List<String>getFieldNames()A list of the index fields you want to describe.inthashCode()BooleanisDeployed()Whether to display the deployed configuration (true) or include any pending changes (false).voidsetDeployed(Boolean deployed)Whether to display the deployed configuration (true) or include any pending changes (false).voidsetDomainName(String domainName)The name of the domain you want to describe.voidsetFieldNames(Collection<String> fieldNames)A list of the index fields you want to describe.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeIndexFieldsRequestwithDeployed(Boolean deployed)Whether to display the deployed configuration (true) or include any pending changes (false).DescribeIndexFieldsRequestwithDomainName(String domainName)The name of the domain you want to describe.DescribeIndexFieldsRequestwithFieldNames(String... fieldNames)A list of the index fields you want to describe.DescribeIndexFieldsRequestwithFieldNames(Collection<String> fieldNames)A list of the index fields you want to describe.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setDomainName
public void setDomainName(String domainName)
The name of the domain you want to describe.
- Parameters:
domainName- The name of the domain you want to describe.
-
getDomainName
public String getDomainName()
The name of the domain you want to describe.
- Returns:
- The name of the domain you want to describe.
-
withDomainName
public DescribeIndexFieldsRequest withDomainName(String domainName)
The name of the domain you want to describe.
- Parameters:
domainName- The name of the domain you want to describe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getFieldNames
public List<String> getFieldNames()
A list of the index fields you want to describe. If not specified, information is returned for all configured index fields.
- Returns:
- A list of the index fields you want to describe. If not specified, information is returned for all configured index fields.
-
setFieldNames
public void setFieldNames(Collection<String> fieldNames)
A list of the index fields you want to describe. If not specified, information is returned for all configured index fields.
- Parameters:
fieldNames- A list of the index fields you want to describe. If not specified, information is returned for all configured index fields.
-
withFieldNames
public DescribeIndexFieldsRequest withFieldNames(String... fieldNames)
A list of the index fields you want to describe. If not specified, information is returned for all configured index fields.
NOTE: This method appends the values to the existing list (if any). Use
setFieldNames(java.util.Collection)orwithFieldNames(java.util.Collection)if you want to override the existing values.- Parameters:
fieldNames- A list of the index fields you want to describe. If not specified, information is returned for all configured index fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withFieldNames
public DescribeIndexFieldsRequest withFieldNames(Collection<String> fieldNames)
A list of the index fields you want to describe. If not specified, information is returned for all configured index fields.
- Parameters:
fieldNames- A list of the index fields you want to describe. If not specified, information is returned for all configured index fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeployed
public void setDeployed(Boolean deployed)
Whether to display the deployed configuration (
true) or include any pending changes (false). Defaults tofalse.- Parameters:
deployed- Whether to display the deployed configuration (true) or include any pending changes (false). Defaults tofalse.
-
getDeployed
public Boolean getDeployed()
Whether to display the deployed configuration (
true) or include any pending changes (false). Defaults tofalse.- Returns:
- Whether to display the deployed configuration (
true) or include any pending changes (false). Defaults tofalse.
-
withDeployed
public DescribeIndexFieldsRequest withDeployed(Boolean deployed)
Whether to display the deployed configuration (
true) or include any pending changes (false). Defaults tofalse.- Parameters:
deployed- Whether to display the deployed configuration (true) or include any pending changes (false). Defaults tofalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isDeployed
public Boolean isDeployed()
Whether to display the deployed configuration (
true) or include any pending changes (false). Defaults tofalse.- Returns:
- Whether to display the deployed configuration (
true) or include any pending changes (false). Defaults tofalse.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeIndexFieldsRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-