Interface Host.Builder

    • Method Detail

      • 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, ProviderType
      • 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:
        ProviderType, ProviderType
      • 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.
      • 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.