com.amazonaws.services.opsworks.model

## クラス Instance

- java.lang.Object
- - com.amazonaws.services.opsworks.model.Instance

- すべての実装されたインタフェース:
    java.io.Serializable

      public class Instance
      extends java.lang.Object
      implements java.io.Serializable

  Describes an instance.

  関連項目:
    直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `Instance()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getAmiId()` A custom AMI ID to be used to create the instance.
    `java.lang.String` | `getArchitecture()` The instance architecture, "i386" or "x86_64".
    `java.lang.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.
    `java.lang.String` | `getAvailabilityZone()` The instance Availability Zone.
    `java.lang.String` | `getCreatedAt()` The time that the instance was created.
    `java.lang.String` | `getEc2InstanceId()` The ID of the associated Amazon EC2 instance.
    `java.lang.String` | `getElasticIp()` The instance Elastic IP address .
    `java.lang.String` | `getHostname()` The instance host name.
    `java.lang.Boolean` | `getInstallUpdatesOnBoot()` Whether to install operating system and package updates when the instance boots.
    `java.lang.String` | `getInstanceId()` The instance ID.
    `java.lang.String` | `getInstanceProfileArn()` The ARN of the instance's IAM profile.
    `java.lang.String` | `getInstanceType()` The instance type.
    `java.lang.String` | `getLastServiceErrorId()` The ID of the last service error.
    `java.util.List<java.lang.String>` | `getLayerIds()` An array containing the instance layer IDs.
    `java.lang.String` | `getOs()` The instance operating system.
    `java.lang.String` | `getPrivateDns()` The instance private DNS name.
    `java.lang.String` | `getPrivateIp()` The instance private IP address.
    `java.lang.String` | `getPublicDns()` The instance public DNS name.
    `java.lang.String` | `getPublicIp()` The instance public IP address.
    `java.lang.String` | `getRootDeviceType()` The instance root device type.
    `java.lang.String` | `getRootDeviceVolumeId()` The root device volume ID.
    `java.util.List<java.lang.String>` | `getSecurityGroupIds()` An array containing the instance security group IDs.
    `java.lang.String` | `getSshHostDsaKeyFingerprint()` The SSH key's DSA fingerprint.
    `java.lang.String` | `getSshHostRsaKeyFingerprint()` The SSH key's RSA fingerprint.
    `java.lang.String` | `getSshKeyName()` The instance SSH key name.
    `java.lang.String` | `getStackId()` The stack ID.
    `java.lang.String` | `getStatus()` The instance status: requested booting running_setup online setup_failed start_failed terminating terminated stopped connection_lost
    `int` | `hashCode()`
    `java.lang.Boolean` | `isInstallUpdatesOnBoot()` Whether to install operating system and package updates when the instance boots.
    `void` | `setAmiId(java.lang.String amiId)` A custom AMI ID to be used to create the instance.
    `void` | `setArchitecture(Architecture architecture)` The instance architecture, "i386" or "x86_64".
    `void` | `setArchitecture(java.lang.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.
    `void` | `setAutoScalingType(java.lang.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.
    `void` | `setAvailabilityZone(java.lang.String availabilityZone)` The instance Availability Zone.
    `void` | `setCreatedAt(java.lang.String createdAt)` The time that the instance was created.
    `void` | `setEc2InstanceId(java.lang.String ec2InstanceId)` The ID of the associated Amazon EC2 instance.
    `void` | `setElasticIp(java.lang.String elasticIp)` The instance Elastic IP address .
    `void` | `setHostname(java.lang.String hostname)` The instance host name.
    `void` | `setInstallUpdatesOnBoot(java.lang.Boolean installUpdatesOnBoot)` Whether to install operating system and package updates when the instance boots.
    `void` | `setInstanceId(java.lang.String instanceId)` The instance ID.
    `void` | `setInstanceProfileArn(java.lang.String instanceProfileArn)` The ARN of the instance's IAM profile.
    `void` | `setInstanceType(java.lang.String instanceType)` The instance type.
    `void` | `setLastServiceErrorId(java.lang.String lastServiceErrorId)` The ID of the last service error.
    `void` | `setLayerIds(java.util.Collection<java.lang.String> layerIds)` An array containing the instance layer IDs.
    `void` | `setOs(java.lang.String os)` The instance operating system.
    `void` | `setPrivateDns(java.lang.String privateDns)` The instance private DNS name.
    `void` | `setPrivateIp(java.lang.String privateIp)` The instance private IP address.
    `void` | `setPublicDns(java.lang.String publicDns)` The instance public DNS name.
    `void` | `setPublicIp(java.lang.String publicIp)` The instance public IP address.
    `void` | `setRootDeviceType(RootDeviceType rootDeviceType)` The instance root device type.
    `void` | `setRootDeviceType(java.lang.String rootDeviceType)` The instance root device type.
    `void` | `setRootDeviceVolumeId(java.lang.String rootDeviceVolumeId)` The root device volume ID.
    `void` | `setSecurityGroupIds(java.util.Collection<java.lang.String> securityGroupIds)` An array containing the instance security group IDs.
    `void` | `setSshHostDsaKeyFingerprint(java.lang.String sshHostDsaKeyFingerprint)` The SSH key's DSA fingerprint.
    `void` | `setSshHostRsaKeyFingerprint(java.lang.String sshHostRsaKeyFingerprint)` The SSH key's RSA fingerprint.
    `void` | `setSshKeyName(java.lang.String sshKeyName)` The instance SSH key name.
    `void` | `setStackId(java.lang.String stackId)` The stack ID.
    `void` | `setStatus(java.lang.String status)` The instance status: requested booting running_setup online setup_failed start_failed terminating terminated stopped connection_lost
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `Instance` | `withAmiId(java.lang.String amiId)` A custom AMI ID to be used to create the instance.
    `Instance` | `withArchitecture(Architecture architecture)` The instance architecture, "i386" or "x86_64".
    `Instance` | `withArchitecture(java.lang.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.
    `Instance` | `withAutoScalingType(java.lang.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.
    `Instance` | `withAvailabilityZone(java.lang.String availabilityZone)` The instance Availability Zone.
    `Instance` | `withCreatedAt(java.lang.String createdAt)` The time that the instance was created.
    `Instance` | `withEc2InstanceId(java.lang.String ec2InstanceId)` The ID of the associated Amazon EC2 instance.
    `Instance` | `withElasticIp(java.lang.String elasticIp)` The instance Elastic IP address .
    `Instance` | `withHostname(java.lang.String hostname)` The instance host name.
    `Instance` | `withInstallUpdatesOnBoot(java.lang.Boolean installUpdatesOnBoot)` Whether to install operating system and package updates when the instance boots.
    `Instance` | `withInstanceId(java.lang.String instanceId)` The instance ID.
    `Instance` | `withInstanceProfileArn(java.lang.String instanceProfileArn)` The ARN of the instance's IAM profile.
    `Instance` | `withInstanceType(java.lang.String instanceType)` The instance type.
    `Instance` | `withLastServiceErrorId(java.lang.String lastServiceErrorId)` The ID of the last service error.
    `Instance` | `withLayerIds(java.util.Collection<java.lang.String> layerIds)` An array containing the instance layer IDs.
    `Instance` | `withLayerIds(java.lang.String... layerIds)` An array containing the instance layer IDs.
    `Instance` | `withOs(java.lang.String os)` The instance operating system.
    `Instance` | `withPrivateDns(java.lang.String privateDns)` The instance private DNS name.
    `Instance` | `withPrivateIp(java.lang.String privateIp)` The instance private IP address.
    `Instance` | `withPublicDns(java.lang.String publicDns)` The instance public DNS name.
    `Instance` | `withPublicIp(java.lang.String publicIp)` The instance public IP address.
    `Instance` | `withRootDeviceType(RootDeviceType rootDeviceType)` The instance root device type.
    `Instance` | `withRootDeviceType(java.lang.String rootDeviceType)` The instance root device type.
    `Instance` | `withRootDeviceVolumeId(java.lang.String rootDeviceVolumeId)` The root device volume ID.
    `Instance` | `withSecurityGroupIds(java.util.Collection<java.lang.String> securityGroupIds)` An array containing the instance security group IDs.
    `Instance` | `withSecurityGroupIds(java.lang.String... securityGroupIds)` An array containing the instance security group IDs.
    `Instance` | `withSshHostDsaKeyFingerprint(java.lang.String sshHostDsaKeyFingerprint)` The SSH key's DSA fingerprint.
    `Instance` | `withSshHostRsaKeyFingerprint(java.lang.String sshHostRsaKeyFingerprint)` The SSH key's RSA fingerprint.
    `Instance` | `withSshKeyName(java.lang.String sshKeyName)` The instance SSH key name.
    `Instance` | `withStackId(java.lang.String stackId)` The stack ID.
    `Instance` | `withStatus(java.lang.String status)` The instance status: requested booting running_setup online setup_failed start_failed terminating terminated stopped connection_lost Returns a reference to this object so that method calls can be chained together.

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### Instance

          public Instance()

  - ### メソッドの詳細

    - #### getInstanceId

          public java.lang.String getInstanceId()

      The instance ID.
      戻り値:
        The instance ID.

    - #### setInstanceId

          public void setInstanceId(java.lang.String instanceId)

      The instance ID.
      パラメータ:
        `instanceId` - The instance ID.

    - #### withInstanceId

          public Instance withInstanceId(java.lang.String instanceId)

      The instance ID.

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

      パラメータ:
        `instanceId` - The instance ID.

    - #### getEc2InstanceId

          public java.lang.String getEc2InstanceId()

      The ID of the associated Amazon EC2 instance.
      戻り値:
        The ID of the associated Amazon EC2 instance.

    - #### setEc2InstanceId

          public void setEc2InstanceId(java.lang.String ec2InstanceId)

      The ID of the associated Amazon EC2 instance.
      パラメータ:
        `ec2InstanceId` - The ID of the associated Amazon EC2 instance.

    - #### withEc2InstanceId

          public Instance withEc2InstanceId(java.lang.String ec2InstanceId)

      The ID of the associated Amazon EC2 instance.

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

      パラメータ:
        `ec2InstanceId` - The ID of the associated Amazon EC2 instance.

    - #### getHostname

          public java.lang.String getHostname()

      The instance host name.
      戻り値:
        The instance host name.

    - #### setHostname

          public void setHostname(java.lang.String hostname)

      The instance host name.
      パラメータ:
        `hostname` - The instance host name.

    - #### withHostname

          public Instance withHostname(java.lang.String hostname)

      The instance host name.

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

      パラメータ:
        `hostname` - The instance host name.

    - #### getStackId

          public java.lang.String getStackId()

      The stack ID.
      戻り値:
        The stack ID.

    - #### setStackId

          public void setStackId(java.lang.String stackId)

      The stack ID.
      パラメータ:
        `stackId` - The stack ID.

    - #### withStackId

          public Instance withStackId(java.lang.String stackId)

      The stack ID.

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

      パラメータ:
        `stackId` - The stack ID.

    - #### getLayerIds

          public java.util.List<java.lang.String> getLayerIds()

      An array containing the instance layer IDs.
      戻り値:
        An array containing the instance layer IDs.

    - #### setLayerIds

          public void setLayerIds(java.util.Collection<java.lang.String> layerIds)

      An array containing the instance layer IDs.
      パラメータ:
        `layerIds` - An array containing the instance layer IDs.

    - #### withLayerIds

          public Instance withLayerIds(java.lang.String... layerIds)

      An array containing the instance layer IDs.

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

      パラメータ:
        `layerIds` - An array containing the instance layer IDs.

    - #### withLayerIds

          public Instance withLayerIds(java.util.Collection<java.lang.String> layerIds)

      An array containing the instance layer IDs.

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

      パラメータ:
        `layerIds` - An array containing the instance layer IDs.

    - #### getSecurityGroupIds

          public java.util.List<java.lang.String> getSecurityGroupIds()

      An array containing the instance security group IDs.
      戻り値:
        An array containing the instance security group IDs.

    - #### setSecurityGroupIds

          public void setSecurityGroupIds(java.util.Collection<java.lang.String> securityGroupIds)

      An array containing the instance security group IDs.
      パラメータ:
        `securityGroupIds` - An array containing the instance security group IDs.

    - #### withSecurityGroupIds

          public Instance withSecurityGroupIds(java.lang.String... securityGroupIds)

      An array containing the instance security group IDs.

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

      パラメータ:
        `securityGroupIds` - An array containing the instance security group IDs.

    - #### withSecurityGroupIds

          public Instance withSecurityGroupIds(java.util.Collection<java.lang.String> securityGroupIds)

      An array containing the instance security group IDs.

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

      パラメータ:
        `securityGroupIds` - An array containing the instance security group IDs.

    - #### getInstanceType

          public java.lang.String getInstanceType()

      The instance type. AWS 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.
      戻り値:
        The instance type. AWS 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(java.lang.String instanceType)

      The instance type. AWS 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.
      パラメータ:
        `instanceType` - The instance type. AWS 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(java.lang.String instanceType)

      The instance type. AWS 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.

      パラメータ:
        `instanceType` - The instance type. AWS 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.

    - #### getInstanceProfileArn

          public java.lang.String getInstanceProfileArn()

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

    - #### setInstanceProfileArn

          public void setInstanceProfileArn(java.lang.String instanceProfileArn)

      The ARN of the instance's IAM profile. For more information about IAM ARNs, see Using Identifiers.
      パラメータ:
        `instanceProfileArn` - The ARN of the instance's IAM profile. For more information about IAM ARNs, see Using Identifiers.

    - #### withInstanceProfileArn

          public Instance withInstanceProfileArn(java.lang.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.

      パラメータ:
        `instanceProfileArn` - The ARN of the instance's IAM profile. For more information about IAM ARNs, see Using Identifiers.

    - #### getStatus

          public java.lang.String getStatus()

      The instance status:
      - requested
      - booting
      - running_setup
      - online
      - setup_failed
      - start_failed
      - terminating
      - terminated
      - stopped
      - connection_lost
      戻り値:
        The instance status:
        - requested
        - booting
        - running_setup
        - online
        - setup_failed
        - start_failed
        - terminating
        - terminated
        - stopped
        - connection_lost

    - #### setStatus

          public void setStatus(java.lang.String status)

      The instance status:
      - requested
      - booting
      - running_setup
      - online
      - setup_failed
      - start_failed
      - terminating
      - terminated
      - stopped
      - connection_lost
      パラメータ:
        `status` - The instance status:
        - requested
        - booting
        - running_setup
        - online
        - setup_failed
        - start_failed
        - terminating
        - terminated
        - stopped
        - connection_lost

    - #### withStatus

          public Instance withStatus(java.lang.String status)

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

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

      パラメータ:
        `status` - The instance status:
        - requested
        - booting
        - running_setup
        - online
        - setup_failed
        - start_failed
        - terminating
        - terminated
        - stopped
        - connection_lost

    - #### getOs

          public java.lang.String getOs()

      The instance operating system.
      戻り値:
        The instance operating system.

    - #### setOs

          public void setOs(java.lang.String os)

      The instance operating system.
      パラメータ:
        `os` - The instance operating system.

    - #### withOs

          public Instance withOs(java.lang.String os)

      The instance operating system.

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

      パラメータ:
        `os` - The instance operating system.

    - #### getAmiId

          public java.lang.String getAmiId()

      A custom AMI ID to be used to create the instance. The AMI should be based on one of the standard AWS OpsWorks APIs: Amazon Linux or Ubuntu 12.04 LTS. For more information, see Instances
      戻り値:
        A custom AMI ID to be used to create the instance. The AMI should be based on one of the standard AWS OpsWorks APIs: Amazon Linux or Ubuntu 12.04 LTS. For more information, see Instances

    - #### setAmiId

          public void setAmiId(java.lang.String amiId)

      A custom AMI ID to be used to create the instance. The AMI should be based on one of the standard AWS OpsWorks APIs: Amazon Linux or Ubuntu 12.04 LTS. For more information, see Instances
      パラメータ:
        `amiId` - A custom AMI ID to be used to create the instance. The AMI should be based on one of the standard AWS OpsWorks APIs: Amazon Linux or Ubuntu 12.04 LTS. For more information, see Instances

    - #### withAmiId

          public Instance withAmiId(java.lang.String amiId)

      A custom AMI ID to be used to create the instance. The AMI should be based on one of the standard AWS OpsWorks APIs: Amazon Linux or Ubuntu 12.04 LTS. For more information, see Instances

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

      パラメータ:
        `amiId` - A custom AMI ID to be used to create the instance. The AMI should be based on one of the standard AWS OpsWorks APIs: Amazon Linux or Ubuntu 12.04 LTS. For more information, see Instances

    - #### getAvailabilityZone

          public java.lang.String getAvailabilityZone()

      The instance Availability Zone. For more information, see Regions and Endpoints.
      戻り値:
        The instance Availability Zone. For more information, see Regions and Endpoints.

    - #### setAvailabilityZone

          public void setAvailabilityZone(java.lang.String availabilityZone)

      The instance Availability Zone. For more information, see Regions and Endpoints.
      パラメータ:
        `availabilityZone` - The instance Availability Zone. For more information, see Regions and Endpoints.

    - #### withAvailabilityZone

          public Instance withAvailabilityZone(java.lang.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.

      パラメータ:
        `availabilityZone` - The instance Availability Zone. For more information, see Regions and Endpoints.

    - #### getPublicDns

          public java.lang.String getPublicDns()

      The instance public DNS name.
      戻り値:
        The instance public DNS name.

    - #### setPublicDns

          public void setPublicDns(java.lang.String publicDns)

      The instance public DNS name.
      パラメータ:
        `publicDns` - The instance public DNS name.

    - #### withPublicDns

          public Instance withPublicDns(java.lang.String publicDns)

      The instance public DNS name.

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

      パラメータ:
        `publicDns` - The instance public DNS name.

    - #### getPrivateDns

          public java.lang.String getPrivateDns()

      The instance private DNS name.
      戻り値:
        The instance private DNS name.

    - #### setPrivateDns

          public void setPrivateDns(java.lang.String privateDns)

      The instance private DNS name.
      パラメータ:
        `privateDns` - The instance private DNS name.

    - #### withPrivateDns

          public Instance withPrivateDns(java.lang.String privateDns)

      The instance private DNS name.

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

      パラメータ:
        `privateDns` - The instance private DNS name.

    - #### getPublicIp

          public java.lang.String getPublicIp()

      The instance public IP address.
      戻り値:
        The instance public IP address.

    - #### setPublicIp

          public void setPublicIp(java.lang.String publicIp)

      The instance public IP address.
      パラメータ:
        `publicIp` - The instance public IP address.

    - #### withPublicIp

          public Instance withPublicIp(java.lang.String publicIp)

      The instance public IP address.

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

      パラメータ:
        `publicIp` - The instance public IP address.

    - #### getPrivateIp

          public java.lang.String getPrivateIp()

      The instance private IP address.
      戻り値:
        The instance private IP address.

    - #### setPrivateIp

          public void setPrivateIp(java.lang.String privateIp)

      The instance private IP address.
      パラメータ:
        `privateIp` - The instance private IP address.

    - #### withPrivateIp

          public Instance withPrivateIp(java.lang.String privateIp)

      The instance private IP address.

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

      パラメータ:
        `privateIp` - The instance private IP address.

    - #### getElasticIp

          public java.lang.String getElasticIp()

      The instance Elastic IP address .
      戻り値:
        The instance Elastic IP address .

    - #### setElasticIp

          public void setElasticIp(java.lang.String elasticIp)

      The instance Elastic IP address .
      パラメータ:
        `elasticIp` - The instance Elastic IP address .

    - #### withElasticIp

          public Instance withElasticIp(java.lang.String elasticIp)

      The instance Elastic IP address .

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

      パラメータ:
        `elasticIp` - The instance Elastic IP address .

    - #### getAutoScalingType

          public java.lang.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.

      Constraints:
      Allowed Values: load, timer

      戻り値:
        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.
      関連項目:
        `AutoScalingType`

    - #### setAutoScalingType

          public void setAutoScalingType(java.lang.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.

      Constraints:
      Allowed Values: load, timer

      パラメータ:
        `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.
      関連項目:
        `AutoScalingType`

    - #### withAutoScalingType

          public Instance withAutoScalingType(java.lang.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.

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

      Constraints:
      Allowed Values: load, timer

      パラメータ:
        `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.
      関連項目:
        `AutoScalingType`

    - #### setAutoScalingType

          public 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.

      Constraints:
      Allowed Values: load, timer

      パラメータ:
        `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.
      関連項目:
        `AutoScalingType`

    - #### withAutoScalingType

          public 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.

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

      Constraints:
      Allowed Values: load, timer

      パラメータ:
        `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.
      関連項目:
        `AutoScalingType`

    - #### getSshKeyName

          public java.lang.String getSshKeyName()

      The instance SSH key name.
      戻り値:
        The instance SSH key name.

    - #### setSshKeyName

          public void setSshKeyName(java.lang.String sshKeyName)

      The instance SSH key name.
      パラメータ:
        `sshKeyName` - The instance SSH key name.

    - #### withSshKeyName

          public Instance withSshKeyName(java.lang.String sshKeyName)

      The instance SSH key name.

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

      パラメータ:
        `sshKeyName` - The instance SSH key name.

    - #### getSshHostRsaKeyFingerprint

          public java.lang.String getSshHostRsaKeyFingerprint()

      The SSH key's RSA fingerprint.
      戻り値:
        The SSH key's RSA fingerprint.

    - #### setSshHostRsaKeyFingerprint

          public void setSshHostRsaKeyFingerprint(java.lang.String sshHostRsaKeyFingerprint)

      The SSH key's RSA fingerprint.
      パラメータ:
        `sshHostRsaKeyFingerprint` - The SSH key's RSA fingerprint.

    - #### withSshHostRsaKeyFingerprint

          public Instance withSshHostRsaKeyFingerprint(java.lang.String sshHostRsaKeyFingerprint)

      The SSH key's RSA fingerprint.

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

      パラメータ:
        `sshHostRsaKeyFingerprint` - The SSH key's RSA fingerprint.

    - #### getSshHostDsaKeyFingerprint

          public java.lang.String getSshHostDsaKeyFingerprint()

      The SSH key's DSA fingerprint.
      戻り値:
        The SSH key's DSA fingerprint.

    - #### setSshHostDsaKeyFingerprint

          public void setSshHostDsaKeyFingerprint(java.lang.String sshHostDsaKeyFingerprint)

      The SSH key's DSA fingerprint.
      パラメータ:
        `sshHostDsaKeyFingerprint` - The SSH key's DSA fingerprint.

    - #### withSshHostDsaKeyFingerprint

          public Instance withSshHostDsaKeyFingerprint(java.lang.String sshHostDsaKeyFingerprint)

      The SSH key's DSA fingerprint.

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

      パラメータ:
        `sshHostDsaKeyFingerprint` - The SSH key's DSA fingerprint.

    - #### getCreatedAt

          public java.lang.String getCreatedAt()

      The time that the instance was created.
      戻り値:
        The time that the instance was created.

    - #### setCreatedAt

          public void setCreatedAt(java.lang.String createdAt)

      The time that the instance was created.
      パラメータ:
        `createdAt` - The time that the instance was created.

    - #### withCreatedAt

          public Instance withCreatedAt(java.lang.String createdAt)

      The time that the instance was created.

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

      パラメータ:
        `createdAt` - The time that the instance was created.

    - #### getLastServiceErrorId

          public java.lang.String getLastServiceErrorId()

      The ID of the last service error. For more information, call DescribeServiceErrors.
      戻り値:
        The ID of the last service error. For more information, call DescribeServiceErrors.

    - #### setLastServiceErrorId

          public void setLastServiceErrorId(java.lang.String lastServiceErrorId)

      The ID of the last service error. For more information, call DescribeServiceErrors.
      パラメータ:
        `lastServiceErrorId` - The ID of the last service error. For more information, call DescribeServiceErrors.

    - #### withLastServiceErrorId

          public Instance withLastServiceErrorId(java.lang.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.

      パラメータ:
        `lastServiceErrorId` - The ID of the last service error. For more information, call DescribeServiceErrors.

    - #### getArchitecture

          public java.lang.String getArchitecture()

      The instance architecture, "i386" or "x86_64".

      Constraints:
      Allowed Values: x86_64, i386

      戻り値:
        The instance architecture, "i386" or "x86_64".
      関連項目:
        `Architecture`

    - #### setArchitecture

          public void setArchitecture(java.lang.String architecture)

      The instance architecture, "i386" or "x86_64".

      Constraints:
      Allowed Values: x86_64, i386

      パラメータ:
        `architecture` - The instance architecture, "i386" or "x86_64".
      関連項目:
        `Architecture`

    - #### withArchitecture

          public Instance withArchitecture(java.lang.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

      パラメータ:
        `architecture` - The instance architecture, "i386" or "x86_64".
      関連項目:
        `Architecture`

    - #### setArchitecture

          public void setArchitecture(Architecture architecture)

      The instance architecture, "i386" or "x86_64".

      Constraints:
      Allowed Values: x86_64, i386

      パラメータ:
        `architecture` - The instance architecture, "i386" or "x86_64".
      関連項目:
        `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

      パラメータ:
        `architecture` - The instance architecture, "i386" or "x86_64".
      関連項目:
        `Architecture`

    - #### getRootDeviceType

          public java.lang.String getRootDeviceType()

      The instance root device type. For more information, see Storage for the Root Device.

      Constraints:
      Allowed Values: ebs, instance-store

      戻り値:
        The instance root device type. For more information, see Storage for the Root Device.
      関連項目:
        `RootDeviceType`

    - #### setRootDeviceType

          public void setRootDeviceType(java.lang.String rootDeviceType)

      The instance root device type. For more information, see Storage for the Root Device.

      Constraints:
      Allowed Values: ebs, instance-store

      パラメータ:
        `rootDeviceType` - The instance root device type. For more information, see Storage for the Root Device.
      関連項目:
        `RootDeviceType`

    - #### withRootDeviceType

          public Instance withRootDeviceType(java.lang.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

      パラメータ:
        `rootDeviceType` - The instance root device type. For more information, see Storage for the Root Device.
      関連項目:
        `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

      パラメータ:
        `rootDeviceType` - The instance root device type. For more information, see Storage for the Root Device.
      関連項目:
        `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

      パラメータ:
        `rootDeviceType` - The instance root device type. For more information, see Storage for the Root Device.
      関連項目:
        `RootDeviceType`

    - #### getRootDeviceVolumeId

          public java.lang.String getRootDeviceVolumeId()

      The root device volume ID.
      戻り値:
        The root device volume ID.

    - #### setRootDeviceVolumeId

          public void setRootDeviceVolumeId(java.lang.String rootDeviceVolumeId)

      The root device volume ID.
      パラメータ:
        `rootDeviceVolumeId` - The root device volume ID.

    - #### withRootDeviceVolumeId

          public Instance withRootDeviceVolumeId(java.lang.String rootDeviceVolumeId)

      The root device volume ID.

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

      パラメータ:
        `rootDeviceVolumeId` - The root device volume ID.

    - #### isInstallUpdatesOnBoot

          public java.lang.Boolean isInstallUpdatesOnBoot()

      Whether to install operating system and package updates when the instance boots. The default value is `true`. If this value is set to `false`, you must then update your instances manually by using CreateDeployment to run the `update_dependencies` stack command or manually running `yum` (Amazon Linux) or `apt-get` (Ubuntu) on the instances. We strongly recommend using the default value of `true`, to ensure that your instances have the latest security updates.
      戻り値:
        Whether to install operating system and package updates when the instance boots. The default value is `true`. If this value is set to `false`, you must then update your instances manually by using CreateDeployment to run the `update_dependencies` stack command or manually running `yum` (Amazon Linux) or `apt-get` (Ubuntu) on the instances. We strongly recommend using the default value of `true`, to ensure that your instances have the latest security updates.

    - #### setInstallUpdatesOnBoot

          public void setInstallUpdatesOnBoot(java.lang.Boolean installUpdatesOnBoot)

      Whether to install operating system and package updates when the instance boots. The default value is `true`. If this value is set to `false`, you must then update your instances manually by using CreateDeployment to run the `update_dependencies` stack command or manually running `yum` (Amazon Linux) or `apt-get` (Ubuntu) on the instances. We strongly recommend using the default value of `true`, to ensure that your instances have the latest security updates.
      パラメータ:
        `installUpdatesOnBoot` - Whether to install operating system and package updates when the instance boots. The default value is `true`. If this value is set to `false`, you must then update your instances manually by using CreateDeployment to run the `update_dependencies` stack command or manually running `yum` (Amazon Linux) or `apt-get` (Ubuntu) on the instances. We strongly recommend using the default value of `true`, to ensure that your instances have the latest security updates.

    - #### withInstallUpdatesOnBoot

          public Instance withInstallUpdatesOnBoot(java.lang.Boolean installUpdatesOnBoot)

      Whether to install operating system and package updates when the instance boots. The default value is `true`. If this value is set to `false`, you must then update your instances manually by using CreateDeployment to run the `update_dependencies` stack command or manually running `yum` (Amazon Linux) or `apt-get` (Ubuntu) on the instances. We strongly recommend using the default value of `true`, to ensure that your instances have the latest security updates.

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

      パラメータ:
        `installUpdatesOnBoot` - Whether to install operating system and package updates when the instance boots. The default value is `true`. If this value is set to `false`, you must then update your instances manually by using CreateDeployment to run the `update_dependencies` stack command or manually running `yum` (Amazon Linux) or `apt-get` (Ubuntu) on the instances. We strongly recommend using the default value of `true`, to ensure that your instances have the latest security updates.

    - #### getInstallUpdatesOnBoot

          public java.lang.Boolean getInstallUpdatesOnBoot()

      Whether to install operating system and package updates when the instance boots. The default value is `true`. If this value is set to `false`, you must then update your instances manually by using CreateDeployment to run the `update_dependencies` stack command or manually running `yum` (Amazon Linux) or `apt-get` (Ubuntu) on the instances. We strongly recommend using the default value of `true`, to ensure that your instances have the latest security updates.
      戻り値:
        Whether to install operating system and package updates when the instance boots. The default value is `true`. If this value is set to `false`, you must then update your instances manually by using CreateDeployment to run the `update_dependencies` stack command or manually running `yum` (Amazon Linux) or `apt-get` (Ubuntu) on the instances. We strongly recommend using the default value of `true`, to ensure that your instances have the latest security updates.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`