Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.opsworks.model
Class Instance

java.lang.Object
  extended by com.amazonaws.services.opsworks.model.Instance
All Implemented Interfaces:
Serializable

public class Instance
extends Object
implements Serializable

Describes an instance.

See Also:
Serialized Form

Constructor Summary
Instance()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getArchitecture()
          The instance architecture, "i386" or "x86_64".
 String getAutoScalingType()
          The instance's auto scaling type, which has three possible values: AlwaysRunning: A 24/7 instance, which is not affected by auto scaling. TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule. LoadBasedAutoScaling: A load-based auto scaling instance, which is started and stopped based on load metrics.
 String getAvailabilityZone()
          The instance Availability Zone.
 String getCreatedAt()
          The time that the instance was created.
 String getEc2InstanceId()
          The ID of the associated Amazon EC2 instance.
 String getElasticIp()
          The instance Elastic IP address .
 String getHostname()
          The instance host name.
 String getInstanceId()
          The instance ID.
 String getInstanceProfileArn()
          The ARN of the instance's IAM profile.
 String getInstanceType()
          The instance type.
 String getLastServiceErrorId()
          The ID of the last service error.
 List<String> getLayerIds()
          An array containing the instance layer IDs.
 String getOs()
          The instance operating system.
 String getPrivateDns()
          The instance private DNS name.
 String getPrivateIp()
          The instance private IP address.
 String getPublicDns()
          The instance public DNS name.
 String getPublicIp()
          The instance public IP address.
 String getRootDeviceType()
          The instance root device type.
 String getRootDeviceVolumeId()
          The root device volume ID.
 List<String> getSecurityGroupIds()
          An array containing the instance security group IDs.
 String getSshHostDsaKeyFingerprint()
          The SSH key's DSA fingerprint.
 String getSshHostRsaKeyFingerprint()
          The SSH key's RSA fingerprint.
 String getSshKeyName()
          The instance SSH key name.
 String getStackId()
          The stack ID.
 String getStatus()
          The instance status: requested booting running_setup online setup_failed start_failed terminating terminated stopped connection_lost
 int hashCode()
           
 void setArchitecture(Architecture architecture)
          The instance architecture, "i386" or "x86_64".
 void setArchitecture(String architecture)
          The instance architecture, "i386" or "x86_64".
 void setAutoScalingType(AutoScalingType autoScalingType)
          The instance's auto scaling type, which has three possible values: AlwaysRunning: A 24/7 instance, which is not affected by auto scaling. TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule. LoadBasedAutoScaling: A load-based auto scaling instance, which is started and stopped based on load metrics.
 void setAutoScalingType(String autoScalingType)
          The instance's auto scaling type, which has three possible values: AlwaysRunning: A 24/7 instance, which is not affected by auto scaling. TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule. LoadBasedAutoScaling: A load-based auto scaling instance, which is started and stopped based on load metrics.
 void setAvailabilityZone(String availabilityZone)
          The instance Availability Zone.
 void setCreatedAt(String createdAt)
          The time that the instance was created.
 void setEc2InstanceId(String ec2InstanceId)
          The ID of the associated Amazon EC2 instance.
 void setElasticIp(String elasticIp)
          The instance Elastic IP address .
 void setHostname(String hostname)
          The instance host name.
 void setInstanceId(String instanceId)
          The instance ID.
 void setInstanceProfileArn(String instanceProfileArn)
          The ARN of the instance's IAM profile.
 void setInstanceType(String instanceType)
          The instance type.
 void setLastServiceErrorId(String lastServiceErrorId)
          The ID of the last service error.
 void setLayerIds(Collection<String> layerIds)
          An array containing the instance layer IDs.
 void setOs(String os)
          The instance operating system.
 void setPrivateDns(String privateDns)
          The instance private DNS name.
 void setPrivateIp(String privateIp)
          The instance private IP address.
 void setPublicDns(String publicDns)
          The instance public DNS name.
 void setPublicIp(String publicIp)
          The instance public IP address.
 void setRootDeviceType(RootDeviceType rootDeviceType)
          The instance root device type.
 void setRootDeviceType(String rootDeviceType)
          The instance root device type.
 void setRootDeviceVolumeId(String rootDeviceVolumeId)
          The root device volume ID.
 void setSecurityGroupIds(Collection<String> securityGroupIds)
          An array containing the instance security group IDs.
 void setSshHostDsaKeyFingerprint(String sshHostDsaKeyFingerprint)
          The SSH key's DSA fingerprint.
 void setSshHostRsaKeyFingerprint(String sshHostRsaKeyFingerprint)
          The SSH key's RSA fingerprint.
 void setSshKeyName(String sshKeyName)
          The instance SSH key name.
 void setStackId(String stackId)
          The stack ID.
 void setStatus(String status)
          The instance status: requested booting running_setup online setup_failed start_failed terminating terminated stopped connection_lost
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Instance withArchitecture(Architecture architecture)
          The instance architecture, "i386" or "x86_64".
 Instance withArchitecture(String architecture)
          The instance architecture, "i386" or "x86_64".
 Instance withAutoScalingType(AutoScalingType autoScalingType)
          The instance's auto scaling type, which has three possible values: AlwaysRunning: A 24/7 instance, which is not affected by auto scaling. TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule. LoadBasedAutoScaling: A load-based auto scaling instance, which is started and stopped based on load metrics.
 Instance withAutoScalingType(String autoScalingType)
          The instance's auto scaling type, which has three possible values: AlwaysRunning: A 24/7 instance, which is not affected by auto scaling. TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule. LoadBasedAutoScaling: A load-based auto scaling instance, which is started and stopped based on load metrics.
 Instance withAvailabilityZone(String availabilityZone)
          The instance Availability Zone.
 Instance withCreatedAt(String createdAt)
          The time that the instance was created.
 Instance withEc2InstanceId(String ec2InstanceId)
          The ID of the associated Amazon EC2 instance.
 Instance withElasticIp(String elasticIp)
          The instance Elastic IP address .
 Instance withHostname(String hostname)
          The instance host name.
 Instance withInstanceId(String instanceId)
          The instance ID.
 Instance withInstanceProfileArn(String instanceProfileArn)
          The ARN of the instance's IAM profile.
 Instance withInstanceType(String instanceType)
          The instance type.
 Instance withLastServiceErrorId(String lastServiceErrorId)
          The ID of the last service error.
 Instance withLayerIds(Collection<String> layerIds)
          An array containing the instance layer IDs.
 Instance withLayerIds(String... layerIds)
          An array containing the instance layer IDs.
 Instance withOs(String os)
          The instance operating system.
 Instance withPrivateDns(String privateDns)
          The instance private DNS name.
 Instance withPrivateIp(String privateIp)
          The instance private IP address.
 Instance withPublicDns(String publicDns)
          The instance public DNS name.
 Instance withPublicIp(String publicIp)
          The instance public IP address.
 Instance withRootDeviceType(RootDeviceType rootDeviceType)
          The instance root device type.
 Instance withRootDeviceType(String rootDeviceType)
          The instance root device type.
 Instance withRootDeviceVolumeId(String rootDeviceVolumeId)
          The root device volume ID.
 Instance withSecurityGroupIds(Collection<String> securityGroupIds)
          An array containing the instance security group IDs.
 Instance withSecurityGroupIds(String... securityGroupIds)
          An array containing the instance security group IDs.
 Instance withSshHostDsaKeyFingerprint(String sshHostDsaKeyFingerprint)
          The SSH key's DSA fingerprint.
 Instance withSshHostRsaKeyFingerprint(String sshHostRsaKeyFingerprint)
          The SSH key's RSA fingerprint.
 Instance withSshKeyName(String sshKeyName)
          The instance SSH key name.
 Instance withStackId(String stackId)
          The stack ID.
 Instance withStatus(String status)
          The instance status: requested booting running_setup online setup_failed start_failed terminating terminated stopped connection_lost
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Instance

