Interface InstanceConfiguration.Builder

    • Method Detail

      • image

        InstanceConfiguration.Builder image​(String image)

        The AMI ID to use as the base image for a container build and test instance. If not specified, Image Builder will use the appropriate ECS-optimized AMI as a base image.

        Parameters:
        image - The AMI ID to use as the base image for a container build and test instance. If not specified, Image Builder will use the appropriate ECS-optimized AMI as a base image.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • blockDeviceMappings

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

        Defines the block devices to attach for building an instance from this Image Builder AMI.

        Parameters:
        blockDeviceMappings - Defines the block devices to attach for building an instance from this Image Builder AMI.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • blockDeviceMappings

        InstanceConfiguration.Builder blockDeviceMappings​(InstanceBlockDeviceMapping... blockDeviceMappings)

        Defines the block devices to attach for building an instance from this Image Builder AMI.

        Parameters:
        blockDeviceMappings - Defines the block devices to attach for building an instance from this Image Builder AMI.
        Returns:
        Returns a reference to this object so that method calls can be chained together.