Interface ServiceEnvironmentDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ServiceEnvironmentDetail.Builder,
,ServiceEnvironmentDetail> SdkBuilder<ServiceEnvironmentDetail.Builder,
,ServiceEnvironmentDetail> SdkPojo
- Enclosing class:
ServiceEnvironmentDetail
-
Method Summary
Modifier and TypeMethodDescriptioncapacityLimits
(Collection<CapacityLimit> capacityLimits) The capacity limits for the service environment.capacityLimits
(Consumer<CapacityLimit.Builder>... capacityLimits) The capacity limits for the service environment.capacityLimits
(CapacityLimit... capacityLimits) The capacity limits for the service environment.serviceEnvironmentArn
(String serviceEnvironmentArn) The Amazon Resource Name (ARN) of the service environment.serviceEnvironmentName
(String serviceEnvironmentName) The name of the service environment.serviceEnvironmentType
(String serviceEnvironmentType) The type of service environment.serviceEnvironmentType
(ServiceEnvironmentType serviceEnvironmentType) The type of service environment.The state of the service environment.state
(ServiceEnvironmentState state) The state of the service environment.The current status of the service environment.status
(ServiceEnvironmentStatus status) The current status of the service environment.The tags associated with the service environment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
serviceEnvironmentName
The name of the service environment.
- Parameters:
serviceEnvironmentName
- The name of the service environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceEnvironmentArn
The Amazon Resource Name (ARN) of the service environment.
- Parameters:
serviceEnvironmentArn
- The Amazon Resource Name (ARN) of the service environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceEnvironmentType
The type of service environment. For SageMaker Training jobs, this value is
SAGEMAKER_TRAINING
.- Parameters:
serviceEnvironmentType
- The type of service environment. For SageMaker Training jobs, this value isSAGEMAKER_TRAINING
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceEnvironmentType
ServiceEnvironmentDetail.Builder serviceEnvironmentType(ServiceEnvironmentType serviceEnvironmentType) The type of service environment. For SageMaker Training jobs, this value is
SAGEMAKER_TRAINING
.- Parameters:
serviceEnvironmentType
- The type of service environment. For SageMaker Training jobs, this value isSAGEMAKER_TRAINING
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the service environment. Valid values are
ENABLED
andDISABLED
.- Parameters:
state
- The state of the service environment. Valid values areENABLED
andDISABLED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the service environment. Valid values are
ENABLED
andDISABLED
.- Parameters:
state
- The state of the service environment. Valid values areENABLED
andDISABLED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the service environment.
- Parameters:
status
- The current status of the service environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the service environment.
- Parameters:
status
- The current status of the service environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 defines the maximum resources that can be used by service jobs in this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 defines the maximum resources that can be used by service jobs in this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityLimits
The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.
This is a convenience method that creates an instance of theCapacityLimit.Builder
avoiding the need to create one manually viaCapacityLimit.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocapacityLimits(List<CapacityLimit>)
.- Parameters:
capacityLimits
- a consumer that will call methods onCapacityLimit.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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 Batch resources.
- Parameters:
tags
- The tags associated with the service environment. Each tag consists of a key and an optional value. For more information, see Tagging your Batch resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-