com.amazonaws.services.ec2.model

## クラス Instance

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

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

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

  Represents an Amazon EC2 instance.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.Integer` | `getAmiLaunchIndex()` The AMI launch index, which can be used to find this instance within the launch group.
    `java.lang.String` | `getArchitecture()` The architecture of this instance.
    `java.util.List<InstanceBlockDeviceMapping>` | `getBlockDeviceMappings()` Block device mapping set.
    `java.lang.String` | `getClientToken()` Returns the value of the ClientToken property for this object.
    `java.lang.Boolean` | `getEbsOptimized()` Returns the value of the EbsOptimized property for this object.
    `java.lang.String` | `getHypervisor()` Returns the value of the Hypervisor property for this object.
    `IamInstanceProfile` | `getIamInstanceProfile()` Returns the value of the IamInstanceProfile property for this object.
    `java.lang.String` | `getImageId()` Image ID of the AMI used to launch the instance.
    `java.lang.String` | `getInstanceId()` Unique ID of the instance launched.
    `java.lang.String` | `getInstanceLifecycle()`
    `java.lang.String` | `getInstanceType()` The instance type.
    `java.lang.String` | `getKernelId()` Kernel associated with this instance.
    `java.lang.String` | `getKeyName()` If this instance was launched with an associated key pair, this displays the key pair name.
    `java.util.Date` | `getLaunchTime()` The time this instance launched.
    `InstanceLicense` | `getLicense()` Represents an active license in use and attached to an Amazon EC2 instance.
    `Monitoring` | `getMonitoring()` Monitoring status for this instance.
    `java.util.List<InstanceNetworkInterface>` | `getNetworkInterfaces()` Returns the value of the NetworkInterfaces property for this object.
    `Placement` | `getPlacement()` The location where this instance launched.
    `java.lang.String` | `getPlatform()` Platform of the instance (e.g., Windows).
    `java.lang.String` | `getPrivateDnsName()` The private DNS name assigned to the instance.
    `java.lang.String` | `getPrivateIpAddress()` Specifies the private IP address that is assigned to the instance (Amazon VPC).
    `java.util.List<ProductCode>` | `getProductCodes()` Product codes attached to this instance.
    `java.lang.String` | `getPublicDnsName()` The public DNS name assigned to the instance.
    `java.lang.String` | `getPublicIpAddress()` Specifies the IP address of the instance.
    `java.lang.String` | `getRamdiskId()` RAM disk associated with this instance.
    `java.lang.String` | `getRootDeviceName()` The root device name (e.g., `/dev/sda1`).
    `java.lang.String` | `getRootDeviceType()` The root device type used by the AMI.
    `java.util.List<GroupIdentifier>` | `getSecurityGroups()` Returns the value of the SecurityGroups property for this object.
    `java.lang.Boolean` | `getSourceDestCheck()` Returns the value of the SourceDestCheck property for this object.
    `java.lang.String` | `getSpotInstanceRequestId()`
    `InstanceState` | `getState()` The current state of the instance.
    `StateReason` | `getStateReason()` The reason for the state change.
    `java.lang.String` | `getStateTransitionReason()` Reason for the most recent state transition.
    `java.lang.String` | `getSubnetId()` Specifies the Amazon VPC subnet ID in which the instance is running.
    `java.util.List<Tag>` | `getTags()` A list of tags for the Instance.
    `java.lang.String` | `getVirtualizationType()` Returns the value of the VirtualizationType property for this object.
    `java.lang.String` | `getVpcId()` Specifies the Amazon VPC in which the instance is running.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isEbsOptimized()` Returns the value of the EbsOptimized property for this object.
    `java.lang.Boolean` | `isSourceDestCheck()` Returns the value of the SourceDestCheck property for this object.
    `void` | `setAmiLaunchIndex(java.lang.Integer amiLaunchIndex)` The AMI launch index, which can be used to find this instance within the launch group.
    `void` | `setArchitecture(java.lang.String architecture)` The architecture of this instance.
    `void` | `setBlockDeviceMappings(java.util.Collection<InstanceBlockDeviceMapping> blockDeviceMappings)` Block device mapping set.
    `void` | `setClientToken(java.lang.String clientToken)` Sets the value of the ClientToken property for this object.
    `void` | `setEbsOptimized(java.lang.Boolean ebsOptimized)` Sets the value of the EbsOptimized property for this object.
    `void` | `setHypervisor(HypervisorType hypervisor)` Sets the value of the Hypervisor property for this object.
    `void` | `setHypervisor(java.lang.String hypervisor)` Sets the value of the Hypervisor property for this object.
    `void` | `setIamInstanceProfile(IamInstanceProfile iamInstanceProfile)` Sets the value of the IamInstanceProfile property for this object.
    `void` | `setImageId(java.lang.String imageId)` Image ID of the AMI used to launch the instance.
    `void` | `setInstanceId(java.lang.String instanceId)` Unique ID of the instance launched.
    `void` | `setInstanceLifecycle(java.lang.String instanceLifecycle)`
    `void` | `setInstanceType(InstanceType instanceType)` The instance type.
    `void` | `setInstanceType(java.lang.String instanceType)` The instance type.
    `void` | `setKernelId(java.lang.String kernelId)` Kernel associated with this instance.
    `void` | `setKeyName(java.lang.String keyName)` If this instance was launched with an associated key pair, this displays the key pair name.
    `void` | `setLaunchTime(java.util.Date launchTime)` The time this instance launched.
    `void` | `setLicense(InstanceLicense license)` Represents an active license in use and attached to an Amazon EC2 instance.
    `void` | `setMonitoring(Monitoring monitoring)` Monitoring status for this instance.
    `void` | `setNetworkInterfaces(java.util.Collection<InstanceNetworkInterface> networkInterfaces)` Sets the value of the NetworkInterfaces property for this object.
    `void` | `setPlacement(Placement placement)` The location where this instance launched.
    `void` | `setPlatform(java.lang.String platform)` Platform of the instance (e.g., Windows).
    `void` | `setPrivateDnsName(java.lang.String privateDnsName)` The private DNS name assigned to the instance.
    `void` | `setPrivateIpAddress(java.lang.String privateIpAddress)` Specifies the private IP address that is assigned to the instance (Amazon VPC).
    `void` | `setProductCodes(java.util.Collection<ProductCode> productCodes)` Product codes attached to this instance.
    `void` | `setPublicDnsName(java.lang.String publicDnsName)` The public DNS name assigned to the instance.
    `void` | `setPublicIpAddress(java.lang.String publicIpAddress)` Specifies the IP address of the instance.
    `void` | `setRamdiskId(java.lang.String ramdiskId)` RAM disk associated with this instance.
    `void` | `setRootDeviceName(java.lang.String rootDeviceName)` The root device name (e.g., `/dev/sda1`).
    `void` | `setRootDeviceType(java.lang.String rootDeviceType)` The root device type used by the AMI.
    `void` | `setSecurityGroups(java.util.Collection<GroupIdentifier> securityGroups)` Sets the value of the SecurityGroups property for this object.
    `void` | `setSourceDestCheck(java.lang.Boolean sourceDestCheck)` Sets the value of the SourceDestCheck property for this object.
    `void` | `setSpotInstanceRequestId(java.lang.String spotInstanceRequestId)`
    `void` | `setState(InstanceState state)` The current state of the instance.
    `void` | `setStateReason(StateReason stateReason)` The reason for the state change.
    `void` | `setStateTransitionReason(java.lang.String stateTransitionReason)` Reason for the most recent state transition.
    `void` | `setSubnetId(java.lang.String subnetId)` Specifies the Amazon VPC subnet ID in which the instance is running.
    `void` | `setTags(java.util.Collection<Tag> tags)` A list of tags for the Instance.
    `void` | `setVirtualizationType(java.lang.String virtualizationType)` Sets the value of the VirtualizationType property for this object.
    `void` | `setVirtualizationType(VirtualizationType virtualizationType)` Sets the value of the VirtualizationType property for this object.
    `void` | `setVpcId(java.lang.String vpcId)` Specifies the Amazon VPC in which the instance is running.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `Instance` | `withAmiLaunchIndex(java.lang.Integer amiLaunchIndex)` The AMI launch index, which can be used to find this instance within the launch group.
    `Instance` | `withArchitecture(java.lang.String architecture)` The architecture of this instance.
    `Instance` | `withBlockDeviceMappings(java.util.Collection<InstanceBlockDeviceMapping> blockDeviceMappings)` Block device mapping set.
    `Instance` | `withBlockDeviceMappings(InstanceBlockDeviceMapping... blockDeviceMappings)` Block device mapping set.
    `Instance` | `withClientToken(java.lang.String clientToken)` Sets the value of the ClientToken property for this object.
    `Instance` | `withEbsOptimized(java.lang.Boolean ebsOptimized)` Sets the value of the EbsOptimized property for this object.
    `Instance` | `withHypervisor(HypervisorType hypervisor)` Sets the value of the Hypervisor property for this object.
    `Instance` | `withHypervisor(java.lang.String hypervisor)` Sets the value of the Hypervisor property for this object.
    `Instance` | `withIamInstanceProfile(IamInstanceProfile iamInstanceProfile)` Sets the value of the IamInstanceProfile property for this object.
    `Instance` | `withImageId(java.lang.String imageId)` Image ID of the AMI used to launch the instance.
    `Instance` | `withInstanceId(java.lang.String instanceId)` Unique ID of the instance launched.
    `Instance` | `withInstanceLifecycle(java.lang.String instanceLifecycle)` Returns a reference to this object so that method calls can be chained together.
    `Instance` | `withInstanceType(InstanceType instanceType)` The instance type.
    `Instance` | `withInstanceType(java.lang.String instanceType)` The instance type.
    `Instance` | `withKernelId(java.lang.String kernelId)` Kernel associated with this instance.
    `Instance` | `withKeyName(java.lang.String keyName)` If this instance was launched with an associated key pair, this displays the key pair name.
    `Instance` | `withLaunchTime(java.util.Date launchTime)` The time this instance launched.
    `Instance` | `withLicense(InstanceLicense license)` Represents an active license in use and attached to an Amazon EC2 instance.
    `Instance` | `withMonitoring(Monitoring monitoring)` Monitoring status for this instance.
    `Instance` | `withNetworkInterfaces(java.util.Collection<InstanceNetworkInterface> networkInterfaces)` Sets the value of the NetworkInterfaces property for this object.
    `Instance` | `withNetworkInterfaces(InstanceNetworkInterface... networkInterfaces)` Sets the value of the NetworkInterfaces property for this object.
    `Instance` | `withPlacement(Placement placement)` The location where this instance launched.
    `Instance` | `withPlatform(java.lang.String platform)` Platform of the instance (e.g., Windows).
    `Instance` | `withPrivateDnsName(java.lang.String privateDnsName)` The private DNS name assigned to the instance.
    `Instance` | `withPrivateIpAddress(java.lang.String privateIpAddress)` Specifies the private IP address that is assigned to the instance (Amazon VPC).
    `Instance` | `withProductCodes(java.util.Collection<ProductCode> productCodes)` Product codes attached to this instance.
    `Instance` | `withProductCodes(ProductCode... productCodes)` Product codes attached to this instance.
    `Instance` | `withPublicDnsName(java.lang.String publicDnsName)` The public DNS name assigned to the instance.
    `Instance` | `withPublicIpAddress(java.lang.String publicIpAddress)` Specifies the IP address of the instance.
    `Instance` | `withRamdiskId(java.lang.String ramdiskId)` RAM disk associated with this instance.
    `Instance` | `withRootDeviceName(java.lang.String rootDeviceName)` The root device name (e.g., `/dev/sda1`).
    `Instance` | `withRootDeviceType(java.lang.String rootDeviceType)` The root device type used by the AMI.
    `Instance` | `withSecurityGroups(java.util.Collection<GroupIdentifier> securityGroups)` Sets the value of the SecurityGroups property for this object.
    `Instance` | `withSecurityGroups(GroupIdentifier... securityGroups)` Sets the value of the SecurityGroups property for this object.
    `Instance` | `withSourceDestCheck(java.lang.Boolean sourceDestCheck)` Sets the value of the SourceDestCheck property for this object.
    `Instance` | `withSpotInstanceRequestId(java.lang.String spotInstanceRequestId)` Returns a reference to this object so that method calls can be chained together.
    `Instance` | `withState(InstanceState state)` The current state of the instance.
    `Instance` | `withStateReason(StateReason stateReason)` The reason for the state change.
    `Instance` | `withStateTransitionReason(java.lang.String stateTransitionReason)` Reason for the most recent state transition.
    `Instance` | `withSubnetId(java.lang.String subnetId)` Specifies the Amazon VPC subnet ID in which the instance is running.
    `Instance` | `withTags(java.util.Collection<Tag> tags)` A list of tags for the Instance.
    `Instance` | `withTags(Tag... tags)` A list of tags for the Instance.
    `Instance` | `withVirtualizationType(java.lang.String virtualizationType)` Sets the value of the VirtualizationType property for this object.
    `Instance` | `withVirtualizationType(VirtualizationType virtualizationType)` Sets the value of the VirtualizationType property for this object.
    `Instance` | `withVpcId(java.lang.String vpcId)` Specifies the Amazon VPC in which the instance is running.

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

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

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

    - #### Instance

          public Instance()

  - ### メソッドの詳細

    - #### getInstanceId

          public java.lang.String getInstanceId()

      Unique ID of the instance launched.
      戻り値:
        Unique ID of the instance launched.

    - #### setInstanceId

          public void setInstanceId(java.lang.String instanceId)

      Unique ID of the instance launched.
      パラメータ:
        `instanceId` - Unique ID of the instance launched.

    - #### withInstanceId

          public Instance withInstanceId(java.lang.String instanceId)

      Unique ID of the instance launched.

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

      パラメータ:
        `instanceId` - Unique ID of the instance launched.

    - #### getImageId

          public java.lang.String getImageId()

      Image ID of the AMI used to launch the instance.
      戻り値:
        Image ID of the AMI used to launch the instance.

    - #### setImageId

          public void setImageId(java.lang.String imageId)

      Image ID of the AMI used to launch the instance.
      パラメータ:
        `imageId` - Image ID of the AMI used to launch the instance.

    - #### withImageId

          public Instance withImageId(java.lang.String imageId)

      Image ID of the AMI used to launch the instance.

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

      パラメータ:
        `imageId` - Image ID of the AMI used to launch the instance.

    - #### getState

          public InstanceState getState()

      The current state of the instance.
      戻り値:
        The current state of the instance.

    - #### setState

          public void setState(InstanceState state)

      The current state of the instance.
      パラメータ:
        `state` - The current state of the instance.

    - #### withState

          public Instance withState(InstanceState state)

      The current state of the instance.

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

      パラメータ:
        `state` - The current state of the instance.

    - #### getPrivateDnsName

          public java.lang.String getPrivateDnsName()

      The private DNS name assigned to the instance. This DNS name can only be used inside the Amazon EC2 network. This element remains empty until the instance enters a running state.
      戻り値:
        The private DNS name assigned to the instance. This DNS name can only be used inside the Amazon EC2 network. This element remains empty until the instance enters a running state.

    - #### setPrivateDnsName

          public void setPrivateDnsName(java.lang.String privateDnsName)

      The private DNS name assigned to the instance. This DNS name can only be used inside the Amazon EC2 network. This element remains empty until the instance enters a running state.
      パラメータ:
        `privateDnsName` - The private DNS name assigned to the instance. This DNS name can only be used inside the Amazon EC2 network. This element remains empty until the instance enters a running state.

    - #### withPrivateDnsName

          public Instance withPrivateDnsName(java.lang.String privateDnsName)

      The private DNS name assigned to the instance. This DNS name can only be used inside the Amazon EC2 network. This element remains empty until the instance enters a running state.

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

      パラメータ:
        `privateDnsName` - The private DNS name assigned to the instance. This DNS name can only be used inside the Amazon EC2 network. This element remains empty until the instance enters a running state.

    - #### getPublicDnsName

          public java.lang.String getPublicDnsName()

      The public DNS name assigned to the instance. This DNS name is contactable from outside the Amazon EC2 network. This element remains empty until the instance enters a running state.
      戻り値:
        The public DNS name assigned to the instance. This DNS name is contactable from outside the Amazon EC2 network. This element remains empty until the instance enters a running state.

    - #### setPublicDnsName

          public void setPublicDnsName(java.lang.String publicDnsName)

      The public DNS name assigned to the instance. This DNS name is contactable from outside the Amazon EC2 network. This element remains empty until the instance enters a running state.
      パラメータ:
        `publicDnsName` - The public DNS name assigned to the instance. This DNS name is contactable from outside the Amazon EC2 network. This element remains empty until the instance enters a running state.

    - #### withPublicDnsName

          public Instance withPublicDnsName(java.lang.String publicDnsName)

      The public DNS name assigned to the instance. This DNS name is contactable from outside the Amazon EC2 network. This element remains empty until the instance enters a running state.

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

      パラメータ:
        `publicDnsName` - The public DNS name assigned to the instance. This DNS name is contactable from outside the Amazon EC2 network. This element remains empty until the instance enters a running state.

    - #### getStateTransitionReason

          public java.lang.String getStateTransitionReason()

      Reason for the most recent state transition. This might be an empty string.
      戻り値:
        Reason for the most recent state transition. This might be an empty string.

    - #### setStateTransitionReason

          public void setStateTransitionReason(java.lang.String stateTransitionReason)

      Reason for the most recent state transition. This might be an empty string.
      パラメータ:
        `stateTransitionReason` - Reason for the most recent state transition. This might be an empty string.

    - #### withStateTransitionReason

          public Instance withStateTransitionReason(java.lang.String stateTransitionReason)

      Reason for the most recent state transition. This might be an empty string.

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

      パラメータ:
        `stateTransitionReason` - Reason for the most recent state transition. This might be an empty string.

    - #### getKeyName

          public java.lang.String getKeyName()

      If this instance was launched with an associated key pair, this displays the key pair name.
      戻り値:
        If this instance was launched with an associated key pair, this displays the key pair name.

    - #### setKeyName

          public void setKeyName(java.lang.String keyName)

      If this instance was launched with an associated key pair, this displays the key pair name.
      パラメータ:
        `keyName` - If this instance was launched with an associated key pair, this displays the key pair name.

    - #### withKeyName

          public Instance withKeyName(java.lang.String keyName)

      If this instance was launched with an associated key pair, this displays the key pair name.

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

      パラメータ:
        `keyName` - If this instance was launched with an associated key pair, this displays the key pair name.

    - #### getAmiLaunchIndex

          public java.lang.Integer getAmiLaunchIndex()

      The AMI launch index, which can be used to find this instance within the launch group.
      戻り値:
        The AMI launch index, which can be used to find this instance within the launch group.

    - #### setAmiLaunchIndex

          public void setAmiLaunchIndex(java.lang.Integer amiLaunchIndex)

      The AMI launch index, which can be used to find this instance within the launch group.
      パラメータ:
        `amiLaunchIndex` - The AMI launch index, which can be used to find this instance within the launch group.

    - #### withAmiLaunchIndex

          public Instance withAmiLaunchIndex(java.lang.Integer amiLaunchIndex)

      The AMI launch index, which can be used to find this instance within the launch group.

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

      パラメータ:
        `amiLaunchIndex` - The AMI launch index, which can be used to find this instance within the launch group.

    - #### getProductCodes

          public java.util.List<ProductCode> getProductCodes()

      Product codes attached to this instance.
      戻り値:
        Product codes attached to this instance.

    - #### setProductCodes

          public void setProductCodes(java.util.Collection<ProductCode> productCodes)

      Product codes attached to this instance.
      パラメータ:
        `productCodes` - Product codes attached to this instance.

    - #### withProductCodes

          public Instance withProductCodes(ProductCode... productCodes)

      Product codes attached to this instance.

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

      パラメータ:
        `productCodes` - Product codes attached to this instance.

    - #### withProductCodes

          public Instance withProductCodes(java.util.Collection<ProductCode> productCodes)

      Product codes attached to this instance.

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

      パラメータ:
        `productCodes` - Product codes attached to this instance.

    - #### getInstanceType

          public java.lang.String getInstanceType()

      The instance type. For more information on instance types, please see the Amazon Elastic Compute Cloud Developer Guide.

      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

      戻り値:
        The instance type. For more information on instance types, please see the Amazon Elastic Compute Cloud Developer Guide.
      関連項目:
        `InstanceType`

    - #### setInstanceType

          public void setInstanceType(java.lang.String instanceType)

      The instance type. For more information on instance types, please see the Amazon Elastic Compute Cloud Developer Guide.

      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 instance type. For more information on instance types, please see the Amazon Elastic Compute Cloud Developer Guide.
      関連項目:
        `InstanceType`

    - #### withInstanceType

          public Instance withInstanceType(java.lang.String instanceType)

      The instance type. For more information on instance types, please see the Amazon Elastic Compute Cloud Developer Guide.

      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 instance type. For more information on instance types, please see the Amazon Elastic Compute Cloud Developer Guide.
      関連項目:
        `InstanceType`

    - #### setInstanceType

          public void setInstanceType(InstanceType instanceType)

      The instance type. For more information on instance types, please see the Amazon Elastic Compute Cloud Developer Guide.

      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 instance type. For more information on instance types, please see the Amazon Elastic Compute Cloud Developer Guide.
      関連項目:
        `InstanceType`

    - #### withInstanceType

          public Instance withInstanceType(InstanceType instanceType)

      The instance type. For more information on instance types, please see the Amazon Elastic Compute Cloud Developer Guide.

      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 instance type. For more information on instance types, please see the Amazon Elastic Compute Cloud Developer Guide.
      関連項目:
        `InstanceType`

    - #### getLaunchTime

          public java.util.Date getLaunchTime()

      The time this instance launched.
      戻り値:
        The time this instance launched.

    - #### setLaunchTime

          public void setLaunchTime(java.util.Date launchTime)

      The time this instance launched.
      パラメータ:
        `launchTime` - The time this instance launched.

    - #### withLaunchTime

          public Instance withLaunchTime(java.util.Date launchTime)

      The time this instance launched.

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

      パラメータ:
        `launchTime` - The time this instance launched.

    - #### getPlacement

          public Placement getPlacement()

      The location where this instance launched.
      戻り値:
        The location where this instance launched.

    - #### setPlacement

          public void setPlacement(Placement placement)

      The location where this instance launched.
      パラメータ:
        `placement` - The location where this instance launched.

    - #### withPlacement

          public Instance withPlacement(Placement placement)

      The location where this instance launched.

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

      パラメータ:
        `placement` - The location where this instance launched.

    - #### getKernelId

          public java.lang.String getKernelId()

      Kernel associated with this instance.
      戻り値:
        Kernel associated with this instance.

    - #### setKernelId

          public void setKernelId(java.lang.String kernelId)

      Kernel associated with this instance.
      パラメータ:
        `kernelId` - Kernel associated with this instance.

    - #### withKernelId

          public Instance withKernelId(java.lang.String kernelId)

      Kernel associated with this instance.

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

      パラメータ:
        `kernelId` - Kernel associated with this instance.

    - #### getRamdiskId

          public java.lang.String getRamdiskId()

      RAM disk associated with this instance.
      戻り値:
        RAM disk associated with this instance.

    - #### setRamdiskId

          public void setRamdiskId(java.lang.String ramdiskId)

      RAM disk associated with this instance.
      パラメータ:
        `ramdiskId` - RAM disk associated with this instance.

    - #### withRamdiskId

          public Instance withRamdiskId(java.lang.String ramdiskId)

      RAM disk associated with this instance.

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

      パラメータ:
        `ramdiskId` - RAM disk associated with this instance.

    - #### getPlatform

          public java.lang.String getPlatform()

      Platform of the instance (e.g., Windows).
      戻り値:
        Platform of the instance (e.g., Windows).

    - #### setPlatform

          public void setPlatform(java.lang.String platform)

      Platform of the instance (e.g., Windows).
      パラメータ:
        `platform` - Platform of the instance (e.g., Windows).

    - #### withPlatform

          public Instance withPlatform(java.lang.String platform)

      Platform of the instance (e.g., Windows).

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

      パラメータ:
        `platform` - Platform of the instance (e.g., Windows).

    - #### getMonitoring

          public Monitoring getMonitoring()

      Monitoring status for this instance.
      戻り値:
        Monitoring status for this instance.

    - #### setMonitoring

          public void setMonitoring(Monitoring monitoring)

      Monitoring status for this instance.
      パラメータ:
        `monitoring` - Monitoring status for this instance.

    - #### withMonitoring

          public Instance withMonitoring(Monitoring monitoring)

      Monitoring status for this instance.

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

      パラメータ:
        `monitoring` - Monitoring status for this instance.

    - #### getSubnetId

          public java.lang.String getSubnetId()

      Specifies the Amazon VPC subnet ID in which the instance is running.
      戻り値:
        Specifies the Amazon VPC subnet ID in which the instance is running.

    - #### setSubnetId

          public void setSubnetId(java.lang.String subnetId)

      Specifies the Amazon VPC subnet ID in which the instance is running.
      パラメータ:
        `subnetId` - Specifies the Amazon VPC subnet ID in which the instance is running.

    - #### withSubnetId

          public Instance withSubnetId(java.lang.String subnetId)

      Specifies the Amazon VPC subnet ID in which the instance is running.

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

      パラメータ:
        `subnetId` - Specifies the Amazon VPC subnet ID in which the instance is running.

    - #### getVpcId

          public java.lang.String getVpcId()

      Specifies the Amazon VPC in which the instance is running.
      戻り値:
        Specifies the Amazon VPC in which the instance is running.

    - #### setVpcId

          public void setVpcId(java.lang.String vpcId)

      Specifies the Amazon VPC in which the instance is running.
      パラメータ:
        `vpcId` - Specifies the Amazon VPC in which the instance is running.

    - #### withVpcId

          public Instance withVpcId(java.lang.String vpcId)

      Specifies the Amazon VPC in which the instance is running.

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

      パラメータ:
        `vpcId` - Specifies the Amazon VPC in which the instance is running.

    - #### getPrivateIpAddress

          public java.lang.String getPrivateIpAddress()

      Specifies the private IP address that is assigned to the instance (Amazon VPC).
      戻り値:
        Specifies the private IP address that is assigned to the instance (Amazon VPC).

    - #### setPrivateIpAddress

          public void setPrivateIpAddress(java.lang.String privateIpAddress)

      Specifies the private IP address that is assigned to the instance (Amazon VPC).
      パラメータ:
        `privateIpAddress` - Specifies the private IP address that is assigned to the instance (Amazon VPC).

    - #### withPrivateIpAddress

          public Instance withPrivateIpAddress(java.lang.String privateIpAddress)

      Specifies the private IP address that is assigned to the instance (Amazon VPC).

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

      パラメータ:
        `privateIpAddress` - Specifies the private IP address that is assigned to the instance (Amazon VPC).

    - #### getPublicIpAddress

          public java.lang.String getPublicIpAddress()

      Specifies the IP address of the instance.
      戻り値:
        Specifies the IP address of the instance.

    - #### setPublicIpAddress

          public void setPublicIpAddress(java.lang.String publicIpAddress)

      Specifies the IP address of the instance.
      パラメータ:
        `publicIpAddress` - Specifies the IP address of the instance.

    - #### withPublicIpAddress

          public Instance withPublicIpAddress(java.lang.String publicIpAddress)

      Specifies the IP address of the instance.

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

      パラメータ:
        `publicIpAddress` - Specifies the IP address of the instance.

    - #### getStateReason

          public StateReason getStateReason()

      The reason for the state change.
      戻り値:
        The reason for the state change.

    - #### setStateReason

          public void setStateReason(StateReason stateReason)

      The reason for the state change.
      パラメータ:
        `stateReason` - The reason for the state change.

    - #### withStateReason

          public Instance withStateReason(StateReason stateReason)

      The reason for the state change.

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

      パラメータ:
        `stateReason` - The reason for the state change.

    - #### getArchitecture

          public java.lang.String getArchitecture()

      The architecture of this instance.
      戻り値:
        The architecture of this instance.

    - #### setArchitecture

          public void setArchitecture(java.lang.String architecture)

      The architecture of this instance.
      パラメータ:
        `architecture` - The architecture of this instance.

    - #### withArchitecture

          public Instance withArchitecture(java.lang.String architecture)

      The architecture of this instance.

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

      パラメータ:
        `architecture` - The architecture of this instance.

    - #### getRootDeviceType

          public java.lang.String getRootDeviceType()

      The root device type used by the AMI. The AMI can use an Amazon EBS or instance store root device.
      戻り値:
        The root device type used by the AMI. The AMI can use an Amazon EBS or instance store root device.

    - #### setRootDeviceType

          public void setRootDeviceType(java.lang.String rootDeviceType)

      The root device type used by the AMI. The AMI can use an Amazon EBS or instance store root device.
      パラメータ:
        `rootDeviceType` - The root device type used by the AMI. The AMI can use an Amazon EBS or instance store root device.

    - #### withRootDeviceType

          public Instance withRootDeviceType(java.lang.String rootDeviceType)

      The root device type used by the AMI. The AMI can use an Amazon EBS or instance store root device.

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

      パラメータ:
        `rootDeviceType` - The root device type used by the AMI. The AMI can use an Amazon EBS or instance store root device.

    - #### getRootDeviceName

          public java.lang.String getRootDeviceName()

      The root device name (e.g., `/dev/sda1`).
      戻り値:
        The root device name (e.g., `/dev/sda1`).

    - #### setRootDeviceName

          public void setRootDeviceName(java.lang.String rootDeviceName)

      The root device name (e.g., `/dev/sda1`).
      パラメータ:
        `rootDeviceName` - The root device name (e.g., `/dev/sda1`).

    - #### withRootDeviceName

          public Instance withRootDeviceName(java.lang.String rootDeviceName)

      The root device name (e.g., `/dev/sda1`).

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

      パラメータ:
        `rootDeviceName` - The root device name (e.g., `/dev/sda1`).

    - #### getBlockDeviceMappings

          public java.util.List<InstanceBlockDeviceMapping> getBlockDeviceMappings()

      Block device mapping set.
      戻り値:
        Block device mapping set.

    - #### setBlockDeviceMappings

          public void setBlockDeviceMappings(java.util.Collection<InstanceBlockDeviceMapping> blockDeviceMappings)

      Block device mapping set.
      パラメータ:
        `blockDeviceMappings` - Block device mapping set.

    - #### withBlockDeviceMappings

          public Instance withBlockDeviceMappings(InstanceBlockDeviceMapping... blockDeviceMappings)

      Block device mapping set.

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

      パラメータ:
        `blockDeviceMappings` - Block device mapping set.

    - #### withBlockDeviceMappings

          public Instance withBlockDeviceMappings(java.util.Collection<InstanceBlockDeviceMapping> blockDeviceMappings)

      Block device mapping set.

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

      パラメータ:
        `blockDeviceMappings` - Block device mapping set.

    - #### getVirtualizationType

          public java.lang.String getVirtualizationType()

      Returns the value of the VirtualizationType property for this object.

      Constraints:
      Allowed Values: hvm, paravirtual

      戻り値:
        The value of the VirtualizationType property for this object.
      関連項目:
        `VirtualizationType`

    - #### setVirtualizationType

          public void setVirtualizationType(java.lang.String virtualizationType)

      Sets the value of the VirtualizationType property for this object.

      Constraints:
      Allowed Values: hvm, paravirtual

      パラメータ:
        `virtualizationType` - The new value for the VirtualizationType property for this object.
      関連項目:
        `VirtualizationType`

    - #### withVirtualizationType

          public Instance withVirtualizationType(java.lang.String virtualizationType)

      Sets the value of the VirtualizationType property for this object.

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

      Constraints:
      Allowed Values: hvm, paravirtual

      パラメータ:
        `virtualizationType` - The new value for the VirtualizationType property for this object.
      関連項目:
        `VirtualizationType`

    - #### setVirtualizationType

          public void setVirtualizationType(VirtualizationType virtualizationType)

      Sets the value of the VirtualizationType property for this object.

      Constraints:
      Allowed Values: hvm, paravirtual

      パラメータ:
        `virtualizationType` - The new value for the VirtualizationType property for this object.
      関連項目:
        `VirtualizationType`

    - #### withVirtualizationType

          public Instance withVirtualizationType(VirtualizationType virtualizationType)

      Sets the value of the VirtualizationType property for this object.

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

      Constraints:
      Allowed Values: hvm, paravirtual

      パラメータ:
        `virtualizationType` - The new value for the VirtualizationType property for this object.
      関連項目:
        `VirtualizationType`

    - #### getInstanceLifecycle

          public java.lang.String getInstanceLifecycle()

      戻り値:

    - #### setInstanceLifecycle

          public void setInstanceLifecycle(java.lang.String instanceLifecycle)

      パラメータ:
        `instanceLifecycle` -

    - #### withInstanceLifecycle

          public Instance withInstanceLifecycle(java.lang.String instanceLifecycle)

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

      パラメータ:
        `instanceLifecycle` -

    - #### getSpotInstanceRequestId

          public java.lang.String getSpotInstanceRequestId()

      戻り値:

    - #### setSpotInstanceRequestId

          public void setSpotInstanceRequestId(java.lang.String spotInstanceRequestId)

      パラメータ:
        `spotInstanceRequestId` -

    - #### withSpotInstanceRequestId

          public Instance withSpotInstanceRequestId(java.lang.String spotInstanceRequestId)

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

      パラメータ:
        `spotInstanceRequestId` -

    - #### getLicense

          public InstanceLicense getLicense()

      Represents an active license in use and attached to an Amazon EC2 instance.
      戻り値:
        Represents an active license in use and attached to an Amazon EC2 instance.

    - #### setLicense

          public void setLicense(InstanceLicense license)

      Represents an active license in use and attached to an Amazon EC2 instance.
      パラメータ:
        `license` - Represents an active license in use and attached to an Amazon EC2 instance.

    - #### withLicense

          public Instance withLicense(InstanceLicense license)

      Represents an active license in use and attached to an Amazon EC2 instance.

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

      パラメータ:
        `license` - Represents an active license in use and attached to an Amazon EC2 instance.

    - #### getClientToken

          public java.lang.String getClientToken()

      Returns the value of the ClientToken property for this object.
      戻り値:
        The value of the ClientToken property for this object.

    - #### setClientToken

          public void setClientToken(java.lang.String clientToken)

      Sets the value of the ClientToken property for this object.
      パラメータ:
        `clientToken` - The new value for the ClientToken property for this object.

    - #### withClientToken

          public Instance withClientToken(java.lang.String clientToken)

      Sets the value of the ClientToken property for this object.

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

      パラメータ:
        `clientToken` - The new value for the ClientToken property for this object.

    - #### getTags

          public java.util.List<Tag> getTags()

      A list of tags for the Instance.
      戻り値:
        A list of tags for the Instance.

    - #### setTags

          public void setTags(java.util.Collection<Tag> tags)

      A list of tags for the Instance.
      パラメータ:
        `tags` - A list of tags for the Instance.

    - #### withTags

          public Instance withTags(Tag... tags)

      A list of tags for the Instance.

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

      パラメータ:
        `tags` - A list of tags for the Instance.

    - #### withTags

          public Instance withTags(java.util.Collection<Tag> tags)

      A list of tags for the Instance.

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

      パラメータ:
        `tags` - A list of tags for the Instance.

    - #### getSecurityGroups

          public java.util.List<GroupIdentifier> getSecurityGroups()

      Returns the value of the SecurityGroups property for this object.
      戻り値:
        The value of the SecurityGroups property for this object.

    - #### setSecurityGroups

          public void setSecurityGroups(java.util.Collection<GroupIdentifier> securityGroups)

      Sets the value of the SecurityGroups property for this object.
      パラメータ:
        `securityGroups` - The new value for the SecurityGroups property for this object.

    - #### withSecurityGroups

          public Instance withSecurityGroups(GroupIdentifier... securityGroups)

      Sets the value of the SecurityGroups property for this object.

      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.

    - #### withSecurityGroups

          public Instance withSecurityGroups(java.util.Collection<GroupIdentifier> securityGroups)

      Sets the value of the SecurityGroups property for this object.

      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.

    - #### isSourceDestCheck

          public java.lang.Boolean isSourceDestCheck()

      Returns the value of the SourceDestCheck property for this object.
      戻り値:
        The value of the SourceDestCheck property for this object.

    - #### setSourceDestCheck

          public void setSourceDestCheck(java.lang.Boolean sourceDestCheck)

      Sets the value of the SourceDestCheck property for this object.
      パラメータ:
        `sourceDestCheck` - The new value for the SourceDestCheck property for this object.

    - #### withSourceDestCheck

          public Instance withSourceDestCheck(java.lang.Boolean sourceDestCheck)

      Sets the value of the SourceDestCheck property for this object.

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

      パラメータ:
        `sourceDestCheck` - The new value for the SourceDestCheck property for this object.

    - #### getSourceDestCheck

          public java.lang.Boolean getSourceDestCheck()

      Returns the value of the SourceDestCheck property for this object.
      戻り値:
        The value of the SourceDestCheck property for this object.

    - #### getHypervisor

          public java.lang.String getHypervisor()

      Returns the value of the Hypervisor property for this object.

      Constraints:
      Allowed Values: ovm, xen

      戻り値:
        The value of the Hypervisor property for this object.
      関連項目:
        `HypervisorType`

    - #### setHypervisor

          public void setHypervisor(java.lang.String hypervisor)

      Sets the value of the Hypervisor property for this object.

      Constraints:
      Allowed Values: ovm, xen

      パラメータ:
        `hypervisor` - The new value for the Hypervisor property for this object.
      関連項目:
        `HypervisorType`

    - #### withHypervisor

          public Instance withHypervisor(java.lang.String hypervisor)

      Sets the value of the Hypervisor property for this object.

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

      Constraints:
      Allowed Values: ovm, xen

      パラメータ:
        `hypervisor` - The new value for the Hypervisor property for this object.
      関連項目:
        `HypervisorType`

    - #### setHypervisor

          public void setHypervisor(HypervisorType hypervisor)

      Sets the value of the Hypervisor property for this object.

      Constraints:
      Allowed Values: ovm, xen

      パラメータ:
        `hypervisor` - The new value for the Hypervisor property for this object.
      関連項目:
        `HypervisorType`

    - #### withHypervisor

          public Instance withHypervisor(HypervisorType hypervisor)

      Sets the value of the Hypervisor property for this object.

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

      Constraints:
      Allowed Values: ovm, xen

      パラメータ:
        `hypervisor` - The new value for the Hypervisor property for this object.
      関連項目:
        `HypervisorType`

    - #### getNetworkInterfaces

          public java.util.List<InstanceNetworkInterface> getNetworkInterfaces()

      Returns the value of the NetworkInterfaces property for this object.
      戻り値:
        The value of the NetworkInterfaces property for this object.

    - #### setNetworkInterfaces

          public void setNetworkInterfaces(java.util.Collection<InstanceNetworkInterface> networkInterfaces)

      Sets the value of the NetworkInterfaces property for this object.
      パラメータ:
        `networkInterfaces` - The new value for the NetworkInterfaces property for this object.

    - #### withNetworkInterfaces

          public Instance withNetworkInterfaces(InstanceNetworkInterface... networkInterfaces)

      Sets the value of the NetworkInterfaces property for this object.

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

      パラメータ:
        `networkInterfaces` - The new value for the NetworkInterfaces property for this object.

    - #### withNetworkInterfaces

          public Instance withNetworkInterfaces(java.util.Collection<InstanceNetworkInterface> networkInterfaces)

      Sets the value of the NetworkInterfaces property for this object.

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

      パラメータ:
        `networkInterfaces` - The new value for the NetworkInterfaces property for this object.

    - #### getIamInstanceProfile

          public IamInstanceProfile getIamInstanceProfile()

      Returns the value of the IamInstanceProfile property for this object.
      戻り値:
        The value of the IamInstanceProfile property for this object.

    - #### setIamInstanceProfile

          public void setIamInstanceProfile(IamInstanceProfile iamInstanceProfile)

      Sets the value of the IamInstanceProfile property for this object.
      パラメータ:
        `iamInstanceProfile` - The new value for the IamInstanceProfile property for this object.

    - #### withIamInstanceProfile

          public Instance withIamInstanceProfile(IamInstanceProfile iamInstanceProfile)

      Sets the value of the IamInstanceProfile property for this object.

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

      パラメータ:
        `iamInstanceProfile` - The new value for the IamInstanceProfile property for this object.

    - #### isEbsOptimized

          public java.lang.Boolean isEbsOptimized()

      Returns the value of the EbsOptimized property for this object.
      戻り値:
        The value of the EbsOptimized property for this object.

    - #### setEbsOptimized

          public void setEbsOptimized(java.lang.Boolean ebsOptimized)

      Sets the value of the EbsOptimized property for this object.
      パラメータ:
        `ebsOptimized` - The new value for the EbsOptimized property for this object.

    - #### withEbsOptimized

          public Instance withEbsOptimized(java.lang.Boolean ebsOptimized)

      Sets the value of the EbsOptimized property for this object.

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

      パラメータ:
        `ebsOptimized` - The new value for the EbsOptimized property for this object.

    - #### getEbsOptimized

          public java.lang.Boolean getEbsOptimized()

      Returns the value of the EbsOptimized property for this object.
      戻り値:
        The value of the EbsOptimized property for this object.

    - #### 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`