Interface DescribeClusterOperationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeClusterOperationResponse.Builder,,DescribeClusterOperationResponse> SageMakerResponse.Builder,SdkBuilder<DescribeClusterOperationResponse.Builder,,DescribeClusterOperationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeClusterOperationResponse
-
Method Summary
Modifier and TypeMethodDescriptionclusterArn(String clusterArn) The Amazon Resource Name (ARN) of the HyperPod cluster associated with the operation.creationTime(Instant creationTime) The timestamp when the operation was created.deepHealthCheckDetails(Collection<InstanceGroupHealthCheckConfiguration> deepHealthCheckDetails) The deep health check details for the operation.deepHealthCheckDetails(Consumer<InstanceGroupHealthCheckConfiguration.Builder>... deepHealthCheckDetails) The deep health check details for the operation.deepHealthCheckDetails(InstanceGroupHealthCheckConfiguration... deepHealthCheckDetails) The deep health check details for the operation.operationId(String operationId) The unique identifier (UUID) of the operation.scalingDetails(Collection<ClusterOperationScalingDetails> scalingDetails) The per-instance-group scaling details for the operation.scalingDetails(Consumer<ClusterOperationScalingDetails.Builder>... scalingDetails) The per-instance-group scaling details for the operation.scalingDetails(ClusterOperationScalingDetails... scalingDetails) The per-instance-group scaling details for the operation.The current status of the operation.status(ClusterOperationStatus status) The current status of the operation.The type of the operation.type(ClusterOperationType type) The type of the operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
operationId
The unique identifier (UUID) of the operation.
- Parameters:
operationId- The unique identifier (UUID) of the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterArn
The Amazon Resource Name (ARN) of the HyperPod cluster associated with the operation.
- Parameters:
clusterArn- The Amazon Resource Name (ARN) of the HyperPod cluster associated with the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of the operation. Valid values are
ScalingorDeepHealthCheck.- Parameters:
type- The type of the operation. Valid values areScalingorDeepHealthCheck.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the operation. Valid values are
ScalingorDeepHealthCheck.- Parameters:
type- The type of the operation. Valid values areScalingorDeepHealthCheck.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the operation. Valid values are
InProgress,Superseded, orDone.- Parameters:
status- The current status of the operation. Valid values areInProgress,Superseded, orDone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the operation. Valid values are
InProgress,Superseded, orDone.- Parameters:
status- The current status of the operation. Valid values areInProgress,Superseded, orDone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
The timestamp when the operation was created.
- Parameters:
creationTime- The timestamp when the operation was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingDetails
DescribeClusterOperationResponse.Builder scalingDetails(Collection<ClusterOperationScalingDetails> scalingDetails) The per-instance-group scaling details for the operation. This field is populated when the operation
TypeisScaling.- Parameters:
scalingDetails- The per-instance-group scaling details for the operation. This field is populated when the operationTypeisScaling.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingDetails
DescribeClusterOperationResponse.Builder scalingDetails(ClusterOperationScalingDetails... scalingDetails) The per-instance-group scaling details for the operation. This field is populated when the operation
TypeisScaling.- Parameters:
scalingDetails- The per-instance-group scaling details for the operation. This field is populated when the operationTypeisScaling.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingDetails
DescribeClusterOperationResponse.Builder scalingDetails(Consumer<ClusterOperationScalingDetails.Builder>... scalingDetails) The per-instance-group scaling details for the operation. This field is populated when the operation
This is a convenience method that creates an instance of theTypeisScaling.ClusterOperationScalingDetails.Builderavoiding the need to create one manually viaClusterOperationScalingDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscalingDetails(List<ClusterOperationScalingDetails>).- Parameters:
scalingDetails- a consumer that will call methods onClusterOperationScalingDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deepHealthCheckDetails
DescribeClusterOperationResponse.Builder deepHealthCheckDetails(Collection<InstanceGroupHealthCheckConfiguration> deepHealthCheckDetails) The deep health check details for the operation. This field is populated when the operation
TypeisDeepHealthCheck.- Parameters:
deepHealthCheckDetails- The deep health check details for the operation. This field is populated when the operationTypeisDeepHealthCheck.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deepHealthCheckDetails
DescribeClusterOperationResponse.Builder deepHealthCheckDetails(InstanceGroupHealthCheckConfiguration... deepHealthCheckDetails) The deep health check details for the operation. This field is populated when the operation
TypeisDeepHealthCheck.- Parameters:
deepHealthCheckDetails- The deep health check details for the operation. This field is populated when the operationTypeisDeepHealthCheck.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deepHealthCheckDetails
DescribeClusterOperationResponse.Builder deepHealthCheckDetails(Consumer<InstanceGroupHealthCheckConfiguration.Builder>... deepHealthCheckDetails) The deep health check details for the operation. This field is populated when the operation
This is a convenience method that creates an instance of theTypeisDeepHealthCheck.InstanceGroupHealthCheckConfiguration.Builderavoiding the need to create one manually viaInstanceGroupHealthCheckConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeepHealthCheckDetails(List<InstanceGroupHealthCheckConfiguration>).- Parameters:
deepHealthCheckDetails- a consumer that will call methods onInstanceGroupHealthCheckConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-