@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListServiceInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListServiceInstancesResult() |
Modifier and Type | Method and Description |
---|---|
ListServiceInstancesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token that indicates the location of the next service instance in the array of service instances, after the
current requested list of service instances.
|
List<ServiceInstanceSummary> |
getServiceInstances()
An array of service instances with summary data.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token that indicates the location of the next service instance in the array of service instances, after the
current requested list of service instances.
|
void |
setServiceInstances(Collection<ServiceInstanceSummary> serviceInstances)
An array of service instances with summary data.
|
String |
toString()
Returns a string representation of this object.
|
ListServiceInstancesResult |
withNextToken(String nextToken)
A token that indicates the location of the next service instance in the array of service instances, after the
current requested list of service instances.
|
ListServiceInstancesResult |
withServiceInstances(Collection<ServiceInstanceSummary> serviceInstances)
An array of service instances with summary data.
|
ListServiceInstancesResult |
withServiceInstances(ServiceInstanceSummary... serviceInstances)
An array of service instances with summary data.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
A token that indicates the location of the next service instance in the array of service instances, after the current requested list of service instances.
nextToken
- A token that indicates the location of the next service instance in the array of service instances, after
the current requested list of service instances.public String getNextToken()
A token that indicates the location of the next service instance in the array of service instances, after the current requested list of service instances.
public ListServiceInstancesResult withNextToken(String nextToken)
A token that indicates the location of the next service instance in the array of service instances, after the current requested list of service instances.
nextToken
- A token that indicates the location of the next service instance in the array of service instances, after
the current requested list of service instances.public List<ServiceInstanceSummary> getServiceInstances()
An array of service instances with summary data.
public void setServiceInstances(Collection<ServiceInstanceSummary> serviceInstances)
An array of service instances with summary data.
serviceInstances
- An array of service instances with summary data.public ListServiceInstancesResult withServiceInstances(ServiceInstanceSummary... serviceInstances)
An array of service instances with summary data.
NOTE: This method appends the values to the existing list (if any). Use
setServiceInstances(java.util.Collection)
or withServiceInstances(java.util.Collection)
if you
want to override the existing values.
serviceInstances
- An array of service instances with summary data.public ListServiceInstancesResult withServiceInstances(Collection<ServiceInstanceSummary> serviceInstances)
An array of service instances with summary data.
serviceInstances
- An array of service instances with summary data.public String toString()
toString
in class Object
Object.toString()
public ListServiceInstancesResult clone()