public class ImportInstanceLaunchSpecification extends Object implements Serializable
Constructor and Description |
---|
ImportInstanceLaunchSpecification() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAdditionalInfo()
Returns the value of the AdditionalInfo property for this object.
|
String |
getArchitecture()
Returns the value of the Architecture property for this object.
|
List<String> |
getGroupNames()
Returns the value of the GroupNames property for this object.
|
String |
getInstanceInitiatedShutdownBehavior()
Returns the value of the InstanceInitiatedShutdownBehavior property
for this object.
|
String |
getInstanceType()
Returns the value of the InstanceType property for this object.
|
Boolean |
getMonitoring()
Returns the value of the Monitoring property for this object.
|
Placement |
getPlacement()
Describes where an Amazon EC2 instance is running within an Amazon EC2
region.
|
String |
getPrivateIpAddress()
Returns the value of the PrivateIpAddress property for this object.
|
String |
getSubnetId()
Returns the value of the SubnetId property for this object.
|
String |
getUserData()
Returns the value of the UserData property for this object.
|
int |
hashCode() |
Boolean |
isMonitoring()
Returns the value of the Monitoring property for this object.
|
void |
setAdditionalInfo(String additionalInfo)
Sets the value of the AdditionalInfo property for this object.
|
void |
setArchitecture(ArchitectureValues architecture)
Sets the value of the Architecture property for this object.
|
void |
setArchitecture(String architecture)
Sets the value of the Architecture property for this object.
|
void |
setGroupNames(Collection<String> groupNames)
Sets the value of the GroupNames property for this object.
|
void |
setInstanceInitiatedShutdownBehavior(ShutdownBehavior instanceInitiatedShutdownBehavior)
Sets the value of the InstanceInitiatedShutdownBehavior property for
this object.
|
void |
setInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior)
Sets the value of the InstanceInitiatedShutdownBehavior property for
this object.
|
void |
setInstanceType(InstanceType instanceType)
Sets the value of the InstanceType property for this object.
|
void |
setInstanceType(String instanceType)
Sets the value of the InstanceType property for this object.
|
void |
setMonitoring(Boolean monitoring)
Sets the value of the Monitoring property for this object.
|
void |
setPlacement(Placement placement)
Describes where an Amazon EC2 instance is running within an Amazon EC2
region.
|
void |
setPrivateIpAddress(String privateIpAddress)
Sets the value of the PrivateIpAddress property for this object.
|
void |
setSubnetId(String subnetId)
Sets the value of the SubnetId property for this object.
|
void |
setUserData(String userData)
Sets the value of the UserData property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ImportInstanceLaunchSpecification |
withAdditionalInfo(String additionalInfo)
Sets the value of the AdditionalInfo property for this object.
|
ImportInstanceLaunchSpecification |
withArchitecture(ArchitectureValues architecture)
Sets the value of the Architecture property for this object.
|
ImportInstanceLaunchSpecification |
withArchitecture(String architecture)
Sets the value of the Architecture property for this object.
|
ImportInstanceLaunchSpecification |
withGroupNames(Collection<String> groupNames)
Sets the value of the GroupNames property for this object.
|
ImportInstanceLaunchSpecification |
withGroupNames(String... groupNames)
Sets the value of the GroupNames property for this object.
|
ImportInstanceLaunchSpecification |
withInstanceInitiatedShutdownBehavior(ShutdownBehavior instanceInitiatedShutdownBehavior)
Sets the value of the InstanceInitiatedShutdownBehavior property for
this object.
|
ImportInstanceLaunchSpecification |
withInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior)
Sets the value of the InstanceInitiatedShutdownBehavior property for
this object.
|
ImportInstanceLaunchSpecification |
withInstanceType(InstanceType instanceType)
Sets the value of the InstanceType property for this object.
|
ImportInstanceLaunchSpecification |
withInstanceType(String instanceType)
Sets the value of the InstanceType property for this object.
|
ImportInstanceLaunchSpecification |
withMonitoring(Boolean monitoring)
Sets the value of the Monitoring property for this object.
|
ImportInstanceLaunchSpecification |
withPlacement(Placement placement)
Describes where an Amazon EC2 instance is running within an Amazon EC2
region.
|
ImportInstanceLaunchSpecification |
withPrivateIpAddress(String privateIpAddress)
Sets the value of the PrivateIpAddress property for this object.
|
ImportInstanceLaunchSpecification |
withSubnetId(String subnetId)
Sets the value of the SubnetId property for this object.
|
ImportInstanceLaunchSpecification |
withUserData(String userData)
Sets the value of the UserData property for this object.
|
public String getArchitecture()
Constraints:
Allowed Values: i386, x86_64
ArchitectureValues
public void setArchitecture(String architecture)
Constraints:
Allowed Values: i386, x86_64
architecture
- The new value for the Architecture property for this object.ArchitectureValues
public ImportInstanceLaunchSpecification withArchitecture(String architecture)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: i386, x86_64
architecture
- The new value for the Architecture property for this object.ArchitectureValues
public void setArchitecture(ArchitectureValues architecture)
Constraints:
Allowed Values: i386, x86_64
architecture
- The new value for the Architecture property for this object.ArchitectureValues
public ImportInstanceLaunchSpecification withArchitecture(ArchitectureValues architecture)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: i386, x86_64
architecture
- The new value for the Architecture property for this object.ArchitectureValues
public List<String> getGroupNames()
public void setGroupNames(Collection<String> groupNames)
groupNames
- The new value for the GroupNames property for this object.public ImportInstanceLaunchSpecification withGroupNames(String... groupNames)
Returns a reference to this object so that method calls can be chained together.
groupNames
- The new value for the GroupNames property for this object.public ImportInstanceLaunchSpecification withGroupNames(Collection<String> groupNames)
Returns a reference to this object so that method calls can be chained together.
groupNames
- The new value for the GroupNames property for this object.public String getAdditionalInfo()
public void setAdditionalInfo(String additionalInfo)
additionalInfo
- The new value for the AdditionalInfo property for this object.public ImportInstanceLaunchSpecification withAdditionalInfo(String additionalInfo)
Returns a reference to this object so that method calls can be chained together.
additionalInfo
- The new value for the AdditionalInfo property for this object.public String getUserData()
public void setUserData(String userData)
userData
- The new value for the UserData property for this object.public ImportInstanceLaunchSpecification withUserData(String userData)
Returns a reference to this object so that method calls can be chained together.
userData
- The new value for the UserData property for this object.public String getInstanceType()
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.xlarge, m3.2xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge
InstanceType
public void setInstanceType(String instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.xlarge, m3.2xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge
instanceType
- The new value for the InstanceType property for this object.InstanceType
public ImportInstanceLaunchSpecification withInstanceType(String instanceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.xlarge, m3.2xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge
instanceType
- The new value for the InstanceType property for this object.InstanceType
public void setInstanceType(InstanceType instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.xlarge, m3.2xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge
instanceType
- The new value for the InstanceType property for this object.InstanceType
public ImportInstanceLaunchSpecification withInstanceType(InstanceType instanceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.xlarge, m3.2xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge
instanceType
- The new value for the InstanceType property for this object.InstanceType
public Placement getPlacement()
public void setPlacement(Placement placement)
placement
- Describes where an Amazon EC2 instance is running within an Amazon EC2
region.public ImportInstanceLaunchSpecification withPlacement(Placement placement)
Returns a reference to this object so that method calls can be chained together.
placement
- Describes where an Amazon EC2 instance is running within an Amazon EC2
region.public Boolean isMonitoring()
public void setMonitoring(Boolean monitoring)
monitoring
- The new value for the Monitoring property for this object.public ImportInstanceLaunchSpecification withMonitoring(Boolean monitoring)
Returns a reference to this object so that method calls can be chained together.
monitoring
- The new value for the Monitoring property for this object.public Boolean getMonitoring()
public String getSubnetId()
public void setSubnetId(String subnetId)
subnetId
- The new value for the SubnetId property for this object.public ImportInstanceLaunchSpecification withSubnetId(String subnetId)
Returns a reference to this object so that method calls can be chained together.
subnetId
- The new value for the SubnetId property for this object.public String getInstanceInitiatedShutdownBehavior()
Constraints:
Allowed Values: stop, terminate
ShutdownBehavior
public void setInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior)
Constraints:
Allowed Values: stop, terminate
instanceInitiatedShutdownBehavior
- The new value for the InstanceInitiatedShutdownBehavior property for
this object.ShutdownBehavior
public ImportInstanceLaunchSpecification withInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: stop, terminate
instanceInitiatedShutdownBehavior
- The new value for the InstanceInitiatedShutdownBehavior property for
this object.ShutdownBehavior
public void setInstanceInitiatedShutdownBehavior(ShutdownBehavior instanceInitiatedShutdownBehavior)
Constraints:
Allowed Values: stop, terminate
instanceInitiatedShutdownBehavior
- The new value for the InstanceInitiatedShutdownBehavior property for
this object.ShutdownBehavior
public ImportInstanceLaunchSpecification withInstanceInitiatedShutdownBehavior(ShutdownBehavior instanceInitiatedShutdownBehavior)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: stop, terminate
instanceInitiatedShutdownBehavior
- The new value for the InstanceInitiatedShutdownBehavior property for
this object.ShutdownBehavior
public String getPrivateIpAddress()
public void setPrivateIpAddress(String privateIpAddress)
privateIpAddress
- The new value for the PrivateIpAddress property for this object.public ImportInstanceLaunchSpecification withPrivateIpAddress(String privateIpAddress)
Returns a reference to this object so that method calls can be chained together.
privateIpAddress
- The new value for the PrivateIpAddress property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.