Interface ExportSnapshotRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ExportSnapshotRequest.Builder,
,ExportSnapshotRequest> LightsailRequest.Builder
,SdkBuilder<ExportSnapshotRequest.Builder,
,ExportSnapshotRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ExportSnapshotRequest
public static interface ExportSnapshotRequest.Builder
extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<ExportSnapshotRequest.Builder,ExportSnapshotRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sourceSnapshotName
(String sourceSnapshotName) The name of the instance or disk snapshot to be exported to Amazon EC2.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.lightsail.model.LightsailRequest.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
-
sourceSnapshotName
The name of the instance or disk snapshot to be exported to Amazon EC2.
- Parameters:
sourceSnapshotName
- The name of the instance or disk snapshot to be exported to Amazon EC2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ExportSnapshotRequest.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
ExportSnapshotRequest.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.
-