Interface GetHostResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CodeStarConnectionsResponse.Builder, CopyableBuilder<GetHostResponse.Builder,GetHostResponse>, SdkBuilder<GetHostResponse.Builder,GetHostResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetHostResponse

  • Method Details

    • name

      The name of the requested host.

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

      The status of the requested host.

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

      GetHostResponse.Builder providerType(String providerType)

      The provider type of the requested host, such as GitHub Enterprise Server.

      Parameters:
      providerType - The provider type of the requested host, such as GitHub Enterprise Server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • providerType

      GetHostResponse.Builder providerType(ProviderType providerType)

      The provider type of the requested host, such as GitHub Enterprise Server.

      Parameters:
      providerType - The provider type of the requested host, such as GitHub Enterprise Server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • providerEndpoint

      GetHostResponse.Builder providerEndpoint(String providerEndpoint)

      The endpoint of the infrastructure represented by the requested host.

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

      GetHostResponse.Builder vpcConfiguration(VpcConfiguration vpcConfiguration)

      The VPC configuration of the requested host.

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

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

      The VPC configuration of the requested 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: