@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetInstanceTypesFromInstanceRequirementsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetInstanceTypesFromInstanceRequirementsResult() |
| Modifier and Type | Method and Description |
|---|---|
GetInstanceTypesFromInstanceRequirementsResult |
clone() |
boolean |
equals(Object obj) |
List<InstanceTypeInfoFromInstanceRequirements> |
getInstanceTypes()
The instance types with the specified instance attributes.
|
String |
getNextToken()
The token for the next set of results.
|
int |
hashCode() |
void |
setInstanceTypes(Collection<InstanceTypeInfoFromInstanceRequirements> instanceTypes)
The instance types with the specified instance attributes.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
GetInstanceTypesFromInstanceRequirementsResult |
withInstanceTypes(Collection<InstanceTypeInfoFromInstanceRequirements> instanceTypes)
The instance types with the specified instance attributes.
|
GetInstanceTypesFromInstanceRequirementsResult |
withInstanceTypes(InstanceTypeInfoFromInstanceRequirements... instanceTypes)
The instance types with the specified instance attributes.
|
GetInstanceTypesFromInstanceRequirementsResult |
withNextToken(String nextToken)
The token for the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic GetInstanceTypesFromInstanceRequirementsResult()
public List<InstanceTypeInfoFromInstanceRequirements> getInstanceTypes()
The instance types with the specified instance attributes.
public void setInstanceTypes(Collection<InstanceTypeInfoFromInstanceRequirements> instanceTypes)
The instance types with the specified instance attributes.
instanceTypes - The instance types with the specified instance attributes.public GetInstanceTypesFromInstanceRequirementsResult withInstanceTypes(InstanceTypeInfoFromInstanceRequirements... instanceTypes)
The instance types with the specified instance attributes.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceTypes(java.util.Collection) or withInstanceTypes(java.util.Collection) if you want
to override the existing values.
instanceTypes - The instance types with the specified instance attributes.public GetInstanceTypesFromInstanceRequirementsResult withInstanceTypes(Collection<InstanceTypeInfoFromInstanceRequirements> instanceTypes)
The instance types with the specified instance attributes.
instanceTypes - The instance types with the specified instance attributes.public void setNextToken(String nextToken)
The token for the next set of results.
nextToken - The token for the next set of results.public String getNextToken()
The token for the next set of results.
public GetInstanceTypesFromInstanceRequirementsResult withNextToken(String nextToken)
The token for the next set of results.
nextToken - The token for the next set of results.public String toString()
toString in class ObjectObject.toString()public GetInstanceTypesFromInstanceRequirementsResult clone()
Copyright © 2021. All rights reserved.