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