Class CfnWorkerMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.deadline.CfnWorkerMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkerMixinProps>
- Enclosing interface:
CfnWorkerMixinProps
@Stability(Stable)
public static final class CfnWorkerMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkerMixinProps>
A builder for
CfnWorkerMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWorkerMixinProps.getFarmId()Sets the value ofCfnWorkerMixinProps.getFleetId()hostProperties(CfnWorkerPropsMixin.HostPropertiesRequestProperty hostProperties) Sets the value ofCfnWorkerMixinProps.getHostProperties()hostProperties(IResolvable hostProperties) Sets the value ofCfnWorkerMixinProps.getHostProperties()tags(List<? extends CfnWorkerPropsMixin.TagsItemsProperty> tags) Sets the value ofCfnWorkerMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
farmId
Sets the value ofCfnWorkerMixinProps.getFarmId()- Parameters:
farmId- The farm ID.- Returns:
this
-
fleetId
Sets the value ofCfnWorkerMixinProps.getFleetId()- Parameters:
fleetId- The fleet ID.- Returns:
this
-
hostProperties
Sets the value ofCfnWorkerMixinProps.getHostProperties()- Parameters:
hostProperties- The host property details.- Returns:
this
-
hostProperties
@Stability(Stable) public CfnWorkerMixinProps.Builder hostProperties(CfnWorkerPropsMixin.HostPropertiesRequestProperty hostProperties) Sets the value ofCfnWorkerMixinProps.getHostProperties()- Parameters:
hostProperties- The host property details.- Returns:
this
-
tags
@Stability(Stable) public CfnWorkerMixinProps.Builder tags(List<? extends CfnWorkerPropsMixin.TagsItemsProperty> tags) Sets the value ofCfnWorkerMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkerMixinProps>- Returns:
- a new instance of
CfnWorkerMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-