Interface Instance.Builder

    • Method Detail

      • amiLaunchIndex

        Instance.Builder amiLaunchIndex​(Integer amiLaunchIndex)

        The Amazon Machine Image (AMI) launch index, which you can use to find this instance in the launch group.

        Parameters:
        amiLaunchIndex - The Amazon Machine Image (AMI) launch index, which you can use to find this instance in the launch group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • blockDeviceMappings

        Instance.Builder blockDeviceMappings​(Collection<InstanceBlockDeviceMapping> blockDeviceMappings)

        Any block device mapping entries for the instance.

        Parameters:
        blockDeviceMappings - Any block device mapping entries for the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • blockDeviceMappings

        Instance.Builder blockDeviceMappings​(InstanceBlockDeviceMapping... blockDeviceMappings)

        Any block device mapping entries for the instance.

        Parameters:
        blockDeviceMappings - Any block device mapping entries for the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cpuOptions

        Instance.Builder cpuOptions​(CpuOptions cpuOptions)

        The CPU options for the instance.

        Parameters:
        cpuOptions - The CPU options for the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdAt

        Instance.Builder createdAt​(Instant createdAt)

        When the instance was created.

        Parameters:
        createdAt - When the instance was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • imageId

        Instance.Builder imageId​(String imageId)

        The ID of the AMI used to launch the instance.

        Parameters:
        imageId - The ID of the AMI used to launch the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceId

        Instance.Builder instanceId​(String instanceId)

        The ID of the instance.

        Parameters:
        instanceId - The ID of the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceType

        Instance.Builder instanceType​(String instanceType)

        The instance type.

        Parameters:
        instanceType - The instance type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • privateIpAddress

        Instance.Builder privateIpAddress​(String privateIpAddress)

        The private IPv4 address assigned to the instance.

        Parameters:
        privateIpAddress - The private IPv4 address assigned to the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • publicIpAddress

        Instance.Builder publicIpAddress​(String publicIpAddress)

        The public IPv4 address assigned to the instance.

        Parameters:
        publicIpAddress - The public IPv4 address assigned to the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rootDeviceName

        Instance.Builder rootDeviceName​(String rootDeviceName)

        The device name of the root device volume (for example, /dev/sda1).

        Parameters:
        rootDeviceName - The device name of the root device volume (for example, /dev/sda1).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroups

        Instance.Builder securityGroups​(Collection<SecurityGroupIdentifier> securityGroups)

        The security groups for the instance.

        Parameters:
        securityGroups - The security groups for the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroups

        Instance.Builder securityGroups​(SecurityGroupIdentifier... securityGroups)

        The security groups for the instance.

        Parameters:
        securityGroups - The security groups for the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • state

        Instance.Builder state​(InstanceState state)
        Sets the value of the State property for this object.
        Parameters:
        state - The new value for the State property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedAt

        Instance.Builder updatedAt​(Instant updatedAt)

        When the instance was last updated.

        Parameters:
        updatedAt - When the instance was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.