public static interface UpdateEndpointRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<UpdateEndpointRequest.Builder,UpdateEndpointRequest>
Modifier and Type | Method and Description |
---|---|
default UpdateEndpointRequest.Builder |
deploymentConfig(Consumer<DeploymentConfig.Builder> deploymentConfig)
The deployment configuration for the endpoint to be updated.
|
UpdateEndpointRequest.Builder |
deploymentConfig(DeploymentConfig deploymentConfig)
The deployment configuration for the endpoint to be updated.
|
UpdateEndpointRequest.Builder |
endpointConfigName(String endpointConfigName)
The name of the new endpoint configuration.
|
UpdateEndpointRequest.Builder |
endpointName(String endpointName)
The name of the endpoint whose configuration you want to update.
|
UpdateEndpointRequest.Builder |
excludeRetainedVariantProperties(Collection<VariantProperty> excludeRetainedVariantProperties)
When you are updating endpoint resources with UpdateEndpointInput$RetainAllVariantProperties, whose
value is set to
true , ExcludeRetainedVariantProperties specifies the list of type
VariantProperty to override with the values provided by EndpointConfig . |
UpdateEndpointRequest.Builder |
excludeRetainedVariantProperties(Consumer<VariantProperty.Builder>... excludeRetainedVariantProperties)
When you are updating endpoint resources with UpdateEndpointInput$RetainAllVariantProperties, whose
value is set to
true , ExcludeRetainedVariantProperties specifies the list of type
VariantProperty to override with the values provided by EndpointConfig . |
UpdateEndpointRequest.Builder |
excludeRetainedVariantProperties(VariantProperty... excludeRetainedVariantProperties)
When you are updating endpoint resources with UpdateEndpointInput$RetainAllVariantProperties, whose
value is set to
true , ExcludeRetainedVariantProperties specifies the list of type
VariantProperty to override with the values provided by EndpointConfig . |
UpdateEndpointRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateEndpointRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
UpdateEndpointRequest.Builder |
retainAllVariantProperties(Boolean retainAllVariantProperties)
When updating endpoint resources, enables or disables the retention of variant
properties, such as the instance count or the variant weight.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
UpdateEndpointRequest.Builder endpointName(String endpointName)
The name of the endpoint whose configuration you want to update.
endpointName
- The name of the endpoint whose configuration you want to update.UpdateEndpointRequest.Builder endpointConfigName(String endpointConfigName)
The name of the new endpoint configuration.
endpointConfigName
- The name of the new endpoint configuration.UpdateEndpointRequest.Builder retainAllVariantProperties(Boolean retainAllVariantProperties)
When updating endpoint resources, enables or disables the retention of variant
properties, such as the instance count or the variant weight. To retain the variant properties of an
endpoint when updating it, set RetainAllVariantProperties
to true
. To use the
variant properties specified in a new EndpointConfig
call when updating an endpoint, set
RetainAllVariantProperties
to false
. The default is false
.
retainAllVariantProperties
- When updating endpoint resources, enables or disables the retention of variant
properties, such as the instance count or the variant weight. To retain the variant properties of
an endpoint when updating it, set RetainAllVariantProperties
to true
. To use
the variant properties specified in a new EndpointConfig
call when updating an endpoint,
set RetainAllVariantProperties
to false
. The default is false
.UpdateEndpointRequest.Builder excludeRetainedVariantProperties(Collection<VariantProperty> excludeRetainedVariantProperties)
When you are updating endpoint resources with UpdateEndpointInput$RetainAllVariantProperties, whose
value is set to true
, ExcludeRetainedVariantProperties
specifies the list of type
VariantProperty to override with the values provided by EndpointConfig
. If you don't
specify a value for ExcludeAllVariantProperties
, no variant properties are overridden.
excludeRetainedVariantProperties
- When you are updating endpoint resources with UpdateEndpointInput$RetainAllVariantProperties,
whose value is set to true
, ExcludeRetainedVariantProperties
specifies the
list of type VariantProperty to override with the values provided by
EndpointConfig
. If you don't specify a value for ExcludeAllVariantProperties
, no variant properties are overridden.UpdateEndpointRequest.Builder excludeRetainedVariantProperties(VariantProperty... excludeRetainedVariantProperties)
When you are updating endpoint resources with UpdateEndpointInput$RetainAllVariantProperties, whose
value is set to true
, ExcludeRetainedVariantProperties
specifies the list of type
VariantProperty to override with the values provided by EndpointConfig
. If you don't
specify a value for ExcludeAllVariantProperties
, no variant properties are overridden.
excludeRetainedVariantProperties
- When you are updating endpoint resources with UpdateEndpointInput$RetainAllVariantProperties,
whose value is set to true
, ExcludeRetainedVariantProperties
specifies the
list of type VariantProperty to override with the values provided by
EndpointConfig
. If you don't specify a value for ExcludeAllVariantProperties
, no variant properties are overridden.UpdateEndpointRequest.Builder excludeRetainedVariantProperties(Consumer<VariantProperty.Builder>... excludeRetainedVariantProperties)
When you are updating endpoint resources with UpdateEndpointInput$RetainAllVariantProperties, whose
value is set to true
, ExcludeRetainedVariantProperties
specifies the list of type
VariantProperty to override with the values provided by EndpointConfig
. If you don't
specify a value for ExcludeAllVariantProperties
, no variant properties are overridden.
List.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #excludeRetainedVariantProperties(List)
.excludeRetainedVariantProperties
- a consumer that will call methods on List.Builder
#excludeRetainedVariantProperties(List)
UpdateEndpointRequest.Builder deploymentConfig(DeploymentConfig deploymentConfig)
The deployment configuration for the endpoint to be updated.
deploymentConfig
- The deployment configuration for the endpoint to be updated.default UpdateEndpointRequest.Builder deploymentConfig(Consumer<DeploymentConfig.Builder> deploymentConfig)
The deployment configuration for the endpoint to be updated.
This is a convenience that creates an instance of theDeploymentConfig.Builder
avoiding the need to
create one manually via DeploymentConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to deploymentConfig(DeploymentConfig)
.deploymentConfig
- a consumer that will call methods on DeploymentConfig.Builder
deploymentConfig(DeploymentConfig)
UpdateEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
UpdateEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2021. All rights reserved.