Class RealTimeInferenceConfig
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.RealTimeInferenceConfig
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<RealTimeInferenceConfig.Builder,RealTimeInferenceConfig>
@Generated("software.amazon.awssdk:codegen") public final class RealTimeInferenceConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RealTimeInferenceConfig.Builder,RealTimeInferenceConfig>
The infrastructure configuration for deploying the model to a real-time inference endpoint.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
RealTimeInferenceConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RealTimeInferenceConfig.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Integer
instanceCount()
The number of instances of the type specified byInstanceType
.InstanceType
instanceType()
The instance type the model is deployed to.String
instanceTypeAsString()
The instance type the model is deployed to.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends RealTimeInferenceConfig.Builder>
serializableBuilderClass()
RealTimeInferenceConfig.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
-
instanceType
public final InstanceType instanceType()
The instance type the model is deployed to.
If the service returns an enum value that is not available in the current SDK version,
instanceType
will returnInstanceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frominstanceTypeAsString()
.- Returns:
- The instance type the model is deployed to.
- See Also:
InstanceType
-
instanceTypeAsString
public final String instanceTypeAsString()
The instance type the model is deployed to.
If the service returns an enum value that is not available in the current SDK version,
instanceType
will returnInstanceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frominstanceTypeAsString()
.- Returns:
- The instance type the model is deployed to.
- See Also:
InstanceType
-
instanceCount
public final Integer instanceCount()
The number of instances of the type specified by
InstanceType
.- Returns:
- The number of instances of the type specified by
InstanceType
.
-
toBuilder
public RealTimeInferenceConfig.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<RealTimeInferenceConfig.Builder,RealTimeInferenceConfig>
-
builder
public static RealTimeInferenceConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends RealTimeInferenceConfig.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-