@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, withSdkRequestTimeout
public List<String> getDomainNames()
Array of OpenSearch Service domain names that you want information about. If you don't specify any domains, OpenSearch Service returns information about all domains owned by the account.
public void setDomainNames(Collection<String> domainNames)
Array of OpenSearch Service domain names that you want information about. If you don't specify any domains, OpenSearch Service returns information about all domains owned by the account.
domainNames
- Array of OpenSearch Service domain names that you want information about. If you don't specify any
domains, OpenSearch Service returns information about all domains owned by the account.public DescribeDomainsRequest withDomainNames(String... domainNames)
Array of OpenSearch Service domain names that you want information about. If you don't specify any domains, OpenSearch Service returns information about all domains owned by the account.
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. If you don't specify any
domains, OpenSearch Service returns information about all domains owned by the account.public DescribeDomainsRequest withDomainNames(Collection<String> domainNames)
Array of OpenSearch Service domain names that you want information about. If you don't specify any domains, OpenSearch Service returns information about all domains owned by the account.
domainNames
- Array of OpenSearch Service domain names that you want information about. If you don't specify any
domains, OpenSearch Service returns information about all domains owned by the account.public String toString()
toString
in class Object
Object.toString()
public DescribeDomainsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()