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