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 SummaryModifier 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.BuildervpcConfiguration(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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.services.codeconnections.model.CodeConnectionsRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
nameThe 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.
 
- 
providerTypeThe 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:
 
- 
providerTypeThe 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:
 
- 
providerEndpointThe 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.
 
- 
vpcConfigurationThe 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.
 
- 
vpcConfigurationdefault 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.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 on- VpcConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tagsTags 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.
 
- 
tagsTags 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.
 
- 
tagsTags for the host to be created. This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
- tags- a consumer that will call methods on- Tag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationCreateHostRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateHostRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-