@Stability(value=Stable) public static final class CfnSnapshot.Builder extends Object implements software.amazon.jsii.Builder<CfnSnapshot>
CfnSnapshot.| Modifier and Type | Method and Description |
|---|---|
CfnSnapshot |
build() |
static CfnSnapshot.Builder |
create(software.constructs.Construct scope,
String id) |
CfnSnapshot.Builder |
name(String name)
The name of the snapshot.
|
CfnSnapshot.Builder |
tags(List<? extends CfnTag> tags)
An array of key-value pairs to apply to this resource.
|
CfnSnapshot.Builder |
volumeId(String volumeId)
The ID of the volume that the snapshot is of.
|
@Stability(value=Stable) public static CfnSnapshot.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnSnapshot.Builder.@Stability(value=Stable) public CfnSnapshot.Builder name(String name)
name - The name of the snapshot. This parameter is required.this@Stability(value=Stable) public CfnSnapshot.Builder volumeId(String volumeId)
volumeId - The ID of the volume that the snapshot is of. This parameter is required.this@Stability(value=Stable) public CfnSnapshot.Builder tags(List<? extends CfnTag> tags)
For more information, see Tag .
tags - An array of key-value pairs to apply to this resource. This parameter is required.this@Stability(value=Stable) public CfnSnapshot build()
build in interface software.amazon.jsii.Builder<CfnSnapshot>Copyright © 2022. All rights reserved.