Interface UpdateLaunchConfigurationDefaultsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateLaunchConfigurationDefaultsRequest.Builder,,UpdateLaunchConfigurationDefaultsRequest> MgnRequest.Builder,SdkBuilder<UpdateLaunchConfigurationDefaultsRequest.Builder,,UpdateLaunchConfigurationDefaultsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateLaunchConfigurationDefaultsRequest
-
Method Summary
Modifier and TypeMethodDescriptionRequest to update the launch configuration defaults by Account ID.largeVolumeConfiguration(Consumer<SourceServerVolumeConfiguration.Builder> largeVolumeConfiguration) Volume configuration for disks larger thansmallVolumeMaxSize.largeVolumeConfiguration(SourceServerVolumeConfiguration largeVolumeConfiguration) Volume configuration for disks larger thansmallVolumeMaxSize.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.smallVolumeConfiguration(Consumer<SourceServerVolumeConfiguration.Builder> smallVolumeConfiguration) Volume configuration for disks up tosmallVolumeMaxSize.smallVolumeConfiguration(SourceServerVolumeConfiguration smallVolumeConfiguration) Volume configuration for disks up tosmallVolumeMaxSize.smallVolumeMaxSize(Long smallVolumeMaxSize) Disks up to this size, in GiB, use the small volume configuration, and larger disks use the large one.sourceServerID(String sourceServerID) Request to update the launch configuration defaults by Source Server ID.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mgn.model.MgnRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
sourceServerID
Request to update the launch configuration defaults by Source Server ID.
- Parameters:
sourceServerID- Request to update the launch configuration defaults by Source Server ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountID
Request to update the launch configuration defaults by Account ID.
- Parameters:
accountID- Request to update the launch configuration defaults by Account ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
smallVolumeMaxSize
Disks up to this size, in GiB, use the small volume configuration, and larger disks use the large one.
0means every disk uses the large one. If you omit it, the current value is kept.- Parameters:
smallVolumeMaxSize- Disks up to this size, in GiB, use the small volume configuration, and larger disks use the large one.0means every disk uses the large one. If you omit it, the current value is kept.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
smallVolumeConfiguration
UpdateLaunchConfigurationDefaultsRequest.Builder smallVolumeConfiguration(SourceServerVolumeConfiguration smallVolumeConfiguration) Volume configuration for disks up to
smallVolumeMaxSize. If you omit it, the current one is kept. If you send it, it replaces the current one: fields you omit are cleared, and an empty configuration,{}, clears all of them.- Parameters:
smallVolumeConfiguration- Volume configuration for disks up tosmallVolumeMaxSize. If you omit it, the current one is kept. If you send it, it replaces the current one: fields you omit are cleared, and an empty configuration,{}, clears all of them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
smallVolumeConfiguration
default UpdateLaunchConfigurationDefaultsRequest.Builder smallVolumeConfiguration(Consumer<SourceServerVolumeConfiguration.Builder> smallVolumeConfiguration) Volume configuration for disks up to
This is a convenience method that creates an instance of thesmallVolumeMaxSize. If you omit it, the current one is kept. If you send it, it replaces the current one: fields you omit are cleared, and an empty configuration,{}, clears all of them.SourceServerVolumeConfiguration.Builderavoiding the need to create one manually viaSourceServerVolumeConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosmallVolumeConfiguration(SourceServerVolumeConfiguration).- Parameters:
smallVolumeConfiguration- a consumer that will call methods onSourceServerVolumeConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
largeVolumeConfiguration
UpdateLaunchConfigurationDefaultsRequest.Builder largeVolumeConfiguration(SourceServerVolumeConfiguration largeVolumeConfiguration) Volume configuration for disks larger than
smallVolumeMaxSize. If you omit it, the current one is kept. If you send it, it replaces the current one: fields you omit are cleared, and an empty configuration,{}, clears all of them.- Parameters:
largeVolumeConfiguration- Volume configuration for disks larger thansmallVolumeMaxSize. If you omit it, the current one is kept. If you send it, it replaces the current one: fields you omit are cleared, and an empty configuration,{}, clears all of them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
largeVolumeConfiguration
default UpdateLaunchConfigurationDefaultsRequest.Builder largeVolumeConfiguration(Consumer<SourceServerVolumeConfiguration.Builder> largeVolumeConfiguration) Volume configuration for disks larger than
This is a convenience method that creates an instance of thesmallVolumeMaxSize. If you omit it, the current one is kept. If you send it, it replaces the current one: fields you omit are cleared, and an empty configuration,{}, clears all of them.SourceServerVolumeConfiguration.Builderavoiding the need to create one manually viaSourceServerVolumeConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolargeVolumeConfiguration(SourceServerVolumeConfiguration).- Parameters:
largeVolumeConfiguration- a consumer that will call methods onSourceServerVolumeConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateLaunchConfigurationDefaultsRequest.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
UpdateLaunchConfigurationDefaultsRequest.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.
-