Interface Host.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Host.Builder,Host>,SdkBuilder<Host.Builder,Host>,SdkPojo
- Enclosing class:
- Host
public static interface Host.Builder extends SdkPojo, CopyableBuilder<Host.Builder,Host>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Host.BuilderhostArn(String hostArn)The Amazon Resource Name (ARN) of the host.Host.Buildername(String name)The name of the host.Host.BuilderproviderEndpoint(String providerEndpoint)The endpoint of the infrastructure where your provider type is installed.Host.BuilderproviderType(String providerType)The name of the installed provider to be associated with your connection.Host.BuilderproviderType(ProviderType providerType)The name of the installed provider to be associated with your connection.Host.Builderstatus(String status)The status of the host, such as PENDING, AVAILABLE, VPC_CONFIG_DELETING, VPC_CONFIG_INITIALIZING, and VPC_CONFIG_FAILED_INITIALIZATION.Host.BuilderstatusMessage(String statusMessage)The status description for the host.default Host.BuildervpcConfiguration(Consumer<VpcConfiguration.Builder> vpcConfiguration)The VPC configuration provisioned for the host.Host.BuildervpcConfiguration(VpcConfiguration vpcConfiguration)The VPC configuration provisioned for the host.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
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.
-
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 theVpcConfiguration.Builderavoiding the need to create one manually viaVpcConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcConfiguration(VpcConfiguration).- Parameters:
vpcConfiguration- a consumer that will call methods onVpcConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vpcConfiguration(VpcConfiguration)
-
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.
-
-