Interface UpdateServerConfigRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateServerConfigRequest.Builder,
,UpdateServerConfigRequest> MigrationHubStrategyRequest.Builder
,SdkBuilder<UpdateServerConfigRequest.Builder,
,UpdateServerConfigRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateServerConfigRequest
public static interface UpdateServerConfigRequest.Builder
extends MigrationHubStrategyRequest.Builder, SdkPojo, CopyableBuilder<UpdateServerConfigRequest.Builder,UpdateServerConfigRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ID of the server.strategyOption
(Consumer<StrategyOption.Builder> strategyOption) The preferred strategy options for the application component.strategyOption
(StrategyOption strategyOption) The preferred strategy options for the application component.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.migrationhubstrategy.model.MigrationHubStrategyRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
serverId
The ID of the server.
- Parameters:
serverId
- The ID of the server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
strategyOption
The preferred strategy options for the application component. See the response from GetServerStrategies.
- Parameters:
strategyOption
- The preferred strategy options for the application component. See the response from GetServerStrategies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
strategyOption
default UpdateServerConfigRequest.Builder strategyOption(Consumer<StrategyOption.Builder> strategyOption) The preferred strategy options for the application component. See the response from GetServerStrategies.
This is a convenience method that creates an instance of theStrategyOption.Builder
avoiding the need to create one manually viaStrategyOption.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostrategyOption(StrategyOption)
.- Parameters:
strategyOption
- a consumer that will call methods onStrategyOption.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateServerConfigRequest.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
UpdateServerConfigRequest.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.
-