Interface EndpointInputConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EndpointInputConfiguration.Builder,
,EndpointInputConfiguration> SdkBuilder<EndpointInputConfiguration.Builder,
,EndpointInputConfiguration> SdkPojo
- Enclosing class:
EndpointInputConfiguration
public static interface EndpointInputConfiguration.Builder
extends SdkPojo, CopyableBuilder<EndpointInputConfiguration.Builder,EndpointInputConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionenvironmentParameterRanges
(Consumer<EnvironmentParameterRanges.Builder> environmentParameterRanges) The parameter you want to benchmark against.environmentParameterRanges
(EnvironmentParameterRanges environmentParameterRanges) The parameter you want to benchmark against.inferenceSpecificationName
(String inferenceSpecificationName) The inference specification name in the model package version.instanceType
(String instanceType) The instance types to use for the load test.instanceType
(ProductionVariantInstanceType instanceType) The instance types to use for the load test.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.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
-
instanceType
The instance types to use for the load test.
- Parameters:
instanceType
- The instance types to use for the load test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceType
The instance types to use for the load test.
- Parameters:
instanceType
- The instance types to use for the load test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inferenceSpecificationName
The inference specification name in the model package version.
- Parameters:
inferenceSpecificationName
- The inference specification name in the model package version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentParameterRanges
EndpointInputConfiguration.Builder environmentParameterRanges(EnvironmentParameterRanges environmentParameterRanges) The parameter you want to benchmark against.
- Parameters:
environmentParameterRanges
- The parameter you want to benchmark against.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentParameterRanges
default EndpointInputConfiguration.Builder environmentParameterRanges(Consumer<EnvironmentParameterRanges.Builder> environmentParameterRanges) The parameter you want to benchmark against.
This is a convenience method that creates an instance of theEnvironmentParameterRanges.Builder
avoiding the need to create one manually viaEnvironmentParameterRanges.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toenvironmentParameterRanges(EnvironmentParameterRanges)
.- Parameters:
environmentParameterRanges
- a consumer that will call methods onEnvironmentParameterRanges.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serverlessConfig
EndpointInputConfiguration.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 EndpointInputConfiguration.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:
-