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