public static interface ChangeServerLifeCycleStateRequest.Builder extends MgnRequest.Builder, SdkPojo, CopyableBuilder<ChangeServerLifeCycleStateRequest.Builder,ChangeServerLifeCycleStateRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildChangeServerLifeCycleStateRequest.Builder accountID(String accountID)
The request to change the source server migration account ID.
accountID - The request to change the source server migration account ID.ChangeServerLifeCycleStateRequest.Builder lifeCycle(ChangeServerLifeCycleStateSourceServerLifecycle lifeCycle)
The request to change the source server migration lifecycle state.
lifeCycle - The request to change the source server migration lifecycle state.default ChangeServerLifeCycleStateRequest.Builder lifeCycle(Consumer<ChangeServerLifeCycleStateSourceServerLifecycle.Builder> lifeCycle)
The request to change the source server migration lifecycle state.
This is a convenience method that creates an instance of theChangeServerLifeCycleStateSourceServerLifecycle.Builder avoiding the need to create one manually via
ChangeServerLifeCycleStateSourceServerLifecycle.builder().
When the Consumer completes, SdkBuilder.build()
is called immediately and its result is passed to
lifeCycle(ChangeServerLifeCycleStateSourceServerLifecycle).
lifeCycle - a consumer that will call methods on ChangeServerLifeCycleStateSourceServerLifecycle.BuilderlifeCycle(ChangeServerLifeCycleStateSourceServerLifecycle)ChangeServerLifeCycleStateRequest.Builder sourceServerID(String sourceServerID)
The request to change the source server migration lifecycle state by source server ID.
sourceServerID - The request to change the source server migration lifecycle state by source server ID.ChangeServerLifeCycleStateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderChangeServerLifeCycleStateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.