Class LaunchTemplateRequireImdsv2AspectProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.LaunchTemplateRequireImdsv2AspectProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LaunchTemplateRequireImdsv2AspectProps>
- Enclosing interface:
LaunchTemplateRequireImdsv2AspectProps
@Stability(Stable)
public static final class LaunchTemplateRequireImdsv2AspectProps.Builder
extends Object
implements software.amazon.jsii.Builder<LaunchTemplateRequireImdsv2AspectProps>
A builder for
LaunchTemplateRequireImdsv2AspectProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.suppressWarnings
(Boolean suppressWarnings) Sets the value ofLaunchTemplateRequireImdsv2AspectProps.getSuppressWarnings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
suppressWarnings
@Stability(Stable) public LaunchTemplateRequireImdsv2AspectProps.Builder suppressWarnings(Boolean suppressWarnings) Sets the value ofLaunchTemplateRequireImdsv2AspectProps.getSuppressWarnings()
- Parameters:
suppressWarnings
- Whether warning annotations from this Aspect should be suppressed or not.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<LaunchTemplateRequireImdsv2AspectProps>
- Returns:
- a new instance of
LaunchTemplateRequireImdsv2AspectProps
- Throws:
NullPointerException
- if any required attribute was not provided
-