public static final class CfnStackFleetAssociationProps.Builder
extends java.lang.Object
CfnStackFleetAssociationProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnStackFleetAssociationProps |
build()
Builds the configured instance.
|
CfnStackFleetAssociationProps.Builder |
fleetName(java.lang.String fleetName)
Sets the value of
CfnStackFleetAssociationProps.getFleetName() |
CfnStackFleetAssociationProps.Builder |
stackName(java.lang.String stackName)
Sets the value of
CfnStackFleetAssociationProps.getStackName() |
public CfnStackFleetAssociationProps.Builder fleetName(java.lang.String fleetName)
CfnStackFleetAssociationProps.getFleetName()
fleetName
- The name of the fleet. This parameter is required.
To associate a fleet with a stack, you must specify a dependency on the fleet resource. For more information, see DependsOn Attribute .this
public CfnStackFleetAssociationProps.Builder stackName(java.lang.String stackName)
CfnStackFleetAssociationProps.getStackName()
stackName
- The name of the stack. This parameter is required.
To associate a fleet with a stack, you must specify a dependency on the stack resource. For more information, see DependsOn Attribute .this
public CfnStackFleetAssociationProps build()
CfnStackFleetAssociationProps
java.lang.NullPointerException
- if any required attribute was not provided