Class CfnServiceEnvironmentPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.batch.CfnServiceEnvironmentPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServiceEnvironmentPropsMixin>
- Enclosing class:
CfnServiceEnvironmentPropsMixin
@Stability(Stable)
public static final class CfnServiceEnvironmentPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServiceEnvironmentPropsMixin>
A fluent builder for
CfnServiceEnvironmentPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()capacityLimits(List<? extends Object> capacityLimits) The capacity limits for the service environment.capacityLimits(IResolvable capacityLimits) The capacity limits for the service environment.create()create(CfnPropertyMixinOptions options) serviceEnvironmentName(String serviceEnvironmentName) The name of the service environment.serviceEnvironmentType(String serviceEnvironmentType) The type of service environment.The state of the service environment.The tags associated with the service environment.
-
Method Details
-
create
@Stability(Stable) public static CfnServiceEnvironmentPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnServiceEnvironmentPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnServiceEnvironmentPropsMixin.Builder.
-
capacityLimits
@Stability(Stable) public CfnServiceEnvironmentPropsMixin.Builder capacityLimits(IResolvable capacityLimits) The capacity limits for the service environment.This defines the maximum resources that can be used by service jobs in this environment.
- Parameters:
capacityLimits- The capacity limits for the service environment. This parameter is required.- Returns:
this- See Also:
-
capacityLimits
@Stability(Stable) public CfnServiceEnvironmentPropsMixin.Builder capacityLimits(List<? extends Object> capacityLimits) The capacity limits for the service environment.This defines the maximum resources that can be used by service jobs in this environment.
- Parameters:
capacityLimits- The capacity limits for the service environment. This parameter is required.- Returns:
this- See Also:
-
serviceEnvironmentName
@Stability(Stable) public CfnServiceEnvironmentPropsMixin.Builder serviceEnvironmentName(String serviceEnvironmentName) The name of the service environment.- Parameters:
serviceEnvironmentName- The name of the service environment. This parameter is required.- Returns:
this- See Also:
-
serviceEnvironmentType
@Stability(Stable) public CfnServiceEnvironmentPropsMixin.Builder serviceEnvironmentType(String serviceEnvironmentType) The type of service environment.For SageMaker Training jobs, this value is
SAGEMAKER_TRAINING.- Parameters:
serviceEnvironmentType- The type of service environment. This parameter is required.- Returns:
this- See Also:
-
state
The state of the service environment.Valid values are
ENABLEDandDISABLED.- Parameters:
state- The state of the service environment. This parameter is required.- Returns:
this- See Also:
-
tags
The tags associated with the service environment.Each tag consists of a key and an optional value. For more information, see Tagging your AWS Batch resources .
- Parameters:
tags- The tags associated with the service environment. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServiceEnvironmentPropsMixin>- Returns:
- a newly built instance of
CfnServiceEnvironmentPropsMixin.
-