public Instance()
Method Detail

getInstanceId

public String getInstanceId()
The instance ID.

Returns:
The instance ID.

setInstanceId

public void setInstanceId(String instanceId)
The instance ID.

Parameters:
instanceId - The instance ID.

withInstanceId

public Instance withInstanceId(String instanceId)
The instance ID.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceId - The instance ID.
Returns:
A reference to this updated object so that method calls can be chained together.

getEc2InstanceId

public String getEc2InstanceId()
The ID of the associated Amazon EC2 instance.

Returns:
The ID of the associated Amazon EC2 instance.

setEc2InstanceId

public void setEc2InstanceId(String ec2InstanceId)
The ID of the associated Amazon EC2 instance.

Parameters:
ec2InstanceId - The ID of the associated Amazon EC2 instance.

withEc2InstanceId

public Instance withEc2InstanceId(String ec2InstanceId)
The ID of the associated Amazon EC2 instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
ec2InstanceId - The ID of the associated Amazon EC2 instance.
Returns:
A reference to this updated object so that method calls can be chained together.

getHostname

public String getHostname()
The instance host name.

Returns:
The instance host name.

setHostname

public void setHostname(String hostname)
The instance host name.

Parameters:
hostname - The instance host name.

withHostname

public Instance withHostname(String hostname)
The instance host name.

