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