Interface CreateHostRequest.Builder

  • Method Details

    • 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

      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:
    • 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.
    • vpcConfiguration

      default CreateHostRequest.Builder vpcConfiguration(Consumer<VpcConfiguration.Builder> 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.

      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:
    • 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

      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

      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<Tag>).

      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:
    • overrideConfiguration

      CreateHostRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.