@Generated(value="software.amazon.awssdk:codegen") public final class DiscoverInstancesRequest extends ServiceDiscoveryRequest implements ToCopyableBuilder<DiscoverInstancesRequest.Builder,DiscoverInstancesRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DiscoverInstancesRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DiscoverInstancesRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasOptionalParameters()
Returns true if the OptionalParameters property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasQueryParameters()
Returns true if the QueryParameters property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
HealthStatusFilter |
healthStatus()
The health status of the instances that you want to discover.
|
String |
healthStatusAsString()
The health status of the instances that you want to discover.
|
Integer |
maxResults()
The maximum number of instances that you want AWS Cloud Map to return in the response to a
DiscoverInstances request. |
String |
namespaceName()
The
HttpName name of the namespace, found in the HttpProperties member of the
Properties member of the namespace. |
Map<String,String> |
optionalParameters()
Opportunistic filters to scope the results based on custom attributes.
|
Map<String,String> |
queryParameters()
Filters to scope the results based on custom attributes for the instance.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DiscoverInstancesRequest.Builder> |
serializableBuilderClass() |
String |
serviceName()
The name of the service that you specified when you registered the instance.
|
DiscoverInstancesRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String namespaceName()
The HttpName name of the namespace, found in the HttpProperties member of the
Properties member of the namespace.
HttpName name of the namespace, found in the HttpProperties member of the
Properties member of the namespace.public final String serviceName()
The name of the service that you specified when you registered the instance.
public final 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.
DiscoverInstances request. If you don't specify a value for MaxResults, AWS
Cloud Map returns up to 100 instances.public final boolean hasQueryParameters()
public final 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 are returned.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasQueryParameters() to see if a value was sent in this field.
{version=v1, az=1a}. Only instances that match all the specified key-value pairs are
returned.public final boolean hasOptionalParameters()
public final 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasOptionalParameters() to see if a value was sent in this field.
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 final HealthStatusFilter healthStatus()
The health status of the instances that you want to discover.
If the service returns an enum value that is not available in the current SDK version, healthStatus will
return HealthStatusFilter.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
healthStatusAsString().
HealthStatusFilterpublic final String healthStatusAsString()
The health status of the instances that you want to discover.
If the service returns an enum value that is not available in the current SDK version, healthStatus will
return HealthStatusFilter.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
healthStatusAsString().
HealthStatusFilterpublic DiscoverInstancesRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DiscoverInstancesRequest.Builder,DiscoverInstancesRequest>toBuilder in class ServiceDiscoveryRequestpublic static DiscoverInstancesRequest.Builder builder()
public static Class<? extends DiscoverInstancesRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.