@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListServerNeighborsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListServerNeighborsRequest() |
Modifier and Type | Method and Description |
---|---|
ListServerNeighborsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getConfigurationId()
Configuration ID of the server for which neighbors are being listed.
|
Integer |
getMaxResults()
Maximum number of results to return in a single page of output.
|
List<String> |
getNeighborConfigurationIds()
List of configuration IDs to test for one-hop-away.
|
String |
getNextToken()
Token to retrieve the next set of results.
|
Boolean |
getPortInformationNeeded()
Flag to indicate if port and protocol information is needed as part of the response.
|
int |
hashCode() |
Boolean |
isPortInformationNeeded()
Flag to indicate if port and protocol information is needed as part of the response.
|
void |
setConfigurationId(String configurationId)
Configuration ID of the server for which neighbors are being listed.
|
void |
setMaxResults(Integer maxResults)
Maximum number of results to return in a single page of output.
|
void |
setNeighborConfigurationIds(Collection<String> neighborConfigurationIds)
List of configuration IDs to test for one-hop-away.
|
void |
setNextToken(String nextToken)
Token to retrieve the next set of results.
|
void |
setPortInformationNeeded(Boolean portInformationNeeded)
Flag to indicate if port and protocol information is needed as part of the response.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListServerNeighborsRequest |
withConfigurationId(String configurationId)
Configuration ID of the server for which neighbors are being listed.
|
ListServerNeighborsRequest |
withMaxResults(Integer maxResults)
Maximum number of results to return in a single page of output.
|
ListServerNeighborsRequest |
withNeighborConfigurationIds(Collection<String> neighborConfigurationIds)
List of configuration IDs to test for one-hop-away.
|
ListServerNeighborsRequest |
withNeighborConfigurationIds(String... neighborConfigurationIds)
List of configuration IDs to test for one-hop-away.
|
ListServerNeighborsRequest |
withNextToken(String nextToken)
Token to retrieve the next set of results.
|
ListServerNeighborsRequest |
withPortInformationNeeded(Boolean portInformationNeeded)
Flag to indicate if port and protocol information is needed as part of the response.
|
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 setConfigurationId(String configurationId)
Configuration ID of the server for which neighbors are being listed.
configurationId
- Configuration ID of the server for which neighbors are being listed.public String getConfigurationId()
Configuration ID of the server for which neighbors are being listed.
public ListServerNeighborsRequest withConfigurationId(String configurationId)
Configuration ID of the server for which neighbors are being listed.
configurationId
- Configuration ID of the server for which neighbors are being listed.public void setPortInformationNeeded(Boolean portInformationNeeded)
Flag to indicate if port and protocol information is needed as part of the response.
portInformationNeeded
- Flag to indicate if port and protocol information is needed as part of the response.public Boolean getPortInformationNeeded()
Flag to indicate if port and protocol information is needed as part of the response.
public ListServerNeighborsRequest withPortInformationNeeded(Boolean portInformationNeeded)
Flag to indicate if port and protocol information is needed as part of the response.
portInformationNeeded
- Flag to indicate if port and protocol information is needed as part of the response.public Boolean isPortInformationNeeded()
Flag to indicate if port and protocol information is needed as part of the response.
public List<String> getNeighborConfigurationIds()
List of configuration IDs to test for one-hop-away.
public void setNeighborConfigurationIds(Collection<String> neighborConfigurationIds)
List of configuration IDs to test for one-hop-away.
neighborConfigurationIds
- List of configuration IDs to test for one-hop-away.public ListServerNeighborsRequest withNeighborConfigurationIds(String... neighborConfigurationIds)
List of configuration IDs to test for one-hop-away.
NOTE: This method appends the values to the existing list (if any). Use
setNeighborConfigurationIds(java.util.Collection)
or
withNeighborConfigurationIds(java.util.Collection)
if you want to override the existing values.
neighborConfigurationIds
- List of configuration IDs to test for one-hop-away.public ListServerNeighborsRequest withNeighborConfigurationIds(Collection<String> neighborConfigurationIds)
List of configuration IDs to test for one-hop-away.
neighborConfigurationIds
- List of configuration IDs to test for one-hop-away.public void setMaxResults(Integer maxResults)
Maximum number of results to return in a single page of output.
maxResults
- Maximum number of results to return in a single page of output.public Integer getMaxResults()
Maximum number of results to return in a single page of output.
public ListServerNeighborsRequest withMaxResults(Integer maxResults)
Maximum number of results to return in a single page of output.
maxResults
- Maximum number of results to return in a single page of output.public void setNextToken(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.
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.public String getNextToken()
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 withNextToken(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.
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.public String toString()
toString
in class Object
Object.toString()
public ListServerNeighborsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.