Interface EndpointOutputConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EndpointOutputConfiguration.Builder,
,EndpointOutputConfiguration> SdkBuilder<EndpointOutputConfiguration.Builder,
,EndpointOutputConfiguration> SdkPojo
- Enclosing class:
EndpointOutputConfiguration
public static interface EndpointOutputConfiguration.Builder
extends SdkPojo, CopyableBuilder<EndpointOutputConfiguration.Builder,EndpointOutputConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionendpointName
(String endpointName) The name of the endpoint made during a recommendation job.initialInstanceCount
(Integer initialInstanceCount) The number of instances recommended to launch initially.instanceType
(String instanceType) The instance type recommended by Amazon SageMaker Inference Recommender.instanceType
(ProductionVariantInstanceType instanceType) The instance type recommended by Amazon SageMaker Inference Recommender.serverlessConfig
(Consumer<ProductionVariantServerlessConfig.Builder> serverlessConfig) Sets the value of the ServerlessConfig property for this object.serverlessConfig
(ProductionVariantServerlessConfig serverlessConfig) Sets the value of the ServerlessConfig property for this object.variantName
(String variantName) The name of the production variant (deployed model) made during a recommendation job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
endpointName
The name of the endpoint made during a recommendation job.
- Parameters:
endpointName
- The name of the endpoint made during a recommendation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variantName
The name of the production variant (deployed model) made during a recommendation job.
- Parameters:
variantName
- The name of the production variant (deployed model) made during a recommendation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
The instance type recommended by Amazon SageMaker Inference Recommender.
- Parameters:
instanceType
- The instance type recommended by Amazon SageMaker Inference Recommender.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceType
The instance type recommended by Amazon SageMaker Inference Recommender.
- Parameters:
instanceType
- The instance type recommended by Amazon SageMaker Inference Recommender.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
initialInstanceCount
The number of instances recommended to launch initially.
- Parameters:
initialInstanceCount
- The number of instances recommended to launch initially.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverlessConfig
EndpointOutputConfiguration.Builder serverlessConfig(ProductionVariantServerlessConfig serverlessConfig) Sets the value of the ServerlessConfig property for this object.- Parameters:
serverlessConfig
- The new value for the ServerlessConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverlessConfig
default EndpointOutputConfiguration.Builder serverlessConfig(Consumer<ProductionVariantServerlessConfig.Builder> serverlessConfig) Sets the value of the ServerlessConfig property for this object. This is a convenience method that creates an instance of theProductionVariantServerlessConfig.Builder
avoiding the need to create one manually viaProductionVariantServerlessConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserverlessConfig(ProductionVariantServerlessConfig)
.- Parameters:
serverlessConfig
- a consumer that will call methods onProductionVariantServerlessConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-