@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListServerNeighborsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListServerNeighborsResult() |
Modifier and Type | Method and Description |
---|---|
ListServerNeighborsResult |
clone() |
boolean |
equals(Object obj) |
Long |
getKnownDependencyCount()
Count of distinct servers that are one hop away from the given server.
|
List<NeighborConnectionDetail> |
getNeighbors()
List of distinct servers that are one hop away from the given server.
|
String |
getNextToken()
Token to retrieve the next set of results.
|
int |
hashCode() |
void |
setKnownDependencyCount(Long knownDependencyCount)
Count of distinct servers that are one hop away from the given server.
|
void |
setNeighbors(Collection<NeighborConnectionDetail> neighbors)
List of distinct servers that are one hop away from the given server.
|
void |
setNextToken(String nextToken)
Token to retrieve the next set of results.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListServerNeighborsResult |
withKnownDependencyCount(Long knownDependencyCount)
Count of distinct servers that are one hop away from the given server.
|
ListServerNeighborsResult |
withNeighbors(Collection<NeighborConnectionDetail> neighbors)
List of distinct servers that are one hop away from the given server.
|
ListServerNeighborsResult |
withNeighbors(NeighborConnectionDetail... neighbors)
List of distinct servers that are one hop away from the given server.
|
ListServerNeighborsResult |
withNextToken(String nextToken)
Token to retrieve the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<NeighborConnectionDetail> getNeighbors()
List of distinct servers that are one hop away from the given server.
public void setNeighbors(Collection<NeighborConnectionDetail> neighbors)
List of distinct servers that are one hop away from the given server.
neighbors
- List of distinct servers that are one hop away from the given server.public ListServerNeighborsResult withNeighbors(NeighborConnectionDetail... neighbors)
List of distinct servers that are one hop away from the given server.
NOTE: This method appends the values to the existing list (if any). Use
setNeighbors(java.util.Collection)
or withNeighbors(java.util.Collection)
if you want to
override the existing values.
neighbors
- List of distinct servers that are one hop away from the given server.public ListServerNeighborsResult withNeighbors(Collection<NeighborConnectionDetail> neighbors)
List of distinct servers that are one hop away from the given server.
neighbors
- List of distinct servers that are one hop away from the given server.public void setNextToken(String nextToken)
Token to retrieve the next set of results. For example, if you specified 100 IDs for
ListServerNeighborsRequest$neighborConfigurationIds
but set
ListServerNeighborsRequest$maxResults
to 10, you received a set of 10 results along with this token.
Use this token in the next query to retrieve the next set of 10.
nextToken
- Token to retrieve the next set of results. For example, if you specified 100 IDs for
ListServerNeighborsRequest$neighborConfigurationIds
but set
ListServerNeighborsRequest$maxResults
to 10, you received a set of 10 results along with this
token. Use this token in the next query to retrieve the next set of 10.public String getNextToken()
Token to retrieve the next set of results. For example, if you specified 100 IDs for
ListServerNeighborsRequest$neighborConfigurationIds
but set
ListServerNeighborsRequest$maxResults
to 10, you received a set of 10 results along with this token.
Use this token in the next query to retrieve the next set of 10.
ListServerNeighborsRequest$neighborConfigurationIds
but set
ListServerNeighborsRequest$maxResults
to 10, you received a set of 10 results along with
this token. Use this token in the next query to retrieve the next set of 10.public ListServerNeighborsResult withNextToken(String nextToken)
Token to retrieve the next set of results. For example, if you specified 100 IDs for
ListServerNeighborsRequest$neighborConfigurationIds
but set
ListServerNeighborsRequest$maxResults
to 10, you received a set of 10 results along with this token.
Use this token in the next query to retrieve the next set of 10.
nextToken
- Token to retrieve the next set of results. For example, if you specified 100 IDs for
ListServerNeighborsRequest$neighborConfigurationIds
but set
ListServerNeighborsRequest$maxResults
to 10, you received a set of 10 results along with this
token. Use this token in the next query to retrieve the next set of 10.public void setKnownDependencyCount(Long knownDependencyCount)
Count of distinct servers that are one hop away from the given server.
knownDependencyCount
- Count of distinct servers that are one hop away from the given server.public Long getKnownDependencyCount()
Count of distinct servers that are one hop away from the given server.
public ListServerNeighborsResult withKnownDependencyCount(Long knownDependencyCount)
Count of distinct servers that are one hop away from the given server.
knownDependencyCount
- Count of distinct servers that are one hop away from the given server.public String toString()
toString
in class Object
Object.toString()
public ListServerNeighborsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.