public static interface CreateSnapshotRequest.Builder extends RedshiftServerlessRequest.Builder, SdkPojo, CopyableBuilder<CreateSnapshotRequest.Builder,CreateSnapshotRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateSnapshotRequest.Builder |
namespaceName(String namespaceName)
The namespace to create a snapshot for.
|
CreateSnapshotRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateSnapshotRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateSnapshotRequest.Builder |
retentionPeriod(Integer retentionPeriod)
How long to retain the created snapshot.
|
CreateSnapshotRequest.Builder |
snapshotName(String snapshotName)
The name of the snapshot.
|
CreateSnapshotRequest.Builder |
tags(Collection<Tag> tags)
An array of Tag
objects to associate with the snapshot.
|
CreateSnapshotRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
An array of Tag
objects to associate with the snapshot.
|
CreateSnapshotRequest.Builder |
tags(Tag... tags)
An array of Tag
objects to associate with the snapshot.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateSnapshotRequest.Builder namespaceName(String namespaceName)
The namespace to create a snapshot for.
namespaceName - The namespace to create a snapshot for.CreateSnapshotRequest.Builder retentionPeriod(Integer retentionPeriod)
How long to retain the created snapshot.
retentionPeriod - How long to retain the created snapshot.CreateSnapshotRequest.Builder snapshotName(String snapshotName)
The name of the snapshot.
snapshotName - The name of the snapshot.CreateSnapshotRequest.Builder tags(Collection<Tag> tags)
An array of Tag objects to associate with the snapshot.
tags - An array of Tag
objects to associate with the snapshot.CreateSnapshotRequest.Builder tags(Tag... tags)
An array of Tag objects to associate with the snapshot.
tags - An array of Tag
objects to associate with the snapshot.CreateSnapshotRequest.Builder tags(Consumer<Tag.Builder>... tags)
An array of Tag objects to associate with the snapshot.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one
manually via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) CreateSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateSnapshotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.