|
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(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(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(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(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(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. |
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> 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, m2.xlarge, m2.2xlarge, m2.4xlarge, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge
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, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge
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, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge
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, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge
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, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge
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()
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 |