Class CfnFleetProps.Builder
java.lang.Object
software.amazon.awscdk.services.robomaker.CfnFleetProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFleetProps>
- Enclosing interface:
CfnFleetProps
@Stability(Stable)
public static final class CfnFleetProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFleetProps>
A builder for
CfnFleetProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnFleetProps.getName()
Sets the value ofCfnFleetProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnFleetProps.getName()
- Parameters:
name
- The name of the fleet.- Returns:
this
-
tags
Sets the value ofCfnFleetProps.getTags()
- Parameters:
tags
- The list of all tags added to the fleet.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFleetProps>
- Returns:
- a new instance of
CfnFleetProps
- Throws:
NullPointerException
- if any required attribute was not provided
-