public static final class InstanceRequireImdsv2Aspect.Builder
extends java.lang.Object
InstanceRequireImdsv2Aspect
.Modifier and Type | Method and Description |
---|---|
InstanceRequireImdsv2Aspect |
build() |
static InstanceRequireImdsv2Aspect.Builder |
create() |
InstanceRequireImdsv2Aspect.Builder |
suppressLaunchTemplateWarning(java.lang.Boolean suppressLaunchTemplateWarning)
Whether warnings that would be raised when an Instance is associated with an existing Launch Template should be suppressed or not.
|
InstanceRequireImdsv2Aspect.Builder |
suppressWarnings(java.lang.Boolean suppressWarnings)
Whether warning annotations from this Aspect should be suppressed or not.
|
public static InstanceRequireImdsv2Aspect.Builder create()
InstanceRequireImdsv2Aspect.Builder
.public InstanceRequireImdsv2Aspect.Builder suppressLaunchTemplateWarning(java.lang.Boolean suppressLaunchTemplateWarning)
You can set this to true
if LaunchTemplateImdsAspect
is being used alongside this Aspect to
suppress false-positive warnings because any Launch Templates associated with Instances will still be covered.
Default: - false
suppressLaunchTemplateWarning
- Whether warnings that would be raised when an Instance is associated with an existing Launch Template should be suppressed or not. This parameter is required.this
public InstanceRequireImdsv2Aspect.Builder suppressWarnings(java.lang.Boolean suppressWarnings)
Default: - false
suppressWarnings
- Whether warning annotations from this Aspect should be suppressed or not. This parameter is required.this
public InstanceRequireImdsv2Aspect build()