Returns a reference to this object so that method calls can be chained together.

Parameters:
hostname - The instance host name.
Returns:
A reference to this updated object so that method calls can be chained together.

getStackId

public String getStackId()
The stack ID.

Returns:
The stack ID.

setStackId

public void setStackId(String stackId)
The stack ID.

Parameters:
stackId - The stack ID.

withStackId

public Instance withStackId(String stackId)
The stack ID.

Returns a reference to this object so that method calls can be chained together.

Parameters:
stackId - The stack ID.
Returns:
A reference to this updated object so that method calls can be chained together.

getLayerIds

public List<String> getLayerIds()
An array containing the instance layer IDs.

Returns:
An array containing the instance layer IDs.

setLayerIds

public void setLayerIds(Collection<String> layerIds)
An array containing the instance layer IDs.

Parameters:
layerIds - An array containing the instance layer IDs.

withLayerIds

public Instance withLayerIds(String... layerIds)
An array containing the instance layer IDs.

Returns a reference to this object so that method calls can be chained together.

Parameters:
layerIds - An array containing the instance layer IDs.
Returns:
A reference to this updated object so that method calls can be chained together.

withLayerIds

public Instance withLayerIds(Collection<String> layerIds)
An array containing the instance layer IDs.

Returns a reference to this object so that method calls can be chained together.

Parameters:
layerIds - An array containing the instance layer IDs.
Returns:
A reference to this updated object so that method calls can be chained together.

getSecurityGroupIds

public List<String> getSecurityGroupIds()
An array containing the instance security group IDs.

Returns:
An array containing the instance security group IDs.

setSecurityGroupIds

public void setSecurityGroupIds(Collection<String> securityGroupIds)
An array containing the instance security group IDs.

Parameters:
securityGroupIds - An array containing the instance security group IDs.

withSecurityGroupIds

public Instance withSecurityGroupIds(String... securityGroupIds)
An array containing the instance security group IDs.

Returns a reference to this object so that method calls can be chained together.

Parameters:
securityGroupIds - An array containing the instance security group IDs.
Returns:
A reference to this updated object so that method calls can be chained together.

withSecurityGroupIds

public Instance withSecurityGroupIds(Collection<String> securityGroupIds)
An array containing the instance security group IDs.

Returns a reference to this object so that method calls can be chained together.

Parameters:
securityGroupIds - An array containing the instance security group IDs.
Returns:
A reference to this updated object so that method calls can be chained together.

getInstanceType

public String getInstanceType()
The instance type. OpsWorks supports all instance types except Cluster Compute, Cluster GPU, and High Memory Cluster. For more information, see Instance Families and Types. The parameter values that specify the various types are in the API Name column of the Available Instance Types table.

