Interface RestoreSnapshotTierResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<RestoreSnapshotTierResponse.Builder,
,RestoreSnapshotTierResponse> Ec2Response.Builder
,SdkBuilder<RestoreSnapshotTierResponse.Builder,
,RestoreSnapshotTierResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
RestoreSnapshotTierResponse
public static interface RestoreSnapshotTierResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<RestoreSnapshotTierResponse.Builder,RestoreSnapshotTierResponse>
-
Method Summary
Modifier and TypeMethodDescriptionisPermanentRestore
(Boolean isPermanentRestore) Indicates whether the snapshot is permanently restored.restoreDuration
(Integer restoreDuration) For temporary restores only.restoreStartTime
(Instant restoreStartTime) The date and time when the snapshot restore process started.snapshotId
(String snapshotId) The ID of the snapshot.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
snapshotId
The ID of the snapshot.
- Parameters:
snapshotId
- The ID of the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restoreStartTime
The date and time when the snapshot restore process started.
- Parameters:
restoreStartTime
- The date and time when the snapshot restore process started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restoreDuration
For temporary restores only. The number of days for which the archived snapshot is temporarily restored.
- Parameters:
restoreDuration
- For temporary restores only. The number of days for which the archived snapshot is temporarily restored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isPermanentRestore
Indicates whether the snapshot is permanently restored.
true
indicates a permanent restore.false
indicates a temporary restore.- Parameters:
isPermanentRestore
- Indicates whether the snapshot is permanently restored.true
indicates a permanent restore.false
indicates a temporary restore.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-