Class CfnSpotFleetPropsMixin.GroupIdentifierProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnSpotFleetPropsMixin.GroupIdentifierProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSpotFleetPropsMixin.GroupIdentifierProperty>
- Enclosing interface:
CfnSpotFleetPropsMixin.GroupIdentifierProperty
@Stability(Stable)
public static final class CfnSpotFleetPropsMixin.GroupIdentifierProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSpotFleetPropsMixin.GroupIdentifierProperty>
A builder for
CfnSpotFleetPropsMixin.GroupIdentifierProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnSpotFleetPropsMixin.GroupIdentifierProperty.getGroupId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
groupId
@Stability(Stable) public CfnSpotFleetPropsMixin.GroupIdentifierProperty.Builder groupId(String groupId) Sets the value ofCfnSpotFleetPropsMixin.GroupIdentifierProperty.getGroupId()- Parameters:
groupId- The ID of the security group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSpotFleetPropsMixin.GroupIdentifierProperty>- Returns:
- a new instance of
CfnSpotFleetPropsMixin.GroupIdentifierProperty - Throws:
NullPointerException- if any required attribute was not provided
-