@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModelAccessConfig extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
ModelAccessConfig() |
Modifier and Type | Method and Description |
---|---|
ModelAccessConfig |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAcceptEula()
Specifies agreement to the model end-user license agreement (EULA).
|
int |
hashCode() |
Boolean |
isAcceptEula()
Specifies agreement to the model end-user license agreement (EULA).
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAcceptEula(Boolean acceptEula)
Specifies agreement to the model end-user license agreement (EULA).
|
String |
toString()
Returns a string representation of this object.
|
ModelAccessConfig |
withAcceptEula(Boolean acceptEula)
Specifies agreement to the model end-user license agreement (EULA).
|
public void setAcceptEula(Boolean acceptEula)
Specifies agreement to the model end-user license agreement (EULA). The AcceptEula
value must be
explicitly defined as True
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.
acceptEula
- Specifies agreement to the model end-user license agreement (EULA). The AcceptEula
value must
be explicitly defined as True
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.public Boolean getAcceptEula()
Specifies agreement to the model end-user license agreement (EULA). The AcceptEula
value must be
explicitly defined as True
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.
AcceptEula
value
must be explicitly defined as True
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.public ModelAccessConfig withAcceptEula(Boolean acceptEula)
Specifies agreement to the model end-user license agreement (EULA). The AcceptEula
value must be
explicitly defined as True
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.
acceptEula
- Specifies agreement to the model end-user license agreement (EULA). The AcceptEula
value must
be explicitly defined as True
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.public Boolean isAcceptEula()
Specifies agreement to the model end-user license agreement (EULA). The AcceptEula
value must be
explicitly defined as True
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.
AcceptEula
value
must be explicitly defined as True
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.public String toString()
toString
in class Object
Object.toString()
public ModelAccessConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.