@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeDomainsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Container for the parameters to the DescribeDomains operation.
NOOP| Constructor and Description |
|---|
DescribeDomainsRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeDomainsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getDomainNames()
Array of OpenSearch Service domain names that you want information about.
|
int |
hashCode() |
void |
setDomainNames(Collection<String> domainNames)
Array of OpenSearch Service domain names that you want information about.
|
String |
toString()
Returns a string representation of this object.
|
DescribeDomainsRequest |
withDomainNames(Collection<String> domainNames)
Array of OpenSearch Service domain names that you want information about.
|
DescribeDomainsRequest |
withDomainNames(String... domainNames)
Array of OpenSearch Service domain names that you want information about.
|
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, withSdkRequestTimeoutpublic List<String> getDomainNames()
Array of OpenSearch Service domain names that you want information about. You must specify at least one domain name.
public void setDomainNames(Collection<String> domainNames)
Array of OpenSearch Service domain names that you want information about. You must specify at least one domain name.
domainNames - Array of OpenSearch Service domain names that you want information about. You must specify at least one
domain name.public DescribeDomainsRequest withDomainNames(String... domainNames)
Array of OpenSearch Service domain names that you want information about. You must specify at least one domain name.
NOTE: This method appends the values to the existing list (if any). Use
setDomainNames(java.util.Collection) or withDomainNames(java.util.Collection) if you want to
override the existing values.
domainNames - Array of OpenSearch Service domain names that you want information about. You must specify at least one
domain name.public DescribeDomainsRequest withDomainNames(Collection<String> domainNames)
Array of OpenSearch Service domain names that you want information about. You must specify at least one domain name.
domainNames - Array of OpenSearch Service domain names that you want information about. You must specify at least one
domain name.public String toString()
toString in class ObjectObject.toString()public DescribeDomainsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()