Class CfnStackFleetAssociation.Builder
java.lang.Object
software.amazon.awscdk.services.appstream.CfnStackFleetAssociation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStackFleetAssociation>
- Enclosing class:
CfnStackFleetAssociation
@Stability(Stable)
public static final class CfnStackFleetAssociation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStackFleetAssociation>
A fluent builder for
CfnStackFleetAssociation
.-
Method Summary
-
Method Details
-
create
@Stability(Stable) public static CfnStackFleetAssociation.Builder create(Construct scope, String id) - Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnStackFleetAssociation.Builder
.
-
fleetName
The name of the fleet.To associate a fleet with a stack, you must specify a dependency on the fleet resource. For more information, see DependsOn Attribute .
- Parameters:
fleetName
- The name of the fleet. This parameter is required.- Returns:
this
-
stackName
The name of the stack.To associate a fleet with a stack, you must specify a dependency on the stack resource. For more information, see DependsOn Attribute .
- Parameters:
stackName
- The name of the stack. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStackFleetAssociation>
- Returns:
- a newly built instance of
CfnStackFleetAssociation
.
-