Class InstanceEventWindowReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.ec2.InstanceEventWindowReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InstanceEventWindowReference>
- Enclosing interface:
InstanceEventWindowReference
@Stability(Stable)
public static final class InstanceEventWindowReference.Builder
extends Object
implements software.amazon.jsii.Builder<InstanceEventWindowReference>
A builder for
InstanceEventWindowReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.instanceEventWindowArn(String instanceEventWindowArn) Sets the value ofInstanceEventWindowReference.getInstanceEventWindowArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceEventWindowArn
@Stability(Stable) public InstanceEventWindowReference.Builder instanceEventWindowArn(String instanceEventWindowArn) Sets the value ofInstanceEventWindowReference.getInstanceEventWindowArn()- Parameters:
instanceEventWindowArn- The Arn of the InstanceEventWindow resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<InstanceEventWindowReference>- Returns:
- a new instance of
InstanceEventWindowReference - Throws:
NullPointerException- if any required attribute was not provided
-