Interface RestoreFromSnapshotResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<RestoreFromSnapshotResponse.Builder,
,RestoreFromSnapshotResponse> RedshiftServerlessResponse.Builder
,SdkBuilder<RestoreFromSnapshotResponse.Builder,
,RestoreFromSnapshotResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
RestoreFromSnapshotResponse
public static interface RestoreFromSnapshotResponse.Builder
extends RedshiftServerlessResponse.Builder, SdkPojo, CopyableBuilder<RestoreFromSnapshotResponse.Builder,RestoreFromSnapshotResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnamespace
(Consumer<Namespace.Builder> namespace) Sets the value of the Namespace property for this object.Sets the value of the Namespace property for this object.ownerAccount
(String ownerAccount) The owner Amazon Web Services; account of the snapshot that was restored.snapshotName
(String snapshotName) The name of the snapshot used to restore the namespace.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessResponse.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
-
namespace
Sets the value of the Namespace property for this object.- Parameters:
namespace
- The new value for the Namespace property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespace
Sets the value of the Namespace property for this object. This is a convenience method that creates an instance of theNamespace.Builder
avoiding the need to create one manually viaNamespace.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonamespace(Namespace)
.- Parameters:
namespace
- a consumer that will call methods onNamespace.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ownerAccount
The owner Amazon Web Services; account of the snapshot that was restored.
- Parameters:
ownerAccount
- The owner Amazon Web Services; account of the snapshot that was restored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotName
The name of the snapshot used to restore the namespace.
- Parameters:
snapshotName
- The name of the snapshot used to restore the namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-