Interface CreateHostRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeStarConnectionsRequest.Builder,CopyableBuilder<CreateHostRequest.Builder,CreateHostRequest>,SdkBuilder<CreateHostRequest.Builder,CreateHostRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateHostRequest
public static interface CreateHostRequest.Builder extends CodeStarConnectionsRequest.Builder, SdkPojo, CopyableBuilder<CreateHostRequest.Builder,CreateHostRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateHostRequest.Buildername(String name)The name of the host to be created.CreateHostRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateHostRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateHostRequest.BuilderproviderEndpoint(String providerEndpoint)The endpoint of the infrastructure to be represented by the host after it is created.CreateHostRequest.BuilderproviderType(String providerType)The name of the installed provider to be associated with your connection.CreateHostRequest.BuilderproviderType(ProviderType providerType)The name of the installed provider to be associated with your connection.CreateHostRequest.Buildertags(Collection<Tag> tags)Tags for the host to be created.CreateHostRequest.Buildertags(Consumer<Tag.Builder>... tags)Tags for the host to be created.CreateHostRequest.Buildertags(Tag... tags)Tags for the host to be created.default CreateHostRequest.BuildervpcConfiguration(Consumer<VpcConfiguration.Builder> vpcConfiguration)The VPC configuration to be provisioned for the host.CreateHostRequest.BuildervpcConfiguration(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.codestarconnections.model.CodeStarConnectionsRequest.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 Detail
-
name
CreateHostRequest.Builder name(String 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
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.
- 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
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.
- 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
CreateHostRequest.Builder providerEndpoint(String 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
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.
- 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.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)
-
tags
CreateHostRequest.Builder tags(Collection<Tag> 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
CreateHostRequest.Builder tags(Tag... 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
CreateHostRequest.Builder tags(Consumer<Tag.Builder>... tags)
Tags 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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
CreateHostRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateHostRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-