@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DiscoverInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DiscoverInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
DiscoverInstancesRequest |
addQueryParametersEntry(String key,
String value) |
DiscoverInstancesRequest |
clearQueryParametersEntries()
Removes all the entries added into QueryParameters.
|
DiscoverInstancesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getHealthStatus()
The health status of the instances that you want to discover.
|
Integer |
getMaxResults()
The maximum number of instances that you want Cloud Map to return in the response to a
DiscoverInstances request. |
String |
getNamespaceName()
The name of the namespace that you specified when you registered the instance.
|
Map<String,String> |
getQueryParameters()
A string map that contains attributes with values that you can use to filter instances by any custom attribute
that you specified when you registered the instance.
|
String |
getServiceName()
The name of the service that you specified when you registered the instance.
|
int |
hashCode() |
void |
setHealthStatus(String healthStatus)
The health status of the instances that you want to discover.
|
void |
setMaxResults(Integer maxResults)
The maximum number of instances that you want Cloud Map to return in the response to a
DiscoverInstances request. |
void |
setNamespaceName(String namespaceName)
The name of the namespace that you specified when you registered the instance.
|
void |
setQueryParameters(Map<String,String> queryParameters)
A string map that contains attributes with values that you can use to filter instances by any custom attribute
that you specified when you registered the instance.
|
void |
setServiceName(String serviceName)
The name of the service that you specified when you registered the instance.
|
String |
toString()
Returns a string representation of this object.
|
DiscoverInstancesRequest |
withHealthStatus(HealthStatusFilter healthStatus)
The health status of the instances that you want to discover.
|
DiscoverInstancesRequest |
withHealthStatus(String healthStatus)
The health status of the instances that you want to discover.
|
DiscoverInstancesRequest |
withMaxResults(Integer maxResults)
The maximum number of instances that you want Cloud Map to return in the response to a
DiscoverInstances request. |
DiscoverInstancesRequest |
withNamespaceName(String namespaceName)
The name of the namespace that you specified when you registered the instance.
|
DiscoverInstancesRequest |
withQueryParameters(Map<String,String> queryParameters)
A string map that contains attributes with values that you can use to filter instances by any custom attribute
that you specified when you registered the instance.
|
DiscoverInstancesRequest |
withServiceName(String serviceName)
The name of the service that you specified when you registered the instance.
|
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 setNamespaceName(String namespaceName)
The name of the namespace that you specified when you registered the instance.
namespaceName
- The name of the namespace that you specified when you registered the instance.public String getNamespaceName()
The name of the namespace that you specified when you registered the instance.
public DiscoverInstancesRequest withNamespaceName(String namespaceName)
The name of the namespace that you specified when you registered the instance.
namespaceName
- The name of the namespace that you specified when you registered the instance.public void setServiceName(String serviceName)
The name of the service that you specified when you registered the instance.
serviceName
- The name of the service that you specified when you registered the instance.public String getServiceName()
The name of the service that you specified when you registered the instance.
public DiscoverInstancesRequest withServiceName(String serviceName)
The name of the service that you specified when you registered the instance.
serviceName
- The name of the service that you specified when you registered the instance.public void setMaxResults(Integer maxResults)
The maximum number of instances that you want Cloud Map to return in the response to a
DiscoverInstances
request. If you don't specify a value for MaxResults
, Cloud Map
returns up to 100 instances.
maxResults
- The maximum number of instances that you want Cloud Map to return in the response to a
DiscoverInstances
request. If you don't specify a value for MaxResults
, Cloud
Map returns up to 100 instances.public Integer getMaxResults()
The maximum number of instances that you want Cloud Map to return in the response to a
DiscoverInstances
request. If you don't specify a value for MaxResults
, Cloud Map
returns up to 100 instances.
DiscoverInstances
request. If you don't specify a value for MaxResults
, Cloud
Map returns up to 100 instances.public DiscoverInstancesRequest withMaxResults(Integer maxResults)
The maximum number of instances that you want Cloud Map to return in the response to a
DiscoverInstances
request. If you don't specify a value for MaxResults
, Cloud Map
returns up to 100 instances.
maxResults
- The maximum number of instances that you want Cloud Map to return in the response to a
DiscoverInstances
request. If you don't specify a value for MaxResults
, Cloud
Map returns up to 100 instances.public Map<String,String> getQueryParameters()
A string map that contains attributes with values that you can use to filter instances by any custom attribute that you specified when you registered the instance. Only instances that match all the specified key/value pairs will be returned.
public void setQueryParameters(Map<String,String> queryParameters)
A string map that contains attributes with values that you can use to filter instances by any custom attribute that you specified when you registered the instance. Only instances that match all the specified key/value pairs will be returned.
queryParameters
- A string map that contains attributes with values that you can use to filter instances by any custom
attribute that you specified when you registered the instance. Only instances that match all the specified
key/value pairs will be returned.public DiscoverInstancesRequest withQueryParameters(Map<String,String> queryParameters)
A string map that contains attributes with values that you can use to filter instances by any custom attribute that you specified when you registered the instance. Only instances that match all the specified key/value pairs will be returned.
queryParameters
- A string map that contains attributes with values that you can use to filter instances by any custom
attribute that you specified when you registered the instance. Only instances that match all the specified
key/value pairs will be returned.public DiscoverInstancesRequest addQueryParametersEntry(String key, String value)
public DiscoverInstancesRequest clearQueryParametersEntries()
public void setHealthStatus(String healthStatus)
The health status of the instances that you want to discover.
healthStatus
- The health status of the instances that you want to discover.HealthStatusFilter
public String getHealthStatus()
The health status of the instances that you want to discover.
HealthStatusFilter
public DiscoverInstancesRequest withHealthStatus(String healthStatus)
The health status of the instances that you want to discover.
healthStatus
- The health status of the instances that you want to discover.HealthStatusFilter
public DiscoverInstancesRequest withHealthStatus(HealthStatusFilter healthStatus)
The health status of the instances that you want to discover.
healthStatus
- The health status of the instances that you want to discover.HealthStatusFilter
public String toString()
toString
in class Object
Object.toString()
public DiscoverInstancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.