Returns:
The instance type. OpsWorks supports all instance types except Cluster Compute, Cluster GPU, and High Memory Cluster. For more information, see Instance Families and Types. The parameter values that specify the various types are in the API Name column of the Available Instance Types table.

setInstanceType

public void setInstanceType(String instanceType)
The instance type. OpsWorks supports all instance types except Cluster Compute, Cluster GPU, and High Memory Cluster. For more information, see Instance Families and Types. The parameter values that specify the various types are in the API Name column of the Available Instance Types table.

Parameters:
instanceType - The instance type. OpsWorks supports all instance types except Cluster Compute, Cluster GPU, and High Memory Cluster. For more information, see Instance Families and Types. The parameter values that specify the various types are in the API Name column of the Available Instance Types table.

withInstanceType

public Instance withInstanceType(String instanceType)
The instance type. OpsWorks supports all instance types except Cluster Compute, Cluster GPU, and High Memory Cluster. For more information, see Instance Families and Types. The parameter values that specify the various types are in the API Name column of the Available Instance Types table.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceType - The instance type. OpsWorks supports all instance types except Cluster Compute, Cluster GPU, and High Memory Cluster. For more information, see Instance Families and Types. The parameter values that specify the various types are in the API Name column of the Available Instance Types table.
Returns:
A reference to this updated object so that method calls can be chained together.

getInstanceProfileArn

public String getInstanceProfileArn()
The ARN of the instance's IAM profile. For more information about IAM ARNs, see Using Identifiers.

Returns:
The ARN of the instance's IAM profile. For more information about IAM ARNs, see Using Identifiers.

setInstanceProfileArn

public void setInstanceProfileArn(String instanceProfileArn)
The ARN of the instance's IAM profile. For more information about IAM ARNs, see Using Identifiers.

Parameters:
instanceProfileArn - The ARN of the instance's IAM profile. For more information about IAM ARNs, see Using Identifiers.

withInstanceProfileArn

public Instance withInstanceProfileArn(String instanceProfileArn)
The ARN of the instance's IAM profile. For more information about IAM ARNs, see Using Identifiers.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceProfileArn - The ARN of the instance's IAM profile. For more information about IAM ARNs, see Using Identifiers.
Returns:
A reference to this updated object so that method calls can be chained together.

getStatus

public String getStatus()
The instance status:

Returns:
The instance status:
  • requested
  • booting
  • running_setup
  • online
  • setup_failed
  • start_failed
  • terminating
  • terminated
  • stopped
  • connection_lost

setStatus

public void setStatus(String status)
The instance status:

Parameters:
status - The instance status:
  • requested
  • booting
  • running_setup
  • online
  • setup_failed
  • start_failed
  • terminating
  • terminated
  • stopped
  • connection_lost

withStatus

public Instance withStatus(String status)
The instance status:

Returns a reference to this object so that method calls can be chained together.

Parameters:
status - The instance status:
  • requested
  • booting
  • running_setup
  • online
  • setup_failed
  • start_failed
  • terminating
  • terminated
  • stopped
  • connection_lost
Returns:
A reference to this updated object so that method calls can be chained together.

getOs

public String getOs()
The instance operating system.

Returns:
The instance operating system.

setOs

public void setOs(String os)
The instance operating system.

Parameters:
os - The instance operating system.

withOs

public Instance withOs(String os)
The instance operating system.

Returns a reference to this object so that method calls can be chained together.

Parameters:
os - The instance operating system.
Returns:
A reference to this updated object so that method calls can be chained together.

getAvailabilityZone

public String getAvailabilityZone()
The instance Availability Zone. For more information, see Regions and Endpoints.

Returns:
The instance Availability Zone. For more information, see Regions and Endpoints.

setAvailabilityZone

public void setAvailabilityZone(String availabilityZone)
The instance Availability Zone. For more information, see Regions and Endpoints.

Parameters:
availabilityZone - The instance Availability Zone. For more information, see Regions and Endpoints.

withAvailabilityZone

