Interface GetLaunchConfigurationDefaultsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetLaunchConfigurationDefaultsResponse.Builder,,GetLaunchConfigurationDefaultsResponse> MgnResponse.Builder,SdkBuilder<GetLaunchConfigurationDefaultsResponse.Builder,,GetLaunchConfigurationDefaultsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetLaunchConfigurationDefaultsResponse
-
Method Summary
Modifier and TypeMethodDescriptionlargeVolumeConfiguration(Consumer<SourceServerVolumeConfiguration.Builder> largeVolumeConfiguration) Volume configuration for disks larger thansmallVolumeMaxSize.largeVolumeConfiguration(SourceServerVolumeConfiguration largeVolumeConfiguration) Volume configuration for disks larger thansmallVolumeMaxSize.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) Source Server ID of the launch configuration defaults.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mgn.model.MgnResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
sourceServerID
Source Server ID of the launch configuration defaults.
- Parameters:
sourceServerID- Source Server ID of the launch configuration defaults.- 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.- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
smallVolumeConfiguration
GetLaunchConfigurationDefaultsResponse.Builder smallVolumeConfiguration(SourceServerVolumeConfiguration smallVolumeConfiguration) Volume configuration for disks up to
smallVolumeMaxSize. Omitted when none of its fields is set.- Parameters:
smallVolumeConfiguration- Volume configuration for disks up tosmallVolumeMaxSize. Omitted when none of its fields is set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
smallVolumeConfiguration
default GetLaunchConfigurationDefaultsResponse.Builder smallVolumeConfiguration(Consumer<SourceServerVolumeConfiguration.Builder> smallVolumeConfiguration) Volume configuration for disks up to
This is a convenience method that creates an instance of thesmallVolumeMaxSize. Omitted when none of its fields is set.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
GetLaunchConfigurationDefaultsResponse.Builder largeVolumeConfiguration(SourceServerVolumeConfiguration largeVolumeConfiguration) Volume configuration for disks larger than
smallVolumeMaxSize. Omitted when none of its fields is set.- Parameters:
largeVolumeConfiguration- Volume configuration for disks larger thansmallVolumeMaxSize. Omitted when none of its fields is set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
largeVolumeConfiguration
default GetLaunchConfigurationDefaultsResponse.Builder largeVolumeConfiguration(Consumer<SourceServerVolumeConfiguration.Builder> largeVolumeConfiguration) Volume configuration for disks larger than
This is a convenience method that creates an instance of thesmallVolumeMaxSize. Omitted when none of its fields is set.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:
-