Class ModelDeployConfig
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.ModelDeployConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ModelDeployConfig.Builder,ModelDeployConfig>
@Generated("software.amazon.awssdk:codegen") public final class ModelDeployConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ModelDeployConfig.Builder,ModelDeployConfig>
Specifies how to generate the endpoint name for an automatic one-click Autopilot model deployment.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceModelDeployConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanautoGenerateEndpointName()Set toTrueto automatically generate an endpoint name for a one-click Autopilot model deployment; set toFalseotherwise.static ModelDeployConfig.Builderbuilder()StringendpointName()Specifies the endpoint name to use for a one-click Autopilot model deployment if the endpoint name is not generated automatically.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ModelDeployConfig.Builder>serializableBuilderClass()ModelDeployConfig.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
-
autoGenerateEndpointName
public final Boolean autoGenerateEndpointName()
Set to
Trueto automatically generate an endpoint name for a one-click Autopilot model deployment; set toFalseotherwise. The default value isFalse.If you set
AutoGenerateEndpointNametoTrue, do not specify theEndpointName; otherwise a 400 error is thrown.- Returns:
- Set to
Trueto automatically generate an endpoint name for a one-click Autopilot model deployment; set toFalseotherwise. The default value isFalse.If you set
AutoGenerateEndpointNametoTrue, do not specify theEndpointName; otherwise a 400 error is thrown.
-
endpointName
public final String endpointName()
Specifies the endpoint name to use for a one-click Autopilot model deployment if the endpoint name is not generated automatically.
Specify the
EndpointNameif and only if you setAutoGenerateEndpointNametoFalse; otherwise a 400 error is thrown.- Returns:
- Specifies the endpoint name to use for a one-click Autopilot model deployment if the endpoint name is not
generated automatically.
Specify the
EndpointNameif and only if you setAutoGenerateEndpointNametoFalse; otherwise a 400 error is thrown.
-
toBuilder
public ModelDeployConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ModelDeployConfig.Builder,ModelDeployConfig>
-
builder
public static ModelDeployConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends ModelDeployConfig.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.
-
-