Interface CreateHostRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeConnectionsRequest.Builder
,CopyableBuilder<CreateHostRequest.Builder,
,CreateHostRequest> SdkBuilder<CreateHostRequest.Builder,
,CreateHostRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateHostRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the host to be created.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.providerEndpoint
(String providerEndpoint) The endpoint of the infrastructure to be represented by the host after it is created.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.tags
(Collection<Tag> tags) Tags for the host to be created.tags
(Consumer<Tag.Builder>... tags) Tags for the host to be created.Tags for the host to be created.default CreateHostRequest.Builder
vpcConfiguration
(Consumer<VpcConfiguration.Builder> vpcConfiguration) The VPC configuration to be provisioned for the host.vpcConfiguration
(VpcConfiguration vpcConfiguration) The VPC configuration to be provisioned for the host.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codeconnections.model.CodeConnectionsRequest.Builder
build
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 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
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 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
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 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:
-
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 theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateHostRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-