Interface DescribeClusterSchedulerConfigResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeClusterSchedulerConfigResponse.Builder,DescribeClusterSchedulerConfigResponse>
,SageMakerResponse.Builder
,SdkBuilder<DescribeClusterSchedulerConfigResponse.Builder,DescribeClusterSchedulerConfigResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeClusterSchedulerConfigResponse
public static interface DescribeClusterSchedulerConfigResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<DescribeClusterSchedulerConfigResponse.Builder,DescribeClusterSchedulerConfigResponse>
-
-
Method Summary
-
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 Detail
-
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
DescribeClusterSchedulerConfigResponse.Builder name(String 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
DescribeClusterSchedulerConfigResponse.Builder status(String 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:
SchedulerResourceStatus
,SchedulerResourceStatus
-
status
DescribeClusterSchedulerConfigResponse.Builder status(SchedulerResourceStatus 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:
SchedulerResourceStatus
,SchedulerResourceStatus
-
failureReason
DescribeClusterSchedulerConfigResponse.Builder failureReason(String 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
DescribeClusterSchedulerConfigResponse.Builder clusterArn(String 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
DescribeClusterSchedulerConfigResponse.Builder schedulerConfig(SchedulerConfig 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:
schedulerConfig(SchedulerConfig)
-
description
DescribeClusterSchedulerConfigResponse.Builder description(String 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
DescribeClusterSchedulerConfigResponse.Builder creationTime(Instant 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
DescribeClusterSchedulerConfigResponse.Builder createdBy(UserContext 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:
createdBy(UserContext)
-
lastModifiedTime
DescribeClusterSchedulerConfigResponse.Builder lastModifiedTime(Instant 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
DescribeClusterSchedulerConfigResponse.Builder lastModifiedBy(UserContext 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:
lastModifiedBy(UserContext)
-
-