Interface DescribeEndpointResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeEndpointResponse.Builder,
,DescribeEndpointResponse> SageMakerResponse.Builder
,SdkBuilder<DescribeEndpointResponse.Builder,
,DescribeEndpointResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeEndpointResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault DescribeEndpointResponse.Builder
asyncInferenceConfig
(Consumer<AsyncInferenceConfig.Builder> asyncInferenceConfig) Returns the description of an endpoint configuration created using theCreateEndpointConfig
API.asyncInferenceConfig
(AsyncInferenceConfig asyncInferenceConfig) Returns the description of an endpoint configuration created using theCreateEndpointConfig
API.creationTime
(Instant creationTime) A timestamp that shows when the endpoint was created.default DescribeEndpointResponse.Builder
dataCaptureConfig
(Consumer<DataCaptureConfigSummary.Builder> dataCaptureConfig) Sets the value of the DataCaptureConfig property for this object.dataCaptureConfig
(DataCaptureConfigSummary dataCaptureConfig) Sets the value of the DataCaptureConfig property for this object.endpointArn
(String endpointArn) The Amazon Resource Name (ARN) of the endpoint.endpointConfigName
(String endpointConfigName) The name of the endpoint configuration associated with this endpoint.endpointName
(String endpointName) Name of the endpoint.endpointStatus
(String endpointStatus) The status of the endpoint.endpointStatus
(EndpointStatus endpointStatus) The status of the endpoint.default DescribeEndpointResponse.Builder
explainerConfig
(Consumer<ExplainerConfig.Builder> explainerConfig) The configuration parameters for an explainer.explainerConfig
(ExplainerConfig explainerConfig) The configuration parameters for an explainer.failureReason
(String failureReason) If the status of the endpoint isFailed
, the reason why it failed.default DescribeEndpointResponse.Builder
lastDeploymentConfig
(Consumer<DeploymentConfig.Builder> lastDeploymentConfig) The most recent deployment configuration for the endpoint.lastDeploymentConfig
(DeploymentConfig lastDeploymentConfig) The most recent deployment configuration for the endpoint.lastModifiedTime
(Instant lastModifiedTime) A timestamp that shows when the endpoint was last modified.default DescribeEndpointResponse.Builder
pendingDeploymentSummary
(Consumer<PendingDeploymentSummary.Builder> pendingDeploymentSummary) Returns the summary of an in-progress deployment.pendingDeploymentSummary
(PendingDeploymentSummary pendingDeploymentSummary) Returns the summary of an in-progress deployment.productionVariants
(Collection<ProductionVariantSummary> productionVariants) An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.productionVariants
(Consumer<ProductionVariantSummary.Builder>... productionVariants) An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.productionVariants
(ProductionVariantSummary... productionVariants) An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.shadowProductionVariants
(Collection<ProductionVariantSummary> shadowProductionVariants) An array of ProductionVariantSummary objects, one for each model that you want to host at this endpoint in shadow mode with production traffic replicated from the model specified onProductionVariants
.shadowProductionVariants
(Consumer<ProductionVariantSummary.Builder>... shadowProductionVariants) An array of ProductionVariantSummary objects, one for each model that you want to host at this endpoint in shadow mode with production traffic replicated from the model specified onProductionVariants
.shadowProductionVariants
(ProductionVariantSummary... shadowProductionVariants) An array of ProductionVariantSummary objects, one for each model that you want to host at this endpoint in shadow mode with production traffic replicated from the model specified onProductionVariants
.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
-
endpointName
Name of the endpoint.
- Parameters:
endpointName
- Name of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointArn
The Amazon Resource Name (ARN) of the endpoint.
- Parameters:
endpointArn
- The Amazon Resource Name (ARN) of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointConfigName
The name of the endpoint configuration associated with this endpoint.
- Parameters:
endpointConfigName
- The name of the endpoint configuration associated with this endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productionVariants
DescribeEndpointResponse.Builder productionVariants(Collection<ProductionVariantSummary> productionVariants) An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.
- Parameters:
productionVariants
- An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productionVariants
An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.
- Parameters:
productionVariants
- An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productionVariants
DescribeEndpointResponse.Builder productionVariants(Consumer<ProductionVariantSummary.Builder>... productionVariants) An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.
This is a convenience method that creates an instance of theProductionVariantSummary.Builder
avoiding the need to create one manually viaProductionVariantSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toproductionVariants(List<ProductionVariantSummary>)
.- Parameters:
productionVariants
- a consumer that will call methods onProductionVariantSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataCaptureConfig
Sets the value of the DataCaptureConfig property for this object.- Parameters:
dataCaptureConfig
- The new value for the DataCaptureConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataCaptureConfig
default DescribeEndpointResponse.Builder dataCaptureConfig(Consumer<DataCaptureConfigSummary.Builder> dataCaptureConfig) Sets the value of the DataCaptureConfig property for this object. This is a convenience method that creates an instance of theDataCaptureConfigSummary.Builder
avoiding the need to create one manually viaDataCaptureConfigSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataCaptureConfig(DataCaptureConfigSummary)
.- Parameters:
dataCaptureConfig
- a consumer that will call methods onDataCaptureConfigSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endpointStatus
The status of the endpoint.
-
OutOfService
: Endpoint is not available to take incoming requests. -
Creating
: CreateEndpoint is executing. -
Updating
: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing. -
SystemUpdating
: Endpoint is undergoing maintenance and cannot be updated or deleted or re-scaled until it has completed. This maintenance operation does not change any customer-specified values such as VPC config, KMS encryption, model, instance type, or instance count. -
RollingBack
: Endpoint fails to scale up or down or change its variant weight and is in the process of rolling back to its previous configuration. Once the rollback completes, endpoint returns to anInService
status. This transitional status only applies to an endpoint that has autoscaling enabled and is undergoing variant weight or capacity changes as part of an UpdateEndpointWeightsAndCapacities call or when the UpdateEndpointWeightsAndCapacities operation is called explicitly. -
InService
: Endpoint is available to process incoming requests. -
Deleting
: DeleteEndpoint is executing. -
Failed
: Endpoint could not be created, updated, or re-scaled. Use theFailureReason
value returned by DescribeEndpoint for information about the failure. DeleteEndpoint is the only operation that can be performed on a failed endpoint. -
UpdateRollbackFailed
: Both the rolling deployment and auto-rollback failed. Your endpoint is in service with a mix of the old and new endpoint configurations. For information about how to remedy this issue and restore the endpoint's status toInService
, see Rolling Deployments.
- Parameters:
endpointStatus
- The status of the endpoint.-
OutOfService
: Endpoint is not available to take incoming requests. -
Creating
: CreateEndpoint is executing. -
Updating
: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing. -
SystemUpdating
: Endpoint is undergoing maintenance and cannot be updated or deleted or re-scaled until it has completed. This maintenance operation does not change any customer-specified values such as VPC config, KMS encryption, model, instance type, or instance count. -
RollingBack
: Endpoint fails to scale up or down or change its variant weight and is in the process of rolling back to its previous configuration. Once the rollback completes, endpoint returns to anInService
status. This transitional status only applies to an endpoint that has autoscaling enabled and is undergoing variant weight or capacity changes as part of an UpdateEndpointWeightsAndCapacities call or when the UpdateEndpointWeightsAndCapacities operation is called explicitly. -
InService
: Endpoint is available to process incoming requests. -
Deleting
: DeleteEndpoint is executing. -
Failed
: Endpoint could not be created, updated, or re-scaled. Use theFailureReason
value returned by DescribeEndpoint for information about the failure. DeleteEndpoint is the only operation that can be performed on a failed endpoint. -
UpdateRollbackFailed
: Both the rolling deployment and auto-rollback failed. Your endpoint is in service with a mix of the old and new endpoint configurations. For information about how to remedy this issue and restore the endpoint's status toInService
, see Rolling Deployments.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
endpointStatus
The status of the endpoint.
-
OutOfService
: Endpoint is not available to take incoming requests. -
Creating
: CreateEndpoint is executing. -
Updating
: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing. -
SystemUpdating
: Endpoint is undergoing maintenance and cannot be updated or deleted or re-scaled until it has completed. This maintenance operation does not change any customer-specified values such as VPC config, KMS encryption, model, instance type, or instance count. -
RollingBack
: Endpoint fails to scale up or down or change its variant weight and is in the process of rolling back to its previous configuration. Once the rollback completes, endpoint returns to anInService
status. This transitional status only applies to an endpoint that has autoscaling enabled and is undergoing variant weight or capacity changes as part of an UpdateEndpointWeightsAndCapacities call or when the UpdateEndpointWeightsAndCapacities operation is called explicitly. -
InService
: Endpoint is available to process incoming requests. -
Deleting
: DeleteEndpoint is executing. -
Failed
: Endpoint could not be created, updated, or re-scaled. Use theFailureReason
value returned by DescribeEndpoint for information about the failure. DeleteEndpoint is the only operation that can be performed on a failed endpoint. -
UpdateRollbackFailed
: Both the rolling deployment and auto-rollback failed. Your endpoint is in service with a mix of the old and new endpoint configurations. For information about how to remedy this issue and restore the endpoint's status toInService
, see Rolling Deployments.
- Parameters:
endpointStatus
- The status of the endpoint.-
OutOfService
: Endpoint is not available to take incoming requests. -
Creating
: CreateEndpoint is executing. -
Updating
: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing. -
SystemUpdating
: Endpoint is undergoing maintenance and cannot be updated or deleted or re-scaled until it has completed. This maintenance operation does not change any customer-specified values such as VPC config, KMS encryption, model, instance type, or instance count. -
RollingBack
: Endpoint fails to scale up or down or change its variant weight and is in the process of rolling back to its previous configuration. Once the rollback completes, endpoint returns to anInService
status. This transitional status only applies to an endpoint that has autoscaling enabled and is undergoing variant weight or capacity changes as part of an UpdateEndpointWeightsAndCapacities call or when the UpdateEndpointWeightsAndCapacities operation is called explicitly. -
InService
: Endpoint is available to process incoming requests. -
Deleting
: DeleteEndpoint is executing. -
Failed
: Endpoint could not be created, updated, or re-scaled. Use theFailureReason
value returned by DescribeEndpoint for information about the failure. DeleteEndpoint is the only operation that can be performed on a failed endpoint. -
UpdateRollbackFailed
: Both the rolling deployment and auto-rollback failed. Your endpoint is in service with a mix of the old and new endpoint configurations. For information about how to remedy this issue and restore the endpoint's status toInService
, see Rolling Deployments.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
failureReason
If the status of the endpoint is
Failed
, the reason why it failed.- Parameters:
failureReason
- If the status of the endpoint isFailed
, the reason why it failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
A timestamp that shows when the endpoint was created.
- Parameters:
creationTime
- A timestamp that shows when the endpoint was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
A timestamp that shows when the endpoint was last modified.
- Parameters:
lastModifiedTime
- A timestamp that shows when the endpoint was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastDeploymentConfig
The most recent deployment configuration for the endpoint.
- Parameters:
lastDeploymentConfig
- The most recent deployment configuration for the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastDeploymentConfig
default DescribeEndpointResponse.Builder lastDeploymentConfig(Consumer<DeploymentConfig.Builder> lastDeploymentConfig) The most recent deployment configuration for the endpoint.
This is a convenience method that creates an instance of theDeploymentConfig.Builder
avoiding the need to create one manually viaDeploymentConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolastDeploymentConfig(DeploymentConfig)
.- Parameters:
lastDeploymentConfig
- a consumer that will call methods onDeploymentConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
asyncInferenceConfig
Returns the description of an endpoint configuration created using the
CreateEndpointConfig
API.- Parameters:
asyncInferenceConfig
- Returns the description of an endpoint configuration created using theCreateEndpointConfig
API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asyncInferenceConfig
default DescribeEndpointResponse.Builder asyncInferenceConfig(Consumer<AsyncInferenceConfig.Builder> asyncInferenceConfig) Returns the description of an endpoint configuration created using the
This is a convenience method that creates an instance of theCreateEndpointConfig
API.AsyncInferenceConfig.Builder
avoiding the need to create one manually viaAsyncInferenceConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toasyncInferenceConfig(AsyncInferenceConfig)
.- Parameters:
asyncInferenceConfig
- a consumer that will call methods onAsyncInferenceConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pendingDeploymentSummary
DescribeEndpointResponse.Builder pendingDeploymentSummary(PendingDeploymentSummary pendingDeploymentSummary) Returns the summary of an in-progress deployment. This field is only returned when the endpoint is creating or updating with a new endpoint configuration.
- Parameters:
pendingDeploymentSummary
- Returns the summary of an in-progress deployment. This field is only returned when the endpoint is creating or updating with a new endpoint configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingDeploymentSummary
default DescribeEndpointResponse.Builder pendingDeploymentSummary(Consumer<PendingDeploymentSummary.Builder> pendingDeploymentSummary) Returns the summary of an in-progress deployment. This field is only returned when the endpoint is creating or updating with a new endpoint configuration.
This is a convenience method that creates an instance of thePendingDeploymentSummary.Builder
avoiding the need to create one manually viaPendingDeploymentSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topendingDeploymentSummary(PendingDeploymentSummary)
.- Parameters:
pendingDeploymentSummary
- a consumer that will call methods onPendingDeploymentSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
explainerConfig
The configuration parameters for an explainer.
- Parameters:
explainerConfig
- The configuration parameters for an explainer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
explainerConfig
default DescribeEndpointResponse.Builder explainerConfig(Consumer<ExplainerConfig.Builder> explainerConfig) The configuration parameters for an explainer.
This is a convenience method that creates an instance of theExplainerConfig.Builder
avoiding the need to create one manually viaExplainerConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexplainerConfig(ExplainerConfig)
.- Parameters:
explainerConfig
- a consumer that will call methods onExplainerConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
shadowProductionVariants
DescribeEndpointResponse.Builder shadowProductionVariants(Collection<ProductionVariantSummary> shadowProductionVariants) An array of ProductionVariantSummary objects, one for each model that you want to host at this endpoint in shadow mode with production traffic replicated from the model specified on
ProductionVariants
.- Parameters:
shadowProductionVariants
- An array of ProductionVariantSummary objects, one for each model that you want to host at this endpoint in shadow mode with production traffic replicated from the model specified onProductionVariants
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shadowProductionVariants
DescribeEndpointResponse.Builder shadowProductionVariants(ProductionVariantSummary... shadowProductionVariants) An array of ProductionVariantSummary objects, one for each model that you want to host at this endpoint in shadow mode with production traffic replicated from the model specified on
ProductionVariants
.- Parameters:
shadowProductionVariants
- An array of ProductionVariantSummary objects, one for each model that you want to host at this endpoint in shadow mode with production traffic replicated from the model specified onProductionVariants
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shadowProductionVariants
DescribeEndpointResponse.Builder shadowProductionVariants(Consumer<ProductionVariantSummary.Builder>... shadowProductionVariants) An array of ProductionVariantSummary objects, one for each model that you want to host at this endpoint in shadow mode with production traffic replicated from the model specified on
This is a convenience method that creates an instance of theProductionVariants
.ProductionVariantSummary.Builder
avoiding the need to create one manually viaProductionVariantSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toshadowProductionVariants(List<ProductionVariantSummary>)
.- Parameters:
shadowProductionVariants
- a consumer that will call methods onProductionVariantSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-