public Instance withAvailabilityZone(String availabilityZone)
The instance Availability Zone. For more information, see Regions and Endpoints.

Returns a reference to this object so that method calls can be chained together.

Parameters:
availabilityZone - The instance Availability Zone. For more information, see Regions and Endpoints.
Returns:
A reference to this updated object so that method calls can be chained together.

getPublicDns

public String getPublicDns()
The instance public DNS name.

Returns:
The instance public DNS name.

setPublicDns

public void setPublicDns(String publicDns)
The instance public DNS name.

Parameters:
publicDns - The instance public DNS name.

withPublicDns

public Instance withPublicDns(String publicDns)
The instance public DNS name.

Returns a reference to this object so that method calls can be chained together.

Parameters:
publicDns - The instance public DNS name.
Returns:
A reference to this updated object so that method calls can be chained together.

getPrivateDns

public String getPrivateDns()
The instance private DNS name.

Returns:
The instance private DNS name.

setPrivateDns

public void setPrivateDns(String privateDns)
The instance private DNS name.

Parameters:
privateDns - The instance private DNS name.

withPrivateDns

public Instance withPrivateDns(String privateDns)
The instance private DNS name.

Returns a reference to this object so that method calls can be chained together.

Parameters:
privateDns - The instance private DNS name.
Returns:
A reference to this updated object so that method calls can be chained together.

getPublicIp

public String getPublicIp()
The instance public IP address.

Returns:
The instance public IP address.

setPublicIp

public void setPublicIp(String publicIp)
The instance public IP address.

Parameters:
publicIp - The instance public IP address.

withPublicIp

public Instance withPublicIp(String publicIp)
The instance public IP address.

Returns a reference to this object so that method calls can be chained together.

Parameters:
publicIp - The instance public IP address.
Returns:
A reference to this updated object so that method calls can be chained together.

getPrivateIp

public String getPrivateIp()
The instance private IP address.

Returns:
The instance private IP address.

setPrivateIp

public void setPrivateIp(String privateIp)
The instance private IP address.

Parameters:
privateIp - The instance private IP address.

withPrivateIp

public Instance withPrivateIp(String privateIp)
The instance private IP address.

Returns a reference to this object so that method calls can be chained together.

Parameters:
privateIp - The instance private IP address.
Returns:
A reference to this updated object so that method calls can be chained together.

getElasticIp

public String getElasticIp()
The instance Elastic IP address .

Returns:
The instance Elastic IP address .

setElasticIp

public void setElasticIp(String elasticIp)
The instance Elastic IP address .

Parameters:
elasticIp - The instance Elastic IP address .

withElasticIp

public Instance withElasticIp(String elasticIp)
The instance Elastic IP address .

Returns a reference to this object so that method calls can be chained together.

Parameters:
elasticIp - The instance Elastic IP address .
Returns:
A reference to this updated object so that method calls can be chained together.

getAutoScalingType

public String getAutoScalingType()
The instance's auto scaling type, which has three possible values:

Constraints:
Allowed Values: load, timer

Returns:
The instance's auto scaling type, which has three possible values:
  • AlwaysRunning: A 24/7 instance, which is not affected by auto scaling.
  • TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule.
  • LoadBasedAutoScaling: A load-based auto scaling instance, which is started and stopped based on load metrics.
See Also:
AutoScalingType

setAutoScalingType

public void setAutoScalingType(String autoScalingType)
The instance's auto scaling type, which has three possible values:

Constraints:
Allowed Values: load, timer

Parameters:
autoScalingType - The instance's auto scaling type, which has three possible values:
  • AlwaysRunning: A 24/7 instance, which is not affected by auto scaling.
  • TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule.
  • LoadBasedAutoScaling: A load-based auto scaling instance, which is started and stopped based on load metrics.
See Also:
AutoScalingType

withAutoScalingType

public Instance withAutoScalingType(String autoScalingType)
The instance's auto scaling type, which has three possible values:

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: load, timer

