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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RestoreFromSnapshotResponse.Buildernamespace(Consumer<Namespace.Builder> namespace)Sets the value of the Namespace property for this object.RestoreFromSnapshotResponse.Buildernamespace(Namespace namespace)Sets the value of the Namespace property for this object.RestoreFromSnapshotResponse.BuilderownerAccount(String ownerAccount)The owner Amazon Web Services; account of the snapshot that was restored.RestoreFromSnapshotResponse.BuildersnapshotName(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 Detail
-
namespace
RestoreFromSnapshotResponse.Builder namespace(Namespace 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
default RestoreFromSnapshotResponse.Builder namespace(Consumer<Namespace.Builder> namespace)
Sets the value of the Namespace property for this object. This is a convenience method that creates an instance of theNamespace.Builderavoiding the need to create one manually viaNamespace.builder().When the
Consumercompletes,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:
namespace(Namespace)
-
ownerAccount
RestoreFromSnapshotResponse.Builder ownerAccount(String 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
RestoreFromSnapshotResponse.Builder snapshotName(String 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.
-
-