Class InferenceComponentDataCacheConfig
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.InferenceComponentDataCacheConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InferenceComponentDataCacheConfig.Builder,InferenceComponentDataCacheConfig>
@Generated("software.amazon.awssdk:codegen") public final class InferenceComponentDataCacheConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InferenceComponentDataCacheConfig.Builder,InferenceComponentDataCacheConfig>
Settings that affect how the inference component caches data.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInferenceComponentDataCacheConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InferenceComponentDataCacheConfig.Builderbuilder()BooleanenableCaching()Sets whether the endpoint that hosts the inference component caches the model artifacts and container image.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends InferenceComponentDataCacheConfig.Builder>serializableBuilderClass()InferenceComponentDataCacheConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
enableCaching
public final Boolean enableCaching()
Sets whether the endpoint that hosts the inference component caches the model artifacts and container image.
With caching enabled, the endpoint caches this data in each instance that it provisions for the inference component. That way, the inference component deploys faster during the auto scaling process. If caching isn't enabled, the inference component takes longer to deploy because of the time it spends downloading the data.
- Returns:
- Sets whether the endpoint that hosts the inference component caches the model artifacts and container
image.
With caching enabled, the endpoint caches this data in each instance that it provisions for the inference component. That way, the inference component deploys faster during the auto scaling process. If caching isn't enabled, the inference component takes longer to deploy because of the time it spends downloading the data.
-
toBuilder
public InferenceComponentDataCacheConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InferenceComponentDataCacheConfig.Builder,InferenceComponentDataCacheConfig>
-
builder
public static InferenceComponentDataCacheConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends InferenceComponentDataCacheConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-