@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.446Z") @Stability(value=Stable) public interface CfnSnapshotProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.fsx.*;
CfnSnapshotProps cfnSnapshotProps = CfnSnapshotProps.builder()
.name("name")
.volumeId("volumeId")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSnapshotProps.Builder
A builder for
CfnSnapshotProps |
static class |
CfnSnapshotProps.Jsii$Proxy
An implementation for
CfnSnapshotProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnSnapshotProps.Builder |
builder() |
String |
getName()
The name of the snapshot.
|
default List<CfnTag> |
getTags()
An array of key-value pairs to apply to this resource.
|
String |
getVolumeId()
The ID of the volume that the snapshot is of.
|
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @NotNull String getVolumeId()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
For more information, see Tag .
@Stability(value=Stable) static CfnSnapshotProps.Builder builder()
CfnSnapshotProps.Builder of CfnSnapshotPropsCopyright © 2022. All rights reserved.