Interface Host.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Host.Builder,Host>, SdkBuilder<Host.Builder,Host>, SdkPojo
Enclosing class:
Host

@Mutable @NotThreadSafe public static interface Host.Builder extends SdkPojo, CopyableBuilder<Host.Builder,Host>
  • Method Details

    • hostName

      Host.Builder hostName(String hostName)

      The DNS hostname of the host. DNS hostnames for hosts must be unique across Amazon EVS environments and within VCF.

      Parameters:
      hostName - The DNS hostname of the host. DNS hostnames for hosts must be unique across Amazon EVS environments and within VCF.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipAddress

      Host.Builder ipAddress(String ipAddress)

      The IP address of the host.

      Parameters:
      ipAddress - The IP address of the host.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyName

      Host.Builder keyName(String keyName)

      The name of the SSH key that is used to access the host.

      Parameters:
      keyName - The name of the SSH key that is used to access the host.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceType

      Host.Builder instanceType(String instanceType)

      The EC2 instance type of the host.

      EC2 instances created through Amazon EVS do not support associating an IAM instance profile.

      Parameters:
      instanceType - The EC2 instance type of the host.

      EC2 instances created through Amazon EVS do not support associating an IAM instance profile.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • instanceType

      Host.Builder instanceType(InstanceType instanceType)

      The EC2 instance type of the host.

      EC2 instances created through Amazon EVS do not support associating an IAM instance profile.

      Parameters:
      instanceType - The EC2 instance type of the host.

      EC2 instances created through Amazon EVS do not support associating an IAM instance profile.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • placementGroupId

      Host.Builder placementGroupId(String placementGroupId)

      The unique ID of the placement group where the host is placed.

      Parameters:
      placementGroupId - The unique ID of the placement group where the host is placed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dedicatedHostId

      Host.Builder dedicatedHostId(String dedicatedHostId)

      The unique ID of the Amazon EC2 Dedicated Host.

      Parameters:
      dedicatedHostId - The unique ID of the Amazon EC2 Dedicated Host.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      Host.Builder createdAt(Instant createdAt)

      The date and time that the host was created.

      Parameters:
      createdAt - The date and time that the host was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modifiedAt

      Host.Builder modifiedAt(Instant modifiedAt)

      The date and time that the host was modified.

      Parameters:
      modifiedAt - The date and time that the host was modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hostState

      Host.Builder hostState(String hostState)

      The state of the host.

      Parameters:
      hostState - The state of the host.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • hostState

      Host.Builder hostState(HostState hostState)

      The state of the host.

      Parameters:
      hostState - The state of the host.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stateDetails

      Host.Builder stateDetails(String stateDetails)

      A detailed description of the hostState of a host.

      Parameters:
      stateDetails - A detailed description of the hostState of a host.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ec2InstanceId

      Host.Builder ec2InstanceId(String ec2InstanceId)

      The unique ID of the EC2 instance that represents the host.

      Parameters:
      ec2InstanceId - The unique ID of the EC2 instance that represents the host.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkInterfaces

      Host.Builder networkInterfaces(Collection<NetworkInterface> networkInterfaces)

      The elastic network interfaces that are attached to the host.

      Parameters:
      networkInterfaces - The elastic network interfaces that are attached to the host.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkInterfaces

      Host.Builder networkInterfaces(NetworkInterface... networkInterfaces)

      The elastic network interfaces that are attached to the host.

      Parameters:
      networkInterfaces - The elastic network interfaces that are attached to the host.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkInterfaces

      Host.Builder networkInterfaces(Consumer<NetworkInterface.Builder>... networkInterfaces)

      The elastic network interfaces that are attached to the host.

      This is a convenience method that creates an instance of the NetworkInterface.Builder avoiding the need to create one manually via NetworkInterface.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to networkInterfaces(List<NetworkInterface>).

      Parameters:
      networkInterfaces - a consumer that will call methods on NetworkInterface.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: