Class LaunchTemplateRequireImdsv2Aspect.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.LaunchTemplateRequireImdsv2Aspect.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LaunchTemplateRequireImdsv2Aspect>
- Enclosing class:
LaunchTemplateRequireImdsv2Aspect
@Stability(Stable)
public static final class LaunchTemplateRequireImdsv2Aspect.Builder
extends Object
implements software.amazon.jsii.Builder<LaunchTemplateRequireImdsv2Aspect>
A fluent builder for
LaunchTemplateRequireImdsv2Aspect
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
create()
suppressWarnings
(Boolean suppressWarnings) Whether warning annotations from this Aspect should be suppressed or not.
-
Method Details
-
create
- Returns:
- a new instance of
LaunchTemplateRequireImdsv2Aspect.Builder
.
-
suppressWarnings
@Stability(Stable) public LaunchTemplateRequireImdsv2Aspect.Builder suppressWarnings(Boolean suppressWarnings) Whether warning annotations from this Aspect should be suppressed or not.Default: - false
- Parameters:
suppressWarnings
- Whether warning annotations from this Aspect should be suppressed or not. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<LaunchTemplateRequireImdsv2Aspect>
- Returns:
- a newly built instance of
LaunchTemplateRequireImdsv2Aspect
.
-