@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 |
addOptionalParametersEntry(String key,
String value)
Add a single OptionalParameters entry
|
DiscoverInstancesRequest |
addQueryParametersEntry(String key,
String value)
Add a single QueryParameters entry
|
DiscoverInstancesRequest |
clearOptionalParametersEntries()
Removes all the entries added into OptionalParameters.
|
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 AWS 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> |
getOptionalParameters()
Opportunistic filters to scope the results based on custom attributes.
|
Map<String,String> |
getQueryParameters()
Filters to scope the results based on custom attributes for 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 AWS 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 |
setOptionalParameters(Map<String,String> optionalParameters)
Opportunistic filters to scope the results based on custom attributes.
|
void |
setQueryParameters(Map<String,String> queryParameters)
Filters to scope the results based on custom attributes for 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 AWS 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 |
withOptionalParameters(Map<String,String> optionalParameters)
Opportunistic filters to scope the results based on custom attributes.
|
DiscoverInstancesRequest |
withQueryParameters(Map<String,String> queryParameters)
Filters to scope the results based on custom attributes for 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, withSdkRequestTimeoutpublic 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 AWS Cloud Map to return in the response to a
DiscoverInstances request. If you don't specify a value for MaxResults, AWS Cloud Map
returns up to 100 instances.
maxResults - The maximum number of instances that you want AWS Cloud Map to return in the response to a
DiscoverInstances request. If you don't specify a value for MaxResults, AWS
Cloud Map returns up to 100 instances.public Integer getMaxResults()
The maximum number of instances that you want AWS Cloud Map to return in the response to a
DiscoverInstances request. If you don't specify a value for MaxResults, AWS Cloud Map
returns up to 100 instances.
DiscoverInstances request. If you don't specify a value for MaxResults, AWS
Cloud Map returns up to 100 instances.public DiscoverInstancesRequest withMaxResults(Integer maxResults)
The maximum number of instances that you want AWS Cloud Map to return in the response to a
DiscoverInstances request. If you don't specify a value for MaxResults, AWS Cloud Map
returns up to 100 instances.
maxResults - The maximum number of instances that you want AWS Cloud Map to return in the response to a
DiscoverInstances request. If you don't specify a value for MaxResults, AWS
Cloud Map returns up to 100 instances.public Map<String,String> getQueryParameters()
Filters to scope the results based on custom attributes for the instance. For example,
{version=v1, az=1a}. Only instances that match all the specified key-value pairs will be returned.
{version=v1, az=1a}. Only instances that match all the specified key-value pairs will be
returned.public void setQueryParameters(Map<String,String> queryParameters)
Filters to scope the results based on custom attributes for the instance. For example,
{version=v1, az=1a}. Only instances that match all the specified key-value pairs will be returned.
queryParameters - Filters to scope the results based on custom attributes for the instance. For example,
{version=v1, az=1a}. Only instances that match all the specified key-value pairs will be
returned.public DiscoverInstancesRequest withQueryParameters(Map<String,String> queryParameters)
Filters to scope the results based on custom attributes for the instance. For example,
{version=v1, az=1a}. Only instances that match all the specified key-value pairs will be returned.
queryParameters - Filters to scope the results based on custom attributes for the instance. For example,
{version=v1, az=1a}. Only instances that match all the specified key-value pairs will be
returned.public DiscoverInstancesRequest addQueryParametersEntry(String key, String value)
public DiscoverInstancesRequest clearQueryParametersEntries()
public Map<String,String> getOptionalParameters()
Opportunistic filters to scope the results based on custom attributes. If there are instances that match both the
filters specified in both the QueryParameters parameter and this parameter, they are returned.
Otherwise, these filters are ignored and only instances that match the filters specified in the
QueryParameters parameter are returned.
QueryParameters parameter and this parameter, they
are returned. Otherwise, these filters are ignored and only instances that match the filters specified in
the QueryParameters parameter are returned.public void setOptionalParameters(Map<String,String> optionalParameters)
Opportunistic filters to scope the results based on custom attributes. If there are instances that match both the
filters specified in both the QueryParameters parameter and this parameter, they are returned.
Otherwise, these filters are ignored and only instances that match the filters specified in the
QueryParameters parameter are returned.
optionalParameters - Opportunistic filters to scope the results based on custom attributes. If there are instances that match
both the filters specified in both the QueryParameters parameter and this parameter, they are
returned. Otherwise, these filters are ignored and only instances that match the filters specified in the
QueryParameters parameter are returned.public DiscoverInstancesRequest withOptionalParameters(Map<String,String> optionalParameters)
Opportunistic filters to scope the results based on custom attributes. If there are instances that match both the
filters specified in both the QueryParameters parameter and this parameter, they are returned.
Otherwise, these filters are ignored and only instances that match the filters specified in the
QueryParameters parameter are returned.
optionalParameters - Opportunistic filters to scope the results based on custom attributes. If there are instances that match
both the filters specified in both the QueryParameters parameter and this parameter, they are
returned. Otherwise, these filters are ignored and only instances that match the filters specified in the
QueryParameters parameter are returned.public DiscoverInstancesRequest addOptionalParametersEntry(String key, String value)
public DiscoverInstancesRequest clearOptionalParametersEntries()
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.HealthStatusFilterpublic String getHealthStatus()
The health status of the instances that you want to discover.
HealthStatusFilterpublic 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.HealthStatusFilterpublic 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.HealthStatusFilterpublic String toString()
toString in class ObjectObject.toString()public DiscoverInstancesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()