Interface DescribeEndpointConfigResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeEndpointConfigResponse.Builder,
,DescribeEndpointConfigResponse> SageMakerResponse.Builder
,SdkBuilder<DescribeEndpointConfigResponse.Builder,
,DescribeEndpointConfigResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeEndpointConfigResponse
-
Method Summary
Modifier and TypeMethodDescriptionasyncInferenceConfig
(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 configuration was created.dataCaptureConfig
(Consumer<DataCaptureConfig.Builder> dataCaptureConfig) Sets the value of the DataCaptureConfig property for this object.dataCaptureConfig
(DataCaptureConfig dataCaptureConfig) Sets the value of the DataCaptureConfig property for this object.enableNetworkIsolation
(Boolean enableNetworkIsolation) Indicates whether all model containers deployed to the endpoint are isolated.endpointConfigArn
(String endpointConfigArn) The Amazon Resource Name (ARN) of the endpoint configuration.endpointConfigName
(String endpointConfigName) Name of the SageMaker endpoint configuration.executionRoleArn
(String executionRoleArn) The Amazon Resource Name (ARN) of the IAM role that you assigned to the endpoint configuration.explainerConfig
(Consumer<ExplainerConfig.Builder> explainerConfig) The configuration parameters for an explainer.explainerConfig
(ExplainerConfig explainerConfig) The configuration parameters for an explainer.Amazon Web Services KMS key ID Amazon SageMaker uses to encrypt data when storing it on the ML storage volume attached to the instance.productionVariants
(Collection<ProductionVariant> productionVariants) An array ofProductionVariant
objects, one for each model that you want to host at this endpoint.productionVariants
(Consumer<ProductionVariant.Builder>... productionVariants) An array ofProductionVariant
objects, one for each model that you want to host at this endpoint.productionVariants
(ProductionVariant... productionVariants) An array ofProductionVariant
objects, one for each model that you want to host at this endpoint.shadowProductionVariants
(Collection<ProductionVariant> shadowProductionVariants) An array ofProductionVariant
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<ProductionVariant.Builder>... shadowProductionVariants) An array ofProductionVariant
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
(ProductionVariant... shadowProductionVariants) An array ofProductionVariant
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
.vpcConfig
(Consumer<VpcConfig.Builder> vpcConfig) Sets the value of the VpcConfig property for this object.Sets the value of the VpcConfig property for this object.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
-
endpointConfigName
Name of the SageMaker endpoint configuration.
- Parameters:
endpointConfigName
- Name of the SageMaker endpoint configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointConfigArn
The Amazon Resource Name (ARN) of the endpoint configuration.
- Parameters:
endpointConfigArn
- The Amazon Resource Name (ARN) of the endpoint configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productionVariants
DescribeEndpointConfigResponse.Builder productionVariants(Collection<ProductionVariant> productionVariants) An array of
ProductionVariant
objects, one for each model that you want to host at this endpoint.- Parameters:
productionVariants
- An array ofProductionVariant
objects, one for each model that you want to host at this endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productionVariants
An array of
ProductionVariant
objects, one for each model that you want to host at this endpoint.- Parameters:
productionVariants
- An array ofProductionVariant
objects, one for each model that you want to host at this endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productionVariants
DescribeEndpointConfigResponse.Builder productionVariants(Consumer<ProductionVariant.Builder>... productionVariants) An array of
This is a convenience method that creates an instance of theProductionVariant
objects, one for each model that you want to host at this endpoint.ProductionVariant.Builder
avoiding the need to create one manually viaProductionVariant.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toproductionVariants(List<ProductionVariant>)
.- Parameters:
productionVariants
- a consumer that will call methods onProductionVariant.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 DescribeEndpointConfigResponse.Builder dataCaptureConfig(Consumer<DataCaptureConfig.Builder> dataCaptureConfig) Sets the value of the DataCaptureConfig property for this object. This is a convenience method that creates an instance of theDataCaptureConfig.Builder
avoiding the need to create one manually viaDataCaptureConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataCaptureConfig(DataCaptureConfig)
.- Parameters:
dataCaptureConfig
- a consumer that will call methods onDataCaptureConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsKeyId
Amazon Web Services KMS key ID Amazon SageMaker uses to encrypt data when storing it on the ML storage volume attached to the instance.
- Parameters:
kmsKeyId
- Amazon Web Services KMS key ID Amazon SageMaker uses to encrypt data when storing it on the ML storage volume attached to the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
A timestamp that shows when the endpoint configuration was created.
- Parameters:
creationTime
- A timestamp that shows when the endpoint configuration was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asyncInferenceConfig
DescribeEndpointConfigResponse.Builder asyncInferenceConfig(AsyncInferenceConfig 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 DescribeEndpointConfigResponse.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:
-
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 DescribeEndpointConfigResponse.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
DescribeEndpointConfigResponse.Builder shadowProductionVariants(Collection<ProductionVariant> shadowProductionVariants) An array of
ProductionVariant
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
.- Parameters:
shadowProductionVariants
- An array ofProductionVariant
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
DescribeEndpointConfigResponse.Builder shadowProductionVariants(ProductionVariant... shadowProductionVariants) An array of
ProductionVariant
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
.- Parameters:
shadowProductionVariants
- An array ofProductionVariant
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
DescribeEndpointConfigResponse.Builder shadowProductionVariants(Consumer<ProductionVariant.Builder>... shadowProductionVariants) An array of
This is a convenience method that creates an instance of theProductionVariant
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
.ProductionVariant.Builder
avoiding the need to create one manually viaProductionVariant.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toshadowProductionVariants(List<ProductionVariant>)
.- Parameters:
shadowProductionVariants
- a consumer that will call methods onProductionVariant.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionRoleArn
The Amazon Resource Name (ARN) of the IAM role that you assigned to the endpoint configuration.
- Parameters:
executionRoleArn
- The Amazon Resource Name (ARN) of the IAM role that you assigned to the endpoint configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
Sets the value of the VpcConfig property for this object.- Parameters:
vpcConfig
- The new value for the VpcConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
Sets the value of the VpcConfig property for this object. This is a convenience method that creates an instance of theVpcConfig.Builder
avoiding the need to create one manually viaVpcConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConfig(VpcConfig)
.- Parameters:
vpcConfig
- a consumer that will call methods onVpcConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enableNetworkIsolation
Indicates whether all model containers deployed to the endpoint are isolated. If they are, no inbound or outbound network calls can be made to or from the model containers.
- Parameters:
enableNetworkIsolation
- Indicates whether all model containers deployed to the endpoint are isolated. If they are, no inbound or outbound network calls can be made to or from the model containers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-