@Generated(value="software.amazon.awssdk:codegen") public final class ListServerNeighborsRequest extends ApplicationDiscoveryRequest implements ToCopyableBuilder<ListServerNeighborsRequest.Builder,ListServerNeighborsRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
ListServerNeighborsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ListServerNeighborsRequest.Builder |
builder() |
String |
configurationId()
Configuration ID of the server for which neighbors are being listed.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Integer |
maxResults()
Maximum number of results to return in a single page of output.
|
List<String> |
neighborConfigurationIds()
List of configuration IDs to test for one-hop-away.
|
String |
nextToken()
Token to retrieve the next set of results.
|
Boolean |
portInformationNeeded()
Flag to indicate if port and protocol information is needed as part of the response.
|
static Class<? extends ListServerNeighborsRequest.Builder> |
serializableBuilderClass() |
ListServerNeighborsRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String configurationId()
Configuration ID of the server for which neighbors are being listed.
public Boolean portInformationNeeded()
Flag to indicate if port and protocol information is needed as part of the response.
public List<String> neighborConfigurationIds()
List of configuration IDs to test for one-hop-away.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Integer maxResults()
Maximum number of results to return in a single page of output.
public String nextToken()
Token to retrieve the next set of results. For example, if you previously specified 100 IDs for
ListServerNeighborsRequest$neighborConfigurationIds
but set
ListServerNeighborsRequest$maxResults
to 10, you received a set of 10 results along with a token.
Use that token in this query to get the next set of 10.
ListServerNeighborsRequest$neighborConfigurationIds
but set
ListServerNeighborsRequest$maxResults
to 10, you received a set of 10 results along with a
token. Use that token in this query to get the next set of 10.public ListServerNeighborsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListServerNeighborsRequest.Builder,ListServerNeighborsRequest>
toBuilder
in class ApplicationDiscoveryRequest
public static ListServerNeighborsRequest.Builder builder()
public static Class<? extends ListServerNeighborsRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.