|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.ImportInstanceLaunchSpecification
public class ImportInstanceLaunchSpecification
Import Instance Launch Specification
Constructor Summary | |
---|---|
ImportInstanceLaunchSpecification()
|
Method Summary | |
---|---|
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<BlockDeviceMapping> |
getBlockDeviceMappings()
Returns the value of the BlockDeviceMappings property for this object. |
Boolean |
getDisableApiTermination()
Returns the value of the DisableApiTermination 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. |
List<String> |
getSecurityGroups()
Returns the value of the SecurityGroups 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 |
isDisableApiTermination()
Returns the value of the DisableApiTermination property for this object. |
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(String architecture)
Sets the value of the Architecture property for this object. |
void |
setBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
Sets the value of the BlockDeviceMappings property for this object. |
void |
setDisableApiTermination(Boolean disableApiTermination)
Sets the value of the DisableApiTermination 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 |
setSecurityGroups(Collection<String> securityGroups)
Sets the value of the SecurityGroups 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(String architecture)
Sets the value of the Architecture property for this object. |
ImportInstanceLaunchSpecification |
withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
Sets the value of the BlockDeviceMappings property for this object. |
ImportInstanceLaunchSpecification |
withBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
Sets the value of the BlockDeviceMappings property for this object. |
ImportInstanceLaunchSpecification |
withDisableApiTermination(Boolean disableApiTermination)
Sets the value of the DisableApiTermination 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 |
withSecurityGroups(Collection<String> securityGroups)
Sets the value of the SecurityGroups property for this object. |
ImportInstanceLaunchSpecification |
withSecurityGroups(String... securityGroups)
Sets the value of the SecurityGroups 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. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ImportInstanceLaunchSpecification()
Method Detail |
---|
public String getArchitecture()
public void setArchitecture(String architecture)
architecture
- The new value for the Architecture property for this object.public ImportInstanceLaunchSpecification withArchitecture(String architecture)
Returns a reference to this object so that method calls can be chained together.
architecture
- The new value for the Architecture property for this object.
public List<String> getSecurityGroups()
public void setSecurityGroups(Collection<String> securityGroups)
securityGroups
- The new value for the SecurityGroups property for this object.public ImportInstanceLaunchSpecification withSecurityGroups(String... securityGroups)
Returns a reference to this object so that method calls can be chained together.
securityGroups
- The new value for the SecurityGroups property for this object.
public ImportInstanceLaunchSpecification withSecurityGroups(Collection<String> securityGroups)
Returns a reference to this object so that method calls can be chained together.
securityGroups
- The new value for the SecurityGroups 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, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
InstanceType
public void setInstanceType(String instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, 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, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, 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, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, 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, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, 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 List<BlockDeviceMapping> getBlockDeviceMappings()
public void setBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
blockDeviceMappings
- The new value for the BlockDeviceMappings property for this object.public ImportInstanceLaunchSpecification withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
Returns a reference to this object so that method calls can be chained together.
blockDeviceMappings
- The new value for the BlockDeviceMappings property for this object.
public ImportInstanceLaunchSpecification withBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
Returns a reference to this object so that method calls can be chained together.
blockDeviceMappings
- The new value for the BlockDeviceMappings property for this object.
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 Boolean isDisableApiTermination()
public void setDisableApiTermination(Boolean disableApiTermination)
disableApiTermination
- The new value for the DisableApiTermination property for this object.public ImportInstanceLaunchSpecification withDisableApiTermination(Boolean disableApiTermination)
Returns a reference to this object so that method calls can be chained together.
disableApiTermination
- The new value for the DisableApiTermination property for this object.
public Boolean getDisableApiTermination()
public String getInstanceInitiatedShutdownBehavior()
public void setInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior)
instanceInitiatedShutdownBehavior
- The new value for the InstanceInitiatedShutdownBehavior property for
this object.public ImportInstanceLaunchSpecification withInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior)
Returns a reference to this object so that method calls can be chained together.
instanceInitiatedShutdownBehavior
- The new value for the InstanceInitiatedShutdownBehavior property for
this object.
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()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |