Interface CreateHostRequest.Builder

    • Method Detail

      • name

        CreateHostRequest.Builder name​(String name)

        The name of the host to be created.

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

        CreateHostRequest.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

        CreateHostRequest.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

        CreateHostRequest.Builder providerEndpoint​(String providerEndpoint)

        The endpoint of the infrastructure to be represented by the host after it is created.

        Parameters:
        providerEndpoint - The endpoint of the infrastructure to be represented by the host after it is created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vpcConfiguration

        CreateHostRequest.Builder vpcConfiguration​(VpcConfiguration vpcConfiguration)

        The VPC configuration to be provisioned for the host. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC.

        Parameters:
        vpcConfiguration - The VPC configuration to be provisioned for the host. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateHostRequest.Builder tags​(Collection<Tag> tags)

        Tags for the host to be created.

        Parameters:
        tags - Tags for the host to be created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateHostRequest.Builder tags​(Tag... tags)

        Tags for the host to be created.

        Parameters:
        tags - Tags for the host to be created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateHostRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        Tags for the host to be created.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)