Interface Host.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Host.Builder,
,Host> SdkBuilder<Host.Builder,
,Host> SdkPojo
- Enclosing class:
Host
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the host.The name of the host.providerEndpoint
(String providerEndpoint) The endpoint of the infrastructure where your provider type is installed.providerType
(String providerType) The name of the installed provider to be associated with your connection.providerType
(ProviderType providerType) The name of the installed provider to be associated with your connection.The status of the host, such as PENDING, AVAILABLE, VPC_CONFIG_DELETING, VPC_CONFIG_INITIALIZING, and VPC_CONFIG_FAILED_INITIALIZATION.statusMessage
(String statusMessage) The status description for the host.default Host.Builder
vpcConfiguration
(Consumer<VpcConfiguration.Builder> vpcConfiguration) The VPC configuration provisioned for the host.vpcConfiguration
(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 Details
-
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
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
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
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
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
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
The VPC configuration provisioned for the host.
This is a convenience method that creates an instance of theVpcConfiguration.Builder
avoiding the need to create one manually viaVpcConfiguration.builder()
.When the
Consumer
completes,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:
-
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
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.
-