Interface DescribeInferenceComponentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeInferenceComponentResponse.Builder,
,DescribeInferenceComponentResponse> SageMakerResponse.Builder
,SdkBuilder<DescribeInferenceComponentResponse.Builder,
,DescribeInferenceComponentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeInferenceComponentResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) The time when the inference component was created.endpointArn
(String endpointArn) The Amazon Resource Name (ARN) of the endpoint that hosts the inference component.endpointName
(String endpointName) The name of the endpoint that hosts the inference component.failureReason
(String failureReason) If the inference component status isFailed
, the reason for the failure.inferenceComponentArn
(String inferenceComponentArn) The Amazon Resource Name (ARN) of the inference component.inferenceComponentName
(String inferenceComponentName) The name of the inference component.inferenceComponentStatus
(String inferenceComponentStatus) The status of the inference component.inferenceComponentStatus
(InferenceComponentStatus inferenceComponentStatus) The status of the inference component.lastModifiedTime
(Instant lastModifiedTime) The time when the inference component was last updated.runtimeConfig
(Consumer<InferenceComponentRuntimeConfigSummary.Builder> runtimeConfig) Details about the runtime settings for the model that is deployed with the inference component.runtimeConfig
(InferenceComponentRuntimeConfigSummary runtimeConfig) Details about the runtime settings for the model that is deployed with the inference component.specification
(Consumer<InferenceComponentSpecificationSummary.Builder> specification) Details about the resources that are deployed with this inference component.specification
(InferenceComponentSpecificationSummary specification) Details about the resources that are deployed with this inference component.variantName
(String variantName) The name of the production variant that hosts the inference component.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
inferenceComponentName
The name of the inference component.
- Parameters:
inferenceComponentName
- The name of the inference component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceComponentArn
The Amazon Resource Name (ARN) of the inference component.
- Parameters:
inferenceComponentArn
- The Amazon Resource Name (ARN) of the inference component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointName
The name of the endpoint that hosts the inference component.
- Parameters:
endpointName
- The name of the endpoint that hosts the inference component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointArn
The Amazon Resource Name (ARN) of the endpoint that hosts the inference component.
- Parameters:
endpointArn
- The Amazon Resource Name (ARN) of the endpoint that hosts the inference component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variantName
The name of the production variant that hosts the inference component.
- Parameters:
variantName
- The name of the production variant that hosts the inference component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
If the inference component status is
Failed
, the reason for the failure.- Parameters:
failureReason
- If the inference component status isFailed
, the reason for the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
specification
DescribeInferenceComponentResponse.Builder specification(InferenceComponentSpecificationSummary specification) Details about the resources that are deployed with this inference component.
- Parameters:
specification
- Details about the resources that are deployed with this inference component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
specification
default DescribeInferenceComponentResponse.Builder specification(Consumer<InferenceComponentSpecificationSummary.Builder> specification) Details about the resources that are deployed with this inference component.
This is a convenience method that creates an instance of theInferenceComponentSpecificationSummary.Builder
avoiding the need to create one manually viaInferenceComponentSpecificationSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tospecification(InferenceComponentSpecificationSummary)
.- Parameters:
specification
- a consumer that will call methods onInferenceComponentSpecificationSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runtimeConfig
DescribeInferenceComponentResponse.Builder runtimeConfig(InferenceComponentRuntimeConfigSummary runtimeConfig) Details about the runtime settings for the model that is deployed with the inference component.
- Parameters:
runtimeConfig
- Details about the runtime settings for the model that is deployed with the inference component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeConfig
default DescribeInferenceComponentResponse.Builder runtimeConfig(Consumer<InferenceComponentRuntimeConfigSummary.Builder> runtimeConfig) Details about the runtime settings for the model that is deployed with the inference component.
This is a convenience method that creates an instance of theInferenceComponentRuntimeConfigSummary.Builder
avoiding the need to create one manually viaInferenceComponentRuntimeConfigSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toruntimeConfig(InferenceComponentRuntimeConfigSummary)
.- Parameters:
runtimeConfig
- a consumer that will call methods onInferenceComponentRuntimeConfigSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
The time when the inference component was created.
- Parameters:
creationTime
- The time when the inference component was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The time when the inference component was last updated.
- Parameters:
lastModifiedTime
- The time when the inference component was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceComponentStatus
DescribeInferenceComponentResponse.Builder inferenceComponentStatus(String inferenceComponentStatus) The status of the inference component.
- Parameters:
inferenceComponentStatus
- The status of the inference component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inferenceComponentStatus
DescribeInferenceComponentResponse.Builder inferenceComponentStatus(InferenceComponentStatus inferenceComponentStatus) The status of the inference component.
- Parameters:
inferenceComponentStatus
- The status of the inference component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-