public static interface CreateHostRequest.Builder extends CodeStarConnectionsRequest.Builder, SdkPojo, CopyableBuilder<CreateHostRequest.Builder,CreateHostRequest>
Modifier and Type | Method and Description |
---|---|
CreateHostRequest.Builder |
name(String name)
The name of the host to be created.
|
CreateHostRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateHostRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateHostRequest.Builder |
providerEndpoint(String providerEndpoint)
The endpoint of the infrastructure to be represented by the host after it is created.
|
CreateHostRequest.Builder |
providerType(ProviderType providerType)
The name of the installed provider to be associated with your connection.
|
CreateHostRequest.Builder |
providerType(String providerType)
The name of the installed provider to be associated with your connection.
|
CreateHostRequest.Builder |
tags(Collection<Tag> tags)
Sets the value of the Tags property for this object.
|
CreateHostRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
Sets the value of the Tags property for this object.
|
CreateHostRequest.Builder |
tags(Tag... tags)
Sets the value of the Tags property for this object.
|
default CreateHostRequest.Builder |
vpcConfiguration(Consumer<VpcConfiguration.Builder> vpcConfiguration)
The VPC configuration to be provisioned for the host.
|
CreateHostRequest.Builder |
vpcConfiguration(VpcConfiguration vpcConfiguration)
The VPC configuration to be provisioned for the host.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateHostRequest.Builder name(String name)
The name of the host to be created. The name must be unique in the calling AWS account.
name
- The name of the host to be created. The name must be unique in the calling AWS account.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.
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.ProviderType
,
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.
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.ProviderType
,
ProviderType
CreateHostRequest.Builder providerEndpoint(String providerEndpoint)
The endpoint of the infrastructure to be represented by the host after it is created.
providerEndpoint
- The endpoint of the infrastructure to be represented by the host after it is created.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.
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.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 that creates an instance of theVpcConfiguration.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)
.vpcConfiguration
- a consumer that will call methods on VpcConfiguration.Builder
vpcConfiguration(VpcConfiguration)
CreateHostRequest.Builder tags(Collection<Tag> tags)
tags
- The new value for the Tags property for this object.CreateHostRequest.Builder tags(Tag... tags)
tags
- The new value for the Tags property for this object.CreateHostRequest.Builder tags(Consumer<Tag.Builder>... tags)
List.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
CreateHostRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateHostRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.