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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RestoreSnapshotTierResponse.BuilderisPermanentRestore(Boolean isPermanentRestore)Indicates whether the snapshot is permanently restored.RestoreSnapshotTierResponse.BuilderrestoreDuration(Integer restoreDuration)For temporary restores only.RestoreSnapshotTierResponse.BuilderrestoreStartTime(Instant restoreStartTime)The date and time when the snapshot restore process started.RestoreSnapshotTierResponse.BuildersnapshotId(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 Detail
-
snapshotId
RestoreSnapshotTierResponse.Builder snapshotId(String 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
RestoreSnapshotTierResponse.Builder restoreStartTime(Instant 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
RestoreSnapshotTierResponse.Builder restoreDuration(Integer 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
RestoreSnapshotTierResponse.Builder isPermanentRestore(Boolean isPermanentRestore)
Indicates whether the snapshot is permanently restored.
trueindicates a permanent restore.falseindicates a temporary restore.- Parameters:
isPermanentRestore- Indicates whether the snapshot is permanently restored.trueindicates a permanent restore.falseindicates a temporary restore.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-