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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EndpointInputConfiguration.BuilderenvironmentParameterRanges(Consumer<EnvironmentParameterRanges.Builder> environmentParameterRanges)The parameter you want to benchmark against.EndpointInputConfiguration.BuilderenvironmentParameterRanges(EnvironmentParameterRanges environmentParameterRanges)The parameter you want to benchmark against.EndpointInputConfiguration.BuilderinferenceSpecificationName(String inferenceSpecificationName)The inference specification name in the model package version.EndpointInputConfiguration.BuilderinstanceType(String instanceType)The instance types to use for the load test.EndpointInputConfiguration.BuilderinstanceType(ProductionVariantInstanceType instanceType)The instance types to use for the load test.default EndpointInputConfiguration.BuilderserverlessConfig(Consumer<ProductionVariantServerlessConfig.Builder> serverlessConfig)Sets the value of the ServerlessConfig property for this object.EndpointInputConfiguration.BuilderserverlessConfig(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 Detail
-
instanceType
EndpointInputConfiguration.Builder instanceType(String 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:
ProductionVariantInstanceType,ProductionVariantInstanceType
-
instanceType
EndpointInputConfiguration.Builder instanceType(ProductionVariantInstanceType 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:
ProductionVariantInstanceType,ProductionVariantInstanceType
-
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.Builderavoiding the need to create one manually viaProductionVariantServerlessConfig.builder().When the
Consumercompletes,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:
serverlessConfig(ProductionVariantServerlessConfig)
-
inferenceSpecificationName
EndpointInputConfiguration.Builder inferenceSpecificationName(String 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.Builderavoiding the need to create one manually viaEnvironmentParameterRanges.builder().When the
Consumercompletes,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:
environmentParameterRanges(EnvironmentParameterRanges)
-
-