@Stability(value=Stable) public static final class CfnSnapshotProps.Builder extends Object implements software.amazon.jsii.Builder<CfnSnapshotProps>
CfnSnapshotProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnSnapshotProps |
build()
Builds the configured instance.
|
CfnSnapshotProps.Builder |
name(String name)
Sets the value of
CfnSnapshotProps.getName() |
CfnSnapshotProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnSnapshotProps.getTags() |
CfnSnapshotProps.Builder |
volumeId(String volumeId)
Sets the value of
CfnSnapshotProps.getVolumeId() |
@Stability(value=Stable) public CfnSnapshotProps.Builder name(String name)
CfnSnapshotProps.getName()name - The name of the snapshot. This parameter is required.this@Stability(value=Stable) public CfnSnapshotProps.Builder volumeId(String volumeId)
CfnSnapshotProps.getVolumeId()volumeId - The ID of the volume that the snapshot is of. This parameter is required.this@Stability(value=Stable) public CfnSnapshotProps.Builder tags(List<? extends CfnTag> tags)
CfnSnapshotProps.getTags()tags - An array of key-value pairs to apply to this resource.
For more information, see Tag .this@Stability(value=Stable) public CfnSnapshotProps build()
build in interface software.amazon.jsii.Builder<CfnSnapshotProps>CfnSnapshotPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.