Interface RestoreFromSnapshotResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<RestoreFromSnapshotResponse.Builder,RestoreFromSnapshotResponse>, RedshiftServerlessResponse.Builder, SdkBuilder<RestoreFromSnapshotResponse.Builder,RestoreFromSnapshotResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
RestoreFromSnapshotResponse

  • 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 the Namespace.Builder avoiding the need to create one manually via Namespace.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to namespace(Namespace).

      Parameters:
      namespace - a consumer that will call methods on Namespace.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.