Class CfnSnapshotMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.fsx.CfnSnapshotMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSnapshotMixinProps>
- Enclosing interface:
CfnSnapshotMixinProps
@Stability(Stable)
public static final class CfnSnapshotMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSnapshotMixinProps>
A builder for
CfnSnapshotMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnSnapshotMixinProps.getName()Sets the value ofCfnSnapshotMixinProps.getTags()Sets the value ofCfnSnapshotMixinProps.getVolumeId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnSnapshotMixinProps.getName()- Parameters:
name- The name of the snapshot.- Returns:
this
-
tags
Sets the value ofCfnSnapshotMixinProps.getTags()- Parameters:
tags- A list ofTagvalues, with a maximum of 50 elements.- Returns:
this
-
volumeId
Sets the value ofCfnSnapshotMixinProps.getVolumeId()- Parameters:
volumeId- The ID of the volume that the snapshot is of.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSnapshotMixinProps>- Returns:
- a new instance of
CfnSnapshotMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-