Class AwsEc2Properties.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • architecture

        public AwsEc2Properties.Builder architecture​(String architecture)
        The architecture of the image.
        Parameters:
        architecture - the value to set
        Returns:
        this builder
      • bootMode

        public AwsEc2Properties.Builder bootMode​(String bootMode)
        The boot mode of the instance.
        Parameters:
        bootMode - the value to set
        Returns:
        this builder
      • capacityReservationKey

        public AwsEc2Properties.Builder capacityReservationKey​(String capacityReservationKey)
        The ID of the Capacity Reservation.
        Parameters:
        capacityReservationKey - the value to set
        Returns:
        this builder
      • areElasticInferenceAcceleratorsPresent

        public AwsEc2Properties.Builder areElasticInferenceAcceleratorsPresent​(Boolean areElasticInferenceAcceleratorsPresent)
        Indicates if the elastic inference accelerators attached to an instance
        Parameters:
        areElasticInferenceAcceleratorsPresent - the value to set
        Returns:
        this builder
      • isEnclaveOptions

        public AwsEc2Properties.Builder isEnclaveOptions​(Boolean isEnclaveOptions)
        Indicates whether the instance is enabled for AWS Nitro Enclaves.
        Parameters:
        isEnclaveOptions - the value to set
        Returns:
        this builder
      • isHibernationOptions

        public AwsEc2Properties.Builder isHibernationOptions​(Boolean isHibernationOptions)
        Indicates whether the instance is enabled for hibernation.
        Parameters:
        isHibernationOptions - the value to set
        Returns:
        this builder
      • imageKey

        public AwsEc2Properties.Builder imageKey​(String imageKey)
        The ID of the AMI used to launch the instance.
        Parameters:
        imageKey - the value to set
        Returns:
        this builder
      • instanceKey

        public AwsEc2Properties.Builder instanceKey​(String instanceKey)
        The ID of the instance.
        Parameters:
        instanceKey - the value to set
        Returns:
        this builder
      • instanceLifecycle

        public AwsEc2Properties.Builder instanceLifecycle​(String instanceLifecycle)
        Indicates whether this is a Spot Instance or a Scheduled Instance.
        Parameters:
        instanceLifecycle - the value to set
        Returns:
        this builder
      • instanceType

        public AwsEc2Properties.Builder instanceType​(String instanceType)
        The instance type.
        Parameters:
        instanceType - the value to set
        Returns:
        this builder
      • ipAddress

        public AwsEc2Properties.Builder ipAddress​(String ipAddress)
        The public IPv4 address, or the Carrier IP address assigned to the instance.
        Parameters:
        ipAddress - the value to set
        Returns:
        this builder
      • ipv6Address

        public AwsEc2Properties.Builder ipv6Address​(String ipv6Address)
        The IPv6 address assigned to the instance.
        Parameters:
        ipv6Address - the value to set
        Returns:
        this builder
      • kernelKey

        public AwsEc2Properties.Builder kernelKey​(String kernelKey)
        The kernel associated with this instance, if applicable.
        Parameters:
        kernelKey - the value to set
        Returns:
        this builder
      • timeLaunch

        public AwsEc2Properties.Builder timeLaunch​(Date timeLaunch)
        The time the instance was launched.
        Parameters:
        timeLaunch - the value to set
        Returns:
        this builder
      • licenses

        public AwsEc2Properties.Builder licenses​(List<String> licenses)
        The license configurations for the instance.
        Parameters:
        licenses - the value to set
        Returns:
        this builder
      • maintenanceOptions

        public AwsEc2Properties.Builder maintenanceOptions​(String maintenanceOptions)
        Provides information on the recovery and maintenance options of your instance.
        Parameters:
        maintenanceOptions - the value to set
        Returns:
        this builder
      • monitoring

        public AwsEc2Properties.Builder monitoring​(String monitoring)
        The monitoring for the instance.
        Parameters:
        monitoring - the value to set
        Returns:
        this builder
      • privateDnsName

        public AwsEc2Properties.Builder privateDnsName​(String privateDnsName)
        (IPv4 only) The private DNS hostname name assigned to the instance.
        Parameters:
        privateDnsName - the value to set
        Returns:
        this builder
      • privateIpAddress

        public AwsEc2Properties.Builder privateIpAddress​(String privateIpAddress)
        The private IPv4 address assigned to the instance.
        Parameters:
        privateIpAddress - the value to set
        Returns:
        this builder
      • rootDeviceName

        public AwsEc2Properties.Builder rootDeviceName​(String rootDeviceName)
        The device name of the root device volume.
        Parameters:
        rootDeviceName - the value to set
        Returns:
        this builder
      • rootDeviceType

        public AwsEc2Properties.Builder rootDeviceType​(String rootDeviceType)
        The root device type used by the AMI.

        The AMI can use an EBS volume or an instance store volume.

        Parameters:
        rootDeviceType - the value to set
        Returns:
        this builder
      • isSourceDestCheck

        public AwsEc2Properties.Builder isSourceDestCheck​(Boolean isSourceDestCheck)
        Indicates whether source/destination checking is enabled.
        Parameters:
        isSourceDestCheck - the value to set
        Returns:
        this builder
      • isSpotInstance

        public AwsEc2Properties.Builder isSpotInstance​(Boolean isSpotInstance)
        If the request is a Spot Instance request, this value will be true.
        Parameters:
        isSpotInstance - the value to set
        Returns:
        this builder
      • sriovNetSupport

        public AwsEc2Properties.Builder sriovNetSupport​(String sriovNetSupport)
        Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
        Parameters:
        sriovNetSupport - the value to set
        Returns:
        this builder
      • subnetKey

        public AwsEc2Properties.Builder subnetKey​(String subnetKey)
        EC2-VPC The ID of the subnet in which the instance is running.
        Parameters:
        subnetKey - the value to set
        Returns:
        this builder
      • tags

        public AwsEc2Properties.Builder tags​(List<Tag> tags)
        Any tags assigned to the instance.
        Parameters:
        tags - the value to set
        Returns:
        this builder
      • tpmSupport

        public AwsEc2Properties.Builder tpmSupport​(String tpmSupport)
        If the instance is configured for NitroTPM support, the value is v2.0.
        Parameters:
        tpmSupport - the value to set
        Returns:
        this builder
      • virtualizationType

        public AwsEc2Properties.Builder virtualizationType​(String virtualizationType)
        The virtualization type of the instance.
        Parameters:
        virtualizationType - the value to set
        Returns:
        this builder
      • vpcKey

        public AwsEc2Properties.Builder vpcKey​(String vpcKey)
        EC2-VPC The ID of the VPC in which the instance is running.
        Parameters:
        vpcKey - the value to set
        Returns:
        this builder