@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListOnPremisesInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the output of list on-premises instances operation.
Constructor and Description |
---|
ListOnPremisesInstancesResult() |
Modifier and Type | Method and Description |
---|---|
ListOnPremisesInstancesResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getInstanceNames()
The list of matching on-premises instance names.
|
String |
getNextToken()
If a large amount of information is returned, an identifier is also returned.
|
int |
hashCode() |
void |
setInstanceNames(Collection<String> instanceNames)
The list of matching on-premises instance names.
|
void |
setNextToken(String nextToken)
If a large amount of information is returned, an identifier is also returned.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListOnPremisesInstancesResult |
withInstanceNames(Collection<String> instanceNames)
The list of matching on-premises instance names.
|
ListOnPremisesInstancesResult |
withInstanceNames(String... instanceNames)
The list of matching on-premises instance names.
|
ListOnPremisesInstancesResult |
withNextToken(String nextToken)
If a large amount of information is returned, an identifier is also returned.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getInstanceNames()
The list of matching on-premises instance names.
public void setInstanceNames(Collection<String> instanceNames)
The list of matching on-premises instance names.
instanceNames
- The list of matching on-premises instance names.public ListOnPremisesInstancesResult withInstanceNames(String... instanceNames)
The list of matching on-premises instance names.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceNames(java.util.Collection)
or withInstanceNames(java.util.Collection)
if you want
to override the existing values.
instanceNames
- The list of matching on-premises instance names.public ListOnPremisesInstancesResult withInstanceNames(Collection<String> instanceNames)
The list of matching on-premises instance names.
instanceNames
- The list of matching on-premises instance names.public void setNextToken(String nextToken)
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list on-premises instances call to return the next set of on-premises instances in the list.
nextToken
- If a large amount of information is returned, an identifier is also returned. It can be used in a
subsequent list on-premises instances call to return the next set of on-premises instances in the list.public String getNextToken()
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list on-premises instances call to return the next set of on-premises instances in the list.
public ListOnPremisesInstancesResult withNextToken(String nextToken)
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list on-premises instances call to return the next set of on-premises instances in the list.
nextToken
- If a large amount of information is returned, an identifier is also returned. It can be used in a
subsequent list on-premises instances call to return the next set of on-premises instances in the list.public String toString()
toString
in class Object
Object.toString()
public ListOnPremisesInstancesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.