Class ModelInfrastructureConfig
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.ModelInfrastructureConfig
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ModelInfrastructureConfig.Builder,ModelInfrastructureConfig>
@Generated("software.amazon.awssdk:codegen") public final class ModelInfrastructureConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ModelInfrastructureConfig.Builder,ModelInfrastructureConfig>
The configuration for the infrastructure that the model will be deployed to.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ModelInfrastructureConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModelInfrastructureConfig.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
ModelInfrastructureType
infrastructureType()
The inference option to which to deploy your model.String
infrastructureTypeAsString()
The inference option to which to deploy your model.RealTimeInferenceConfig
realTimeInferenceConfig()
The infrastructure configuration for deploying the model to real-time inference.List<SdkField<?>>
sdkFields()
static Class<? extends ModelInfrastructureConfig.Builder>
serializableBuilderClass()
ModelInfrastructureConfig.Builder
toBuilder()
String
toString()
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
-
infrastructureType
public final ModelInfrastructureType infrastructureType()
The inference option to which to deploy your model. Possible values are the following:
-
RealTime
: Deploy to real-time inference.
If the service returns an enum value that is not available in the current SDK version,
infrastructureType
will returnModelInfrastructureType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frominfrastructureTypeAsString()
.- Returns:
- The inference option to which to deploy your model. Possible values are the following:
-
RealTime
: Deploy to real-time inference.
-
- See Also:
ModelInfrastructureType
-
-
infrastructureTypeAsString
public final String infrastructureTypeAsString()
The inference option to which to deploy your model. Possible values are the following:
-
RealTime
: Deploy to real-time inference.
If the service returns an enum value that is not available in the current SDK version,
infrastructureType
will returnModelInfrastructureType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frominfrastructureTypeAsString()
.- Returns:
- The inference option to which to deploy your model. Possible values are the following:
-
RealTime
: Deploy to real-time inference.
-
- See Also:
ModelInfrastructureType
-
-
realTimeInferenceConfig
public final RealTimeInferenceConfig realTimeInferenceConfig()
The infrastructure configuration for deploying the model to real-time inference.
- Returns:
- The infrastructure configuration for deploying the model to real-time inference.
-
toBuilder
public ModelInfrastructureConfig.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ModelInfrastructureConfig.Builder,ModelInfrastructureConfig>
-
builder
public static ModelInfrastructureConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends ModelInfrastructureConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
-