|
Did this page help you?Yes No Tell us about it... |
||||||
| 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(java.lang.Object obj)
|
java.lang.String |
getAdditionalInfo()
Returns the value of the AdditionalInfo property for this object. |
java.lang.String |
getArchitecture()
Returns the value of the Architecture property for this object. |
java.util.List<BlockDeviceMapping> |
getBlockDeviceMappings()
Returns the value of the BlockDeviceMappings property for this object. |
java.lang.Boolean |
getDisableApiTermination()
Returns the value of the DisableApiTermination property for this object. |
java.lang.String |
getInstanceInitiatedShutdownBehavior()
Returns the value of the InstanceInitiatedShutdownBehavior property for this object. |
java.lang.String |
getInstanceType()
Returns the value of the InstanceType property for this object. |
java.lang.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. |
java.lang.String |
getPrivateIpAddress()
Returns the value of the PrivateIpAddress property for this object. |
java.util.List<java.lang.String> |
getSecurityGroups()
Returns the value of the SecurityGroups property for this object. |
java.lang.String |
getSubnetId()
Returns the value of the SubnetId property for this object. |
java.lang.String |
getUserData()
Returns the value of the UserData property for this object. |
int |
hashCode()
|
java.lang.Boolean |
isDisableApiTermination()
Returns the value of the DisableApiTermination property for this object. |
java.lang.Boolean |
isMonitoring()
Returns the value of the Monitoring property for this object. |
void |
setAdditionalInfo(java.lang.String additionalInfo)
Sets the value of the AdditionalInfo property for this object. |
void |
setArchitecture(java.lang.String architecture)
Sets the value of the Architecture property for this object. |
void |
setBlockDeviceMappings(java.util.Collection<BlockDeviceMapping> blockDeviceMappings)
Sets the value of the BlockDeviceMappings property for this object. |
void |
setDisableApiTermination(java.lang.Boolean disableApiTermination)
Sets the value of the DisableApiTermination property for this object. |
void |
setInstanceInitiatedShutdownBehavior(java.lang.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(java.lang.String instanceType)
Sets the value of the InstanceType property for this object. |
void |
setMonitoring(java.lang.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(java.lang.String privateIpAddress)
Sets the value of the PrivateIpAddress property for this object. |
void |
setSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
Sets the value of the SecurityGroups property for this object. |
void |
setSubnetId(java.lang.String subnetId)
Sets the value of the SubnetId property for this object. |
void |
setUserData(java.lang.String userData)
Sets the value of the UserData property for this object. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ImportInstanceLaunchSpecification |
withAdditionalInfo(java.lang.String additionalInfo)
Sets the value of the AdditionalInfo property for this object. |
ImportInstanceLaunchSpecification |
withArchitecture(java.lang.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(java.util.Collection<BlockDeviceMapping> blockDeviceMappings)
Sets the value of the BlockDeviceMappings property for this object. |
ImportInstanceLaunchSpecification |
withDisableApiTermination(java.lang.Boolean disableApiTermination)
Sets the value of the DisableApiTermination property for this object. |
ImportInstanceLaunchSpecification |
withInstanceInitiatedShutdownBehavior(java.lang.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(java.lang.String instanceType)
Sets the value of the InstanceType property for this object. |
ImportInstanceLaunchSpecification |
withMonitoring(java.lang.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(java.lang.String privateIpAddress)
Sets the value of the PrivateIpAddress property for this object. |
ImportInstanceLaunchSpecification |
withSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
Sets the value of the SecurityGroups property for this object. |
ImportInstanceLaunchSpecification |
withSecurityGroups(java.lang.String... securityGroups)
Sets the value of the SecurityGroups property for this object. |
ImportInstanceLaunchSpecification |
withSubnetId(java.lang.String subnetId)
Sets the value of the SubnetId property for this object. |
ImportInstanceLaunchSpecification |
withUserData(java.lang.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 java.lang.String getArchitecture()
public void setArchitecture(java.lang.String architecture)
architecture - The new value for the Architecture property for this object.public ImportInstanceLaunchSpecification withArchitecture(java.lang.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 java.util.List<java.lang.String> getSecurityGroups()
public void setSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
securityGroups - The new value for the SecurityGroups property for this object.public ImportInstanceLaunchSpecification withSecurityGroups(java.lang.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(java.util.Collection<java.lang.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 java.lang.String getAdditionalInfo()
public void setAdditionalInfo(java.lang.String additionalInfo)
additionalInfo - The new value for the AdditionalInfo property for this object.public ImportInstanceLaunchSpecification withAdditionalInfo(java.lang.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 java.lang.String getUserData()
public void setUserData(java.lang.String userData)
userData - The new value for the UserData property for this object.public ImportInstanceLaunchSpecification withUserData(java.lang.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 java.lang.String getInstanceType()
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
InstanceTypepublic void setInstanceType(java.lang.String instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
instanceType - The new value for the InstanceType property for this object.InstanceTypepublic ImportInstanceLaunchSpecification withInstanceType(java.lang.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, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
instanceType - The new value for the InstanceType property for this object.
InstanceTypepublic void setInstanceType(InstanceType instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
instanceType - The new value for the InstanceType property for this object.InstanceTypepublic 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, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
instanceType - The new value for the InstanceType property for this object.
InstanceTypepublic 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 java.util.List<BlockDeviceMapping> getBlockDeviceMappings()
public void setBlockDeviceMappings(java.util.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(java.util.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 java.lang.Boolean isMonitoring()
public void setMonitoring(java.lang.Boolean monitoring)
monitoring - The new value for the Monitoring property for this object.public ImportInstanceLaunchSpecification withMonitoring(java.lang.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 java.lang.Boolean getMonitoring()
public java.lang.String getSubnetId()
public void setSubnetId(java.lang.String subnetId)
subnetId - The new value for the SubnetId property for this object.public ImportInstanceLaunchSpecification withSubnetId(java.lang.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 java.lang.Boolean isDisableApiTermination()
public void setDisableApiTermination(java.lang.Boolean disableApiTermination)
disableApiTermination - The new value for the DisableApiTermination property for this object.public ImportInstanceLaunchSpecification withDisableApiTermination(java.lang.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 java.lang.Boolean getDisableApiTermination()
public java.lang.String getInstanceInitiatedShutdownBehavior()
public void setInstanceInitiatedShutdownBehavior(java.lang.String instanceInitiatedShutdownBehavior)
instanceInitiatedShutdownBehavior - The new value for the InstanceInitiatedShutdownBehavior property for
this object.public ImportInstanceLaunchSpecification withInstanceInitiatedShutdownBehavior(java.lang.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 java.lang.String getPrivateIpAddress()
public void setPrivateIpAddress(java.lang.String privateIpAddress)
privateIpAddress - The new value for the PrivateIpAddress property for this object.public ImportInstanceLaunchSpecification withPrivateIpAddress(java.lang.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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||