@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeWarmPoolResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeWarmPoolResult() |
Modifier and Type | Method and Description |
---|---|
DescribeWarmPoolResult |
clone() |
boolean |
equals(Object obj) |
List<Instance> |
getInstances()
The instances that are currently in the warm pool.
|
String |
getNextToken()
The token for the next set of items to return.
|
WarmPoolConfiguration |
getWarmPoolConfiguration()
The warm pool configuration details.
|
int |
hashCode() |
void |
setInstances(Collection<Instance> instances)
The instances that are currently in the warm pool.
|
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
void |
setWarmPoolConfiguration(WarmPoolConfiguration warmPoolConfiguration)
The warm pool configuration details.
|
String |
toString()
Returns a string representation of this object.
|
DescribeWarmPoolResult |
withInstances(Collection<Instance> instances)
The instances that are currently in the warm pool.
|
DescribeWarmPoolResult |
withInstances(Instance... instances)
The instances that are currently in the warm pool.
|
DescribeWarmPoolResult |
withNextToken(String nextToken)
The token for the next set of items to return.
|
DescribeWarmPoolResult |
withWarmPoolConfiguration(WarmPoolConfiguration warmPoolConfiguration)
The warm pool configuration details.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setWarmPoolConfiguration(WarmPoolConfiguration warmPoolConfiguration)
The warm pool configuration details.
warmPoolConfiguration
- The warm pool configuration details.public WarmPoolConfiguration getWarmPoolConfiguration()
The warm pool configuration details.
public DescribeWarmPoolResult withWarmPoolConfiguration(WarmPoolConfiguration warmPoolConfiguration)
The warm pool configuration details.
warmPoolConfiguration
- The warm pool configuration details.public List<Instance> getInstances()
The instances that are currently in the warm pool.
public void setInstances(Collection<Instance> instances)
The instances that are currently in the warm pool.
instances
- The instances that are currently in the warm pool.public DescribeWarmPoolResult withInstances(Instance... instances)
The instances that are currently in the warm pool.
NOTE: This method appends the values to the existing list (if any). Use
setInstances(java.util.Collection)
or withInstances(java.util.Collection)
if you want to
override the existing values.
instances
- The instances that are currently in the warm pool.public DescribeWarmPoolResult withInstances(Collection<Instance> instances)
The instances that are currently in the warm pool.
instances
- The instances that are currently in the warm pool.public void setNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)public String getNextToken()
The token for the next set of items to return. (You received this token from a previous call.)
public DescribeWarmPoolResult withNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)public String toString()
toString
in class Object
Object.toString()
public DescribeWarmPoolResult clone()