Interface DescribeInferenceComponentResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeInferenceComponentResponse.Builder,DescribeInferenceComponentResponse>
,SageMakerResponse.Builder
,SdkBuilder<DescribeInferenceComponentResponse.Builder,DescribeInferenceComponentResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeInferenceComponentResponse
public static interface DescribeInferenceComponentResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<DescribeInferenceComponentResponse.Builder,DescribeInferenceComponentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeInferenceComponentResponse.Builder
creationTime(Instant creationTime)
The time when the inference component was created.DescribeInferenceComponentResponse.Builder
endpointArn(String endpointArn)
The Amazon Resource Name (ARN) of the endpoint that hosts the inference component.DescribeInferenceComponentResponse.Builder
endpointName(String endpointName)
The name of the endpoint that hosts the inference component.DescribeInferenceComponentResponse.Builder
failureReason(String failureReason)
If the inference component status isFailed
, the reason for the failure.DescribeInferenceComponentResponse.Builder
inferenceComponentArn(String inferenceComponentArn)
The Amazon Resource Name (ARN) of the inference component.DescribeInferenceComponentResponse.Builder
inferenceComponentName(String inferenceComponentName)
The name of the inference component.DescribeInferenceComponentResponse.Builder
inferenceComponentStatus(String inferenceComponentStatus)
The status of the inference component.DescribeInferenceComponentResponse.Builder
inferenceComponentStatus(InferenceComponentStatus inferenceComponentStatus)
The status of the inference component.DescribeInferenceComponentResponse.Builder
lastModifiedTime(Instant lastModifiedTime)
The time when the inference component was last updated.default DescribeInferenceComponentResponse.Builder
runtimeConfig(Consumer<InferenceComponentRuntimeConfigSummary.Builder> runtimeConfig)
Details about the runtime settings for the model that is deployed with the inference component.DescribeInferenceComponentResponse.Builder
runtimeConfig(InferenceComponentRuntimeConfigSummary runtimeConfig)
Details about the runtime settings for the model that is deployed with the inference component.default DescribeInferenceComponentResponse.Builder
specification(Consumer<InferenceComponentSpecificationSummary.Builder> specification)
Details about the resources that are deployed with this inference component.DescribeInferenceComponentResponse.Builder
specification(InferenceComponentSpecificationSummary specification)
Details about the resources that are deployed with this inference component.DescribeInferenceComponentResponse.Builder
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
inferenceComponentName
DescribeInferenceComponentResponse.Builder inferenceComponentName(String 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
DescribeInferenceComponentResponse.Builder inferenceComponentArn(String 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
DescribeInferenceComponentResponse.Builder endpointName(String 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
DescribeInferenceComponentResponse.Builder endpointArn(String 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
DescribeInferenceComponentResponse.Builder variantName(String 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
DescribeInferenceComponentResponse.Builder failureReason(String 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:
specification(InferenceComponentSpecificationSummary)
-
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:
runtimeConfig(InferenceComponentRuntimeConfigSummary)
-
creationTime
DescribeInferenceComponentResponse.Builder creationTime(Instant 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
DescribeInferenceComponentResponse.Builder lastModifiedTime(Instant 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
,InferenceComponentStatus
-
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:
InferenceComponentStatus
,InferenceComponentStatus
-
-