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