@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCloudFormationStackRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateCloudFormationStackRequest() |
Modifier and Type | Method and Description |
---|---|
CreateCloudFormationStackRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<InstanceEntry> |
getInstances()
An array of parameters that will be used to create the new Amazon EC2 instance.
|
int |
hashCode() |
void |
setInstances(Collection<InstanceEntry> instances)
An array of parameters that will be used to create the new Amazon EC2 instance.
|
String |
toString()
Returns a string representation of this object.
|
CreateCloudFormationStackRequest |
withInstances(Collection<InstanceEntry> instances)
An array of parameters that will be used to create the new Amazon EC2 instance.
|
CreateCloudFormationStackRequest |
withInstances(InstanceEntry... instances)
An array of parameters that will be used to create the new Amazon EC2 instance.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<InstanceEntry> getInstances()
An array of parameters that will be used to create the new Amazon EC2 instance. You can only pass one instance entry at a time in this array. You will get an invalid parameter error if you pass more than one instance entry in this array.
public void setInstances(Collection<InstanceEntry> instances)
An array of parameters that will be used to create the new Amazon EC2 instance. You can only pass one instance entry at a time in this array. You will get an invalid parameter error if you pass more than one instance entry in this array.
instances
- An array of parameters that will be used to create the new Amazon EC2 instance. You can only pass one
instance entry at a time in this array. You will get an invalid parameter error if you pass more than one
instance entry in this array.public CreateCloudFormationStackRequest withInstances(InstanceEntry... instances)
An array of parameters that will be used to create the new Amazon EC2 instance. You can only pass one instance entry at a time in this array. You will get an invalid parameter error if you pass more than one instance entry in this array.
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
- An array of parameters that will be used to create the new Amazon EC2 instance. You can only pass one
instance entry at a time in this array. You will get an invalid parameter error if you pass more than one
instance entry in this array.public CreateCloudFormationStackRequest withInstances(Collection<InstanceEntry> instances)
An array of parameters that will be used to create the new Amazon EC2 instance. You can only pass one instance entry at a time in this array. You will get an invalid parameter error if you pass more than one instance entry in this array.
instances
- An array of parameters that will be used to create the new Amazon EC2 instance. You can only pass one
instance entry at a time in this array. You will get an invalid parameter error if you pass more than one
instance entry in this array.public String toString()
toString
in class Object
Object.toString()
public CreateCloudFormationStackRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()