Class ListOnPremisesInstancesResult
- All Implemented Interfaces:
Serializable,Cloneable
Represents the output of list on-premises instances operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe list of matching on-premises instance names.If a large amount of information is returned, an identifier is also returned.inthashCode()voidsetInstanceNames(Collection<String> instanceNames) The list of matching on-premises instance names.voidsetNextToken(String nextToken) If a large amount of information is returned, an identifier is also returned.toString()Returns a string representation of this object; useful for testing and debugging.withInstanceNames(String... instanceNames) The list of matching on-premises instance names.withInstanceNames(Collection<String> instanceNames) The list of matching on-premises instance names.withNextToken(String nextToken) If a large amount of information is returned, an identifier is also returned.
-
Constructor Details
-
ListOnPremisesInstancesResult
public ListOnPremisesInstancesResult()
-
-
Method Details
-
getInstanceNames
The list of matching on-premises instance names.
- Returns:
- The list of matching on-premises instance names.
-
setInstanceNames
The list of matching on-premises instance names.
- Parameters:
instanceNames- The list of matching on-premises instance names.
-
withInstanceNames
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)orwithInstanceNames(java.util.Collection)if you want to override the existing values.- Parameters:
instanceNames- The list of matching on-premises instance names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withInstanceNames
The list of matching on-premises instance names.
- Parameters:
instanceNames- The list of matching on-premises instance names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withNextToken
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-