public class ListOnPremisesInstancesResult extends Object 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 the amount of information that is returned is significantly large, an
identifier will also be returned, which can be used in a subsequent list
on-premises instances call to return the next set of on-premises
instances in the list.
|
int |
hashCode() |
void |
setInstanceNames(Collection<String> instanceNames)
The list of matching on-premises instance names.
|
void |
setNextToken(String nextToken)
If the amount of information that is returned is significantly large, an
identifier will also be returned, which can be used in a subsequent list
on-premises instances call to return the next set of on-premises
instances in the list.
|
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 the amount of information that is returned is significantly large, an
identifier will also be returned, which can be used in a subsequent list
on-premises instances call to return the next set of on-premises
instances in the list.
|
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.
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 the amount of information that is returned is significantly large, an identifier will also be returned, which 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 the amount of information that is returned is significantly
large, an identifier will also be returned, which 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 the amount of information that is returned is significantly large, an identifier will also be returned, which 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 the amount of information that is returned is significantly large, an identifier will also be returned, which 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 the amount of information that is returned is significantly
large, an identifier will also be returned, which 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 © 2015. All rights reserved.