Interface DescribeClusterSchedulerConfigResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeClusterSchedulerConfigResponse.Builder,
,DescribeClusterSchedulerConfigResponse> SageMakerResponse.Builder
,SdkBuilder<DescribeClusterSchedulerConfigResponse.Builder,
,DescribeClusterSchedulerConfigResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeClusterSchedulerConfigResponse
-
Method Summary
Modifier and TypeMethodDescriptionclusterArn
(String clusterArn) ARN of the cluster where the cluster policy is applied.clusterSchedulerConfigArn
(String clusterSchedulerConfigArn) ARN of the cluster policy.clusterSchedulerConfigId
(String clusterSchedulerConfigId) ID of the cluster policy.clusterSchedulerConfigVersion
(Integer clusterSchedulerConfigVersion) Version of the cluster policy.createdBy
(Consumer<UserContext.Builder> createdBy) Sets the value of the CreatedBy property for this object.createdBy
(UserContext createdBy) Sets the value of the CreatedBy property for this object.creationTime
(Instant creationTime) Creation time of the cluster policy.description
(String description) Description of the cluster policy.failureReason
(String failureReason) Failure reason of the cluster policy.lastModifiedBy
(Consumer<UserContext.Builder> lastModifiedBy) Sets the value of the LastModifiedBy property for this object.lastModifiedBy
(UserContext lastModifiedBy) Sets the value of the LastModifiedBy property for this object.lastModifiedTime
(Instant lastModifiedTime) Last modified time of the cluster policy.Name of the cluster policy.schedulerConfig
(Consumer<SchedulerConfig.Builder> schedulerConfig) Cluster policy configuration.schedulerConfig
(SchedulerConfig schedulerConfig) Cluster policy configuration.Status of the cluster policy.status
(SchedulerResourceStatus status) Status of the cluster policy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
clusterSchedulerConfigArn
DescribeClusterSchedulerConfigResponse.Builder clusterSchedulerConfigArn(String clusterSchedulerConfigArn) ARN of the cluster policy.
- Parameters:
clusterSchedulerConfigArn
- ARN of the cluster policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterSchedulerConfigId
DescribeClusterSchedulerConfigResponse.Builder clusterSchedulerConfigId(String clusterSchedulerConfigId) ID of the cluster policy.
- Parameters:
clusterSchedulerConfigId
- ID of the cluster policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Name of the cluster policy.
- Parameters:
name
- Name of the cluster policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterSchedulerConfigVersion
DescribeClusterSchedulerConfigResponse.Builder clusterSchedulerConfigVersion(Integer clusterSchedulerConfigVersion) Version of the cluster policy.
- Parameters:
clusterSchedulerConfigVersion
- Version of the cluster policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Status of the cluster policy.
- Parameters:
status
- Status of the cluster policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Status of the cluster policy.
- Parameters:
status
- Status of the cluster policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReason
Failure reason of the cluster policy.
- Parameters:
failureReason
- Failure reason of the cluster policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterArn
ARN of the cluster where the cluster policy is applied.
- Parameters:
clusterArn
- ARN of the cluster where the cluster policy is applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedulerConfig
Cluster policy configuration. This policy is used for task prioritization and fair-share allocation. This helps prioritize critical workloads and distributes idle compute across entities.
- Parameters:
schedulerConfig
- Cluster policy configuration. This policy is used for task prioritization and fair-share allocation. This helps prioritize critical workloads and distributes idle compute across entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedulerConfig
default DescribeClusterSchedulerConfigResponse.Builder schedulerConfig(Consumer<SchedulerConfig.Builder> schedulerConfig) Cluster policy configuration. This policy is used for task prioritization and fair-share allocation. This helps prioritize critical workloads and distributes idle compute across entities.
This is a convenience method that creates an instance of theSchedulerConfig.Builder
avoiding the need to create one manually viaSchedulerConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschedulerConfig(SchedulerConfig)
.- Parameters:
schedulerConfig
- a consumer that will call methods onSchedulerConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
Description of the cluster policy.
- Parameters:
description
- Description of the cluster policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
Creation time of the cluster policy.
- Parameters:
creationTime
- Creation time of the cluster policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
Sets the value of the CreatedBy property for this object.- Parameters:
createdBy
- The new value for the CreatedBy property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
default DescribeClusterSchedulerConfigResponse.Builder createdBy(Consumer<UserContext.Builder> createdBy) Sets the value of the CreatedBy property for this object. This is a convenience method that creates an instance of theUserContext.Builder
avoiding the need to create one manually viaUserContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocreatedBy(UserContext)
.- Parameters:
createdBy
- a consumer that will call methods onUserContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastModifiedTime
Last modified time of the cluster policy.
- Parameters:
lastModifiedTime
- Last modified time of the cluster policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
Sets the value of the LastModifiedBy property for this object.- Parameters:
lastModifiedBy
- The new value for the LastModifiedBy property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
default DescribeClusterSchedulerConfigResponse.Builder lastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy) Sets the value of the LastModifiedBy property for this object. This is a convenience method that creates an instance of theUserContext.Builder
avoiding the need to create one manually viaUserContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolastModifiedBy(UserContext)
.- Parameters:
lastModifiedBy
- a consumer that will call methods onUserContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-