Class CfnSpotFleetPropsMixin.TargetGroupProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnSpotFleetPropsMixin.TargetGroupProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSpotFleetPropsMixin.TargetGroupProperty>
- Enclosing interface:
CfnSpotFleetPropsMixin.TargetGroupProperty
@Stability(Stable)
public static final class CfnSpotFleetPropsMixin.TargetGroupProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSpotFleetPropsMixin.TargetGroupProperty>
A builder for
CfnSpotFleetPropsMixin.TargetGroupProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnSpotFleetPropsMixin.TargetGroupProperty.getArn()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
Sets the value ofCfnSpotFleetPropsMixin.TargetGroupProperty.getArn()- Parameters:
arn- The Amazon Resource Name (ARN) of the target group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSpotFleetPropsMixin.TargetGroupProperty>- Returns:
- a new instance of
CfnSpotFleetPropsMixin.TargetGroupProperty - Throws:
NullPointerException- if any required attribute was not provided
-