Interface UpdateEndpointRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateEndpointRequest.Builder,UpdateEndpointRequest>
,SageMakerRequest.Builder
,SdkBuilder<UpdateEndpointRequest.Builder,UpdateEndpointRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- UpdateEndpointRequest
public static interface UpdateEndpointRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<UpdateEndpointRequest.Builder,UpdateEndpointRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateEndpointRequest.Builder
deploymentConfig(Consumer<DeploymentConfig.Builder> deploymentConfig)
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.UpdateEndpointRequest.Builder
deploymentConfig(DeploymentConfig deploymentConfig)
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.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 withRetainAllVariantProperties
, whose value is set totrue
,ExcludeRetainedVariantProperties
specifies the list of type VariantProperty to override with the values provided byEndpointConfig
.UpdateEndpointRequest.Builder
excludeRetainedVariantProperties(Consumer<VariantProperty.Builder>... excludeRetainedVariantProperties)
When you are updating endpoint resources withRetainAllVariantProperties
, whose value is set totrue
,ExcludeRetainedVariantProperties
specifies the list of type VariantProperty to override with the values provided byEndpointConfig
.UpdateEndpointRequest.Builder
excludeRetainedVariantProperties(VariantProperty... excludeRetainedVariantProperties)
When you are updating endpoint resources withRetainAllVariantProperties
, whose value is set totrue
,ExcludeRetainedVariantProperties
specifies the list of type VariantProperty to override with the values provided byEndpointConfig
.UpdateEndpointRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
UpdateEndpointRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
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.UpdateEndpointRequest.Builder
retainDeploymentConfig(Boolean retainDeploymentConfig)
Specifies whether to reuse the last deployment configuration.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
endpointName
UpdateEndpointRequest.Builder endpointName(String endpointName)
The name of the endpoint whose configuration you want to update.
- Parameters:
endpointName
- The name of the endpoint whose configuration you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointConfigName
UpdateEndpointRequest.Builder endpointConfigName(String endpointConfigName)
The name of the new endpoint configuration.
- Parameters:
endpointConfigName
- The name of the new endpoint configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retainAllVariantProperties
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
totrue
. To use the variant properties specified in a newEndpointConfig
call when updating an endpoint, setRetainAllVariantProperties
tofalse
. The default isfalse
.- Parameters:
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, setRetainAllVariantProperties
totrue
. To use the variant properties specified in a newEndpointConfig
call when updating an endpoint, setRetainAllVariantProperties
tofalse
. The default isfalse
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeRetainedVariantProperties
UpdateEndpointRequest.Builder excludeRetainedVariantProperties(Collection<VariantProperty> excludeRetainedVariantProperties)
When you are updating endpoint resources with
RetainAllVariantProperties
, whose value is set totrue
,ExcludeRetainedVariantProperties
specifies the list of type VariantProperty to override with the values provided byEndpointConfig
. If you don't specify a value forExcludeRetainedVariantProperties
, no variant properties are overridden.- Parameters:
excludeRetainedVariantProperties
- When you are updating endpoint resources withRetainAllVariantProperties
, whose value is set totrue
,ExcludeRetainedVariantProperties
specifies the list of type VariantProperty to override with the values provided byEndpointConfig
. If you don't specify a value forExcludeRetainedVariantProperties
, no variant properties are overridden.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeRetainedVariantProperties
UpdateEndpointRequest.Builder excludeRetainedVariantProperties(VariantProperty... excludeRetainedVariantProperties)
When you are updating endpoint resources with
RetainAllVariantProperties
, whose value is set totrue
,ExcludeRetainedVariantProperties
specifies the list of type VariantProperty to override with the values provided byEndpointConfig
. If you don't specify a value forExcludeRetainedVariantProperties
, no variant properties are overridden.- Parameters:
excludeRetainedVariantProperties
- When you are updating endpoint resources withRetainAllVariantProperties
, whose value is set totrue
,ExcludeRetainedVariantProperties
specifies the list of type VariantProperty to override with the values provided byEndpointConfig
. If you don't specify a value forExcludeRetainedVariantProperties
, no variant properties are overridden.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeRetainedVariantProperties
UpdateEndpointRequest.Builder excludeRetainedVariantProperties(Consumer<VariantProperty.Builder>... excludeRetainedVariantProperties)
When you are updating endpoint resources with
This is a convenience method that creates an instance of theRetainAllVariantProperties
, whose value is set totrue
,ExcludeRetainedVariantProperties
specifies the list of type VariantProperty to override with the values provided byEndpointConfig
. If you don't specify a value forExcludeRetainedVariantProperties
, no variant properties are overridden.VariantProperty.Builder
avoiding the need to create one manually viaVariantProperty.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#excludeRetainedVariantProperties(List
.) - Parameters:
excludeRetainedVariantProperties
- a consumer that will call methods onVariantProperty.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#excludeRetainedVariantProperties(java.util.Collection
)
-
deploymentConfig
UpdateEndpointRequest.Builder deploymentConfig(DeploymentConfig deploymentConfig)
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
- Parameters:
deploymentConfig
- The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentConfig
default UpdateEndpointRequest.Builder deploymentConfig(Consumer<DeploymentConfig.Builder> deploymentConfig)
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
This is a convenience method that creates an instance of theDeploymentConfig.Builder
avoiding the need to create one manually viaDeploymentConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeploymentConfig(DeploymentConfig)
.- Parameters:
deploymentConfig
- a consumer that will call methods onDeploymentConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
deploymentConfig(DeploymentConfig)
-
retainDeploymentConfig
UpdateEndpointRequest.Builder retainDeploymentConfig(Boolean retainDeploymentConfig)
Specifies whether to reuse the last deployment configuration. The default value is false (the configuration is not reused).
- Parameters:
retainDeploymentConfig
- Specifies whether to reuse the last deployment configuration. The default value is false (the configuration is not reused).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-