Parameters:
autoScalingType - The instance's auto scaling type, which has three possible values:
  • AlwaysRunning: A 24/7 instance, which is not affected by auto scaling.
  • TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule.
  • LoadBasedAutoScaling: A load-based auto scaling instance, which is started and stopped based on load metrics.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
AutoScalingType

setAutoScalingType

public void setAutoScalingType(AutoScalingType autoScalingType)
The instance's auto scaling type, which has three possible values:

Constraints:
Allowed Values: load, timer

Parameters:
autoScalingType - The instance's auto scaling type, which has three possible values:
  • AlwaysRunning: A 24/7 instance, which is not affected by auto scaling.
  • TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule.
  • LoadBasedAutoScaling: A load-based auto scaling instance, which is started and stopped based on load metrics.
See Also:
AutoScalingType

withAutoScalingType

public Instance withAutoScalingType(AutoScalingType autoScalingType)
The instance's auto scaling type, which has three possible values:

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: load, timer

Parameters:
autoScalingType - The instance's auto scaling type, which has three possible values:
  • AlwaysRunning: A 24/7 instance, which is not affected by auto scaling.
  • TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule.
  • LoadBasedAutoScaling: A load-based auto scaling instance, which is started and stopped based on load metrics.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
AutoScalingType

getSshKeyName

public String getSshKeyName()
The instance SSH key name.

Returns:
The instance SSH key name.

setSshKeyName

public void setSshKeyName(String sshKeyName)
The instance SSH key name.

Parameters:
sshKeyName - The instance SSH key name.

withSshKeyName

public Instance withSshKeyName(String sshKeyName)
The instance SSH key name.

Returns a reference to this object so that method calls can be chained together.

Parameters:
sshKeyName - The instance SSH key name.
Returns:
A reference to this updated object so that method calls can be chained together.

getSshHostRsaKeyFingerprint

public String getSshHostRsaKeyFingerprint()
The SSH key's RSA fingerprint.

Returns:
The SSH key's RSA fingerprint.

setSshHostRsaKeyFingerprint

public void setSshHostRsaKeyFingerprint(String sshHostRsaKeyFingerprint)
The SSH key's RSA fingerprint.

Parameters:
sshHostRsaKeyFingerprint - The SSH key's RSA fingerprint.

withSshHostRsaKeyFingerprint

public Instance withSshHostRsaKeyFingerprint(String sshHostRsaKeyFingerprint)
The SSH key's RSA fingerprint.

Returns a reference to this object so that method calls can be chained together.

Parameters:
sshHostRsaKeyFingerprint - The SSH key's RSA fingerprint.
Returns:
A reference to this updated object so that method calls can be chained together.

getSshHostDsaKeyFingerprint

public String getSshHostDsaKeyFingerprint()
The SSH key's DSA fingerprint.

Returns:
The SSH key's DSA fingerprint.

setSshHostDsaKeyFingerprint

public void setSshHostDsaKeyFingerprint(String sshHostDsaKeyFingerprint)
The SSH key's DSA fingerprint.

Parameters:
sshHostDsaKeyFingerprint - The SSH key's DSA fingerprint.

withSshHostDsaKeyFingerprint

public Instance withSshHostDsaKeyFingerprint(String sshHostDsaKeyFingerprint)
The SSH key's DSA fingerprint.

Returns a reference to this object so that method calls can be chained together.

Parameters:
sshHostDsaKeyFingerprint - The SSH key's DSA fingerprint.
Returns:
A reference to this updated object so that method calls can be chained together.

getCreatedAt

public String getCreatedAt()
The time that the instance was created.

Returns:
The time that the instance was created.

setCreatedAt

public void setCreatedAt(String createdAt)
The time that the instance was created.

Parameters:
createdAt - The time that the instance was created.

withCreatedAt

public Instance withCreatedAt(String createdAt)
The time that the instance was created.

Returns a reference to this object so that method calls can be chained together.

Parameters:
createdAt - The time that the instance was created.
Returns:
A reference to this updated object so that method calls can be chained together.

getLastServiceErrorId

public String getLastServiceErrorId()
The ID of the last service error. For more information, call DescribeServiceErrors.

Returns:
The ID of the last service error. For more information, call DescribeServiceErrors.

setLastServiceErrorId

public void setLastServiceErrorId(String lastServiceErrorId)
The ID of the last service error. For more information, call DescribeServiceErrors.

Parameters:
lastServiceErrorId - The ID of the last service error. For more information, call DescribeServiceErrors.

withLastServiceErrorId

public Instance withLastServiceErrorId(String lastServiceErrorId)
The ID of the last service error. For more information, call DescribeServiceErrors.

Returns a reference to this object so that method calls can be chained together.

Parameters:
lastServiceErrorId - The ID of the last service error. For more information, call DescribeServiceErrors.
Returns:
A reference to this updated object so that method calls can be chained together.

getArchitecture

public String getArchitecture()
The instance architecture, "i386" or "x86_64".

Constraints:
Allowed Values: x86_64, i386

Returns:
The instance architecture, "i386" or "x86_64".
See Also:
Architecture

setArchitecture

public void setArchitecture(String architecture)
The instance architecture, "i386" or "x86_64".

Constraints:
Allowed Values: x86_64, i386

Parameters:
architecture - The instance architecture, "i386" or "x86_64".
See Also:
Architecture

withArchitecture

public Instance withArchitecture(String architecture)
The instance architecture, "i386" or "x86_64".

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: x86_64, i386

Parameters:
architecture - The instance architecture, "i386" or "x86_64".
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
Architecture

setArchitecture

public void setArchitecture(Architecture architecture)
The instance architecture, "i386" or "x86_64".

Constraints:
Allowed Values: x86_64, i386

Parameters:
architecture - The instance architecture, "i386" or "x86_64".
See Also:
Architecture

withArchitecture

public Instance withArchitecture(Architecture architecture)
The instance architecture, "i386" or "x86_64".

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: x86_64, i386

Parameters:
architecture - The instance architecture, "i386" or "x86_64".
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
Architecture

getRootDeviceType

public String getRootDeviceType()
The instance root device type. For more information, see Storage for the Root Device.

Constraints:
Allowed Values: ebs, instance-store

Returns:
The instance root device type. For more information, see Storage for the Root Device.
See Also:
RootDeviceType

setRootDeviceType

public void setRootDeviceType(String rootDeviceType)
The instance root device type. For more information, see Storage for the Root Device.

Constraints:
Allowed Values: ebs, instance-store

Parameters:
rootDeviceType - The instance root device type. For more information, see Storage for the Root Device.
See Also:
RootDeviceType

withRootDeviceType

public Instance withRootDeviceType(String rootDeviceType)
The instance root device type. For more information, see Storage for the Root Device.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: ebs, instance-store

Parameters:
rootDeviceType - The instance root device type. For more information, see Storage for the Root Device.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
RootDeviceType

setRootDeviceType

public void setRootDeviceType(RootDeviceType rootDeviceType)
The instance root device type. For more information, see Storage for the Root Device.

Constraints:
Allowed Values: ebs, instance-store

Parameters:
rootDeviceType - The instance root device type. For more information, see Storage for the Root Device.
See Also:
RootDeviceType

withRootDeviceType

public Instance withRootDeviceType(RootDeviceType rootDeviceType)
The instance root device type. For more information, see Storage for the Root Device.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: ebs, instance-store

Parameters:
rootDeviceType - The instance root device type. For more information, see Storage for the Root Device.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
RootDeviceType

getRootDeviceVolumeId

public String getRootDeviceVolumeId()
The root device volume ID.

Returns:
The root device volume ID.

setRootDeviceVolumeId

public void setRootDeviceVolumeId(String rootDeviceVolumeId)
The root device volume ID.

Parameters:
rootDeviceVolumeId - The root device volume ID.

withRootDeviceVolumeId

public Instance withRootDeviceVolumeId(String rootDeviceVolumeId)
The root device volume ID.

Returns a reference to this object so that method calls can be chained together.

Parameters:
rootDeviceVolumeId - The root device volume ID.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.