public static final class CfnSnapshot.Builder
extends java.lang.Object
CfnSnapshot
.Modifier and Type | Method and Description |
---|---|
CfnSnapshot |
build() |
static CfnSnapshot.Builder |
create(Construct scope,
java.lang.String id) |
CfnSnapshot.Builder |
name(java.lang.String name)
The name of the snapshot.
|
CfnSnapshot.Builder |
tags(java.util.List<? extends CfnTag> tags)
An array of key-value pairs to apply to this resource.
|
CfnSnapshot.Builder |
volumeId(java.lang.String volumeId)
The ID of the volume that the snapshot is of.
|
public static CfnSnapshot.Builder create(Construct scope, java.lang.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
.public CfnSnapshot.Builder name(java.lang.String name)
name
- The name of the snapshot. This parameter is required.this
public CfnSnapshot.Builder volumeId(java.lang.String volumeId)
volumeId
- The ID of the volume that the snapshot is of. This parameter is required.this
public CfnSnapshot.Builder tags(java.util.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
public CfnSnapshot build()