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

    • name

      Host.Builder name(String name)

      The name of the host.

      Parameters:
      name - The name of the host.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hostArn

      Host.Builder hostArn(String hostArn)

      The Amazon Resource Name (ARN) of the host.

      Parameters:
      hostArn - The Amazon Resource Name (ARN) of the host.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • providerType

      Host.Builder providerType(String providerType)

      The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.

      Parameters:
      providerType - The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • providerType

      Host.Builder providerType(ProviderType providerType)

      The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.

      Parameters:
      providerType - The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • providerEndpoint

      Host.Builder providerEndpoint(String providerEndpoint)

      The endpoint of the infrastructure where your provider type is installed.

      Parameters:
      providerEndpoint - The endpoint of the infrastructure where your provider type is installed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcConfiguration

      Host.Builder vpcConfiguration(VpcConfiguration vpcConfiguration)

      The VPC configuration provisioned for the host.

      Parameters:
      vpcConfiguration - The VPC configuration provisioned for the host.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcConfiguration

      default Host.Builder vpcConfiguration(Consumer<VpcConfiguration.Builder> vpcConfiguration)

      The VPC configuration provisioned for the host.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to vpcConfiguration(VpcConfiguration).

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

      Host.Builder status(String status)

      The status of the host, such as PENDING, AVAILABLE, VPC_CONFIG_DELETING, VPC_CONFIG_INITIALIZING, and VPC_CONFIG_FAILED_INITIALIZATION.

      Parameters:
      status - The status of the host, such as PENDING, AVAILABLE, VPC_CONFIG_DELETING, VPC_CONFIG_INITIALIZING, and VPC_CONFIG_FAILED_INITIALIZATION.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusMessage

      Host.Builder statusMessage(String statusMessage)

      The status description for the host.

      Parameters:
      statusMessage - The status description for the host.
      Returns:
      Returns a reference to this object so that method calls can be chained together.