Class CfnInstanceSnapshotPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lightsail.CfnInstanceSnapshotPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInstanceSnapshotPropsMixin>
- Enclosing class:
CfnInstanceSnapshotPropsMixin
@Stability(Stable)
public static final class CfnInstanceSnapshotPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInstanceSnapshotPropsMixin>
A fluent builder for
CfnInstanceSnapshotPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) instanceName(String instanceName) The name the user gave the instance (Amazon_Linux_2023-1).instanceSnapshotName(String instanceSnapshotName) The name of the snapshot.The tag keys and optional values for the resource.
-
Method Details
-
create
@Stability(Stable) public static CfnInstanceSnapshotPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnInstanceSnapshotPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnInstanceSnapshotPropsMixin.Builder.
-
instanceName
The name the user gave the instance (Amazon_Linux_2023-1).- Parameters:
instanceName- The name the user gave the instance (Amazon_Linux_2023-1). This parameter is required.- Returns:
this- See Also:
-
instanceSnapshotName
@Stability(Stable) public CfnInstanceSnapshotPropsMixin.Builder instanceSnapshotName(String instanceSnapshotName) The name of the snapshot.- Parameters:
instanceSnapshotName- The name of the snapshot. This parameter is required.- Returns:
this- See Also:
-
tags
The tag keys and optional values for the resource.For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide .
- Parameters:
tags- The tag keys and optional values for the resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInstanceSnapshotPropsMixin>- Returns:
- a newly built instance of
CfnInstanceSnapshotPropsMixin.
-