Interface UpdateHostRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeStarConnectionsRequest.Builder,CopyableBuilder<UpdateHostRequest.Builder,,UpdateHostRequest> SdkBuilder<UpdateHostRequest.Builder,,UpdateHostRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateHostRequest
public static interface UpdateHostRequest.Builder
extends CodeStarConnectionsRequest.Builder, SdkPojo, CopyableBuilder<UpdateHostRequest.Builder,UpdateHostRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the host to be updated.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.providerEndpoint(String providerEndpoint) The URL or endpoint of the host to be updated.default UpdateHostRequest.BuildervpcConfiguration(Consumer<VpcConfiguration.Builder> vpcConfiguration) The VPC configuration of the host to be updated.vpcConfiguration(VpcConfiguration vpcConfiguration) The VPC configuration of the host to be updated.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.codestarconnections.model.CodeStarConnectionsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
hostArn
The Amazon Resource Name (ARN) of the host to be updated.
- Parameters:
hostArn- The Amazon Resource Name (ARN) of the host to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
providerEndpoint
The URL or endpoint of the host to be updated.
- Parameters:
providerEndpoint- The URL or endpoint of the host to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
The VPC configuration of the host to be updated. 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 of the host to be updated. 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 UpdateHostRequest.Builder vpcConfiguration(Consumer<VpcConfiguration.Builder> vpcConfiguration) The VPC configuration of the host to be updated. 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:
-
overrideConfiguration
UpdateHostRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateHostRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-