@Generated(value="software.amazon.awssdk:codegen") public final class CreateMlEndpointRequest extends NeptunedataRequest implements ToCopyableBuilder<CreateMlEndpointRequest.Builder,CreateMlEndpointRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateMlEndpointRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateMlEndpointRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
A unique identifier for the new inference endpoint.
|
Integer |
instanceCount()
The minimum number of Amazon EC2 instances to deploy to an endpoint for prediction.
|
String |
instanceType()
The type of Neptune ML instance to use for online servicing.
|
String |
mlModelTrainingJobId()
The job Id of the completed model-training job that has created the model that the inference endpoint will point
to.
|
String |
mlModelTransformJobId()
The job Id of the completed model-transform job.
|
String |
modelName()
Model type for training.
|
String |
neptuneIamRoleArn()
The ARN of an IAM role providing Neptune access to SageMaker and Amazon S3 resources.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateMlEndpointRequest.Builder> |
serializableBuilderClass() |
CreateMlEndpointRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Boolean |
update()
If set to
true, update indicates that this is an update request. |
String |
volumeEncryptionKMSKey()
The Amazon Key Management Service (Amazon KMS) key that SageMaker uses to encrypt data on the storage volume
attached to the ML compute instances that run the training job.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
A unique identifier for the new inference endpoint. The default is an autogenerated timestamped name.
public final String mlModelTrainingJobId()
The job Id of the completed model-training job that has created the model that the inference endpoint will point
to. You must supply either the mlModelTrainingJobId or the mlModelTransformJobId.
mlModelTrainingJobId or the
mlModelTransformJobId.public final String mlModelTransformJobId()
The job Id of the completed model-transform job. You must supply either the mlModelTrainingJobId or
the mlModelTransformJobId.
mlModelTrainingJobId or the mlModelTransformJobId.public final Boolean update()
If set to true, update indicates that this is an update request. The default is
false. You must supply either the mlModelTrainingJobId or the
mlModelTransformJobId.
true, update indicates that this is an update request. The default is
false. You must supply either the mlModelTrainingJobId or the
mlModelTransformJobId.public final String neptuneIamRoleArn()
The ARN of an IAM role providing Neptune access to SageMaker and Amazon S3 resources. This must be listed in your DB cluster parameter group or an error will be thrown.
public final String modelName()
Model type for training. By default the Neptune ML model is automatically based on the modelType
used in data processing, but you can specify a different model type here. The default is rgcn for
heterogeneous graphs and kge for knowledge graphs. The only valid value for heterogeneous graphs is
rgcn. Valid values for knowledge graphs are: kge, transe,
distmult, and rotate.
modelType used in data processing, but you can specify a different model type here. The
default is rgcn for heterogeneous graphs and kge for knowledge graphs. The only
valid value for heterogeneous graphs is rgcn. Valid values for knowledge graphs are:
kge, transe, distmult, and rotate.public final String instanceType()
The type of Neptune ML instance to use for online servicing. The default is ml.m5.xlarge. Choosing
the ML instance for an inference endpoint depends on the task type, the graph size, and your budget.
ml.m5.xlarge.
Choosing the ML instance for an inference endpoint depends on the task type, the graph size, and your
budget.public final Integer instanceCount()
The minimum number of Amazon EC2 instances to deploy to an endpoint for prediction. The default is 1
public final String volumeEncryptionKMSKey()
The Amazon Key Management Service (Amazon KMS) key that SageMaker uses to encrypt data on the storage volume attached to the ML compute instances that run the training job. The default is None.
public CreateMlEndpointRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateMlEndpointRequest.Builder,CreateMlEndpointRequest>toBuilder in class NeptunedataRequestpublic static CreateMlEndpointRequest.Builder builder()
public static Class<? extends CreateMlEndpointRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.