Class CfnWorker.Builder
java.lang.Object
software.amazon.awscdk.services.deadline.CfnWorker.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorker>
- Enclosing class:
CfnWorker
@Stability(Stable)
public static final class CfnWorker.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorker>
A fluent builder for
CfnWorker.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnWorker.BuilderThe farm ID.The fleet ID.hostProperties(IResolvable hostProperties) The host property details.hostProperties(CfnWorker.HostPropertiesRequestProperty hostProperties) The host property details.tags(List<? extends CfnWorker.TagsItemsProperty> tags) An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnWorker.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnWorker.Builder.
-
farmId
The farm ID.- Parameters:
farmId- The farm ID. This parameter is required.- Returns:
this- See Also:
-
fleetId
The fleet ID.- Parameters:
fleetId- The fleet ID. This parameter is required.- Returns:
this- See Also:
-
hostProperties
The host property details.- Parameters:
hostProperties- The host property details. This parameter is required.- Returns:
this- See Also:
-
hostProperties
@Stability(Stable) public CfnWorker.Builder hostProperties(CfnWorker.HostPropertiesRequestProperty hostProperties) The host property details.- Parameters:
hostProperties- The host property details. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
-