Class ModelAccessConfig
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.ModelAccessConfig
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ModelAccessConfig.Builder,ModelAccessConfig>
@Generated("software.amazon.awssdk:codegen") public final class ModelAccessConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ModelAccessConfig.Builder,ModelAccessConfig>
The access configuration file to control access to the ML model. You can explicitly accept the model end-user license agreement (EULA) within the
ModelAccessConfig
.-
If you are a Jumpstart user, see the End-user license agreements section for more details on accepting the EULA.
-
If you are an AutoML user, see the Optional Parameters section of Create an AutoML job to fine-tune text generation models using the API for details on How to set the EULA acceptance when fine-tuning a model using the AutoML API.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ModelAccessConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
acceptEula()
Specifies agreement to the model end-user license agreement (EULA).static ModelAccessConfig.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends ModelAccessConfig.Builder>
serializableBuilderClass()
ModelAccessConfig.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
-
acceptEula
public final Boolean acceptEula()
Specifies agreement to the model end-user license agreement (EULA). The
AcceptEula
value must be explicitly defined asTrue
in order to accept the EULA that this model requires. You are responsible for reviewing and complying with any applicable license terms and making sure they are acceptable for your use case before downloading or using a model.- Returns:
- Specifies agreement to the model end-user license agreement (EULA). The
AcceptEula
value must be explicitly defined asTrue
in order to accept the EULA that this model requires. You are responsible for reviewing and complying with any applicable license terms and making sure they are acceptable for your use case before downloading or using a model.
-
toBuilder
public ModelAccessConfig.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ModelAccessConfig.Builder,ModelAccessConfig>
-
builder
public static ModelAccessConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends ModelAccessConfig.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
-
-