Class CfnSnapshot.Builder
java.lang.Object
software.amazon.awscdk.services.fsx.CfnSnapshot.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSnapshot>
- Enclosing class:
CfnSnapshot
@Stability(Stable)
public static final class CfnSnapshot.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSnapshot>
A fluent builder for
CfnSnapshot
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnSnapshot.Builder
The name of the snapshot.A list ofTag
values, with a maximum of 50 elements.The ID of the volume that the snapshot is of.
-
Method Details
-
create
@Stability(Stable) public static CfnSnapshot.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnSnapshot.Builder
.
-
name
The name of the snapshot.- Parameters:
name
- The name of the snapshot. This parameter is required.- Returns:
this
- See Also:
-
volumeId
The ID of the volume that the snapshot is of.- Parameters:
volumeId
- The ID of the volume that the snapshot is of. This parameter is required.- Returns:
this
- See Also:
-
tags
A list ofTag
values, with a maximum of 50 elements.- Parameters:
tags
- A list ofTag
values, with a maximum of 50 elements. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSnapshot>
- Returns:
- a newly built instance of
CfnSnapshot
.
-