Interface ServiceEnvironmentDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ServiceEnvironmentDetail.Builder,ServiceEnvironmentDetail>,SdkBuilder<ServiceEnvironmentDetail.Builder,ServiceEnvironmentDetail>,SdkPojo
- Enclosing class:
- ServiceEnvironmentDetail
@Mutable @NotThreadSafe public static interface ServiceEnvironmentDetail.Builder extends SdkPojo, CopyableBuilder<ServiceEnvironmentDetail.Builder,ServiceEnvironmentDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServiceEnvironmentDetail.BuildercapacityLimits(Collection<CapacityLimit> capacityLimits)The capacity limits for the service environment.ServiceEnvironmentDetail.BuildercapacityLimits(Consumer<CapacityLimit.Builder>... capacityLimits)The capacity limits for the service environment.ServiceEnvironmentDetail.BuildercapacityLimits(CapacityLimit... capacityLimits)The capacity limits for the service environment.ServiceEnvironmentDetail.BuilderserviceEnvironmentArn(String serviceEnvironmentArn)The Amazon Resource Name (ARN) of the service environment.ServiceEnvironmentDetail.BuilderserviceEnvironmentName(String serviceEnvironmentName)The name of the service environment.ServiceEnvironmentDetail.BuilderserviceEnvironmentType(String serviceEnvironmentType)The type of service environment.ServiceEnvironmentDetail.BuilderserviceEnvironmentType(ServiceEnvironmentType serviceEnvironmentType)The type of service environment.ServiceEnvironmentDetail.Builderstate(String state)The state of the service environment.ServiceEnvironmentDetail.Builderstate(ServiceEnvironmentState state)The state of the service environment.ServiceEnvironmentDetail.Builderstatus(String status)The current status of the service environment.ServiceEnvironmentDetail.Builderstatus(ServiceEnvironmentStatus status)The current status of the service environment.ServiceEnvironmentDetail.Buildertags(Map<String,String> tags)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 Detail
-
serviceEnvironmentName
ServiceEnvironmentDetail.Builder serviceEnvironmentName(String 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
ServiceEnvironmentDetail.Builder serviceEnvironmentArn(String 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
ServiceEnvironmentDetail.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. 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,ServiceEnvironmentType
-
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:
ServiceEnvironmentType,ServiceEnvironmentType
-
state
ServiceEnvironmentDetail.Builder state(String state)
The state of the service environment. Valid values are
ENABLEDandDISABLED.- Parameters:
state- The state of the service environment. Valid values areENABLEDandDISABLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ServiceEnvironmentState,ServiceEnvironmentState
-
state
ServiceEnvironmentDetail.Builder state(ServiceEnvironmentState state)
The state of the service environment. Valid values are
ENABLEDandDISABLED.- Parameters:
state- The state of the service environment. Valid values areENABLEDandDISABLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ServiceEnvironmentState,ServiceEnvironmentState
-
status
ServiceEnvironmentDetail.Builder status(String 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:
ServiceEnvironmentStatus,ServiceEnvironmentStatus
-
status
ServiceEnvironmentDetail.Builder status(ServiceEnvironmentStatus 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:
ServiceEnvironmentStatus,ServiceEnvironmentStatus
-
capacityLimits
ServiceEnvironmentDetail.Builder capacityLimits(Collection<CapacityLimit> 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
ServiceEnvironmentDetail.Builder capacityLimits(CapacityLimit... 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
ServiceEnvironmentDetail.Builder capacityLimits(Consumer<CapacityLimit.Builder>... 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.Builderavoiding the need to create one manually viaCapacityLimit.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#capacityLimits(List.) - 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:
#capacityLimits(java.util.Collection)
-
tags
ServiceEnvironmentDetail.Builder tags(Map<String,String> 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.
-
-