Class StartMlModelTransformJobRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.neptunedata.model.NeptunedataRequest
-
- software.amazon.awssdk.services.neptunedata.model.StartMlModelTransformJobRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartMlModelTransformJobRequest.Builder,StartMlModelTransformJobRequest>
@Generated("software.amazon.awssdk:codegen") public final class StartMlModelTransformJobRequest extends NeptunedataRequest implements ToCopyableBuilder<StartMlModelTransformJobRequest.Builder,StartMlModelTransformJobRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartMlModelTransformJobRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbaseProcessingInstanceType()The type of ML instance used in preparing and managing training of ML models.IntegerbaseProcessingInstanceVolumeSizeInGB()The disk volume size of the training instance in gigabytes.static StartMlModelTransformJobRequest.Builderbuilder()CustomModelTransformParameterscustomModelTransformParameters()Configuration information for a model transform using a custom model.StringdataProcessingJobId()The job ID of a completed data-processing job.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasSecurityGroupIds()For responses, this returns true if the service returned a value for the SecurityGroupIds property.booleanhasSubnets()For responses, this returns true if the service returned a value for the Subnets property.Stringid()A unique identifier for the new job.StringmlModelTrainingJobId()The job ID of a completed model-training job.StringmodelTransformOutputS3Location()The location in Amazon S3 where the model artifacts are to be stored.StringneptuneIamRoleArn()The ARN of an IAM role that provides Neptune access to SageMaker and Amazon S3 resources.Strings3OutputEncryptionKMSKey()The Amazon Key Management Service (KMS) key that SageMaker uses to encrypt the output of the processing job.StringsagemakerIamRoleArn()The ARN of an IAM role for SageMaker execution.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()List<String>securityGroupIds()The VPC security group IDs.static Class<? extends StartMlModelTransformJobRequest.Builder>serializableBuilderClass()List<String>subnets()The IDs of the subnets in the Neptune VPC.StartMlModelTransformJobRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtrainingJobName()The name of a completed SageMaker training job.StringvolumeEncryptionKMSKey()The Amazon Key Management Service (KMS) key that SageMaker uses to encrypt data on the storage volume attached to the ML compute instances that run the training job.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
id
public final String id()
A unique identifier for the new job. The default is an autogenerated UUID.
- Returns:
- A unique identifier for the new job. The default is an autogenerated UUID.
-
dataProcessingJobId
public final String dataProcessingJobId()
The job ID of a completed data-processing job. You must include either
dataProcessingJobIdand amlModelTrainingJobId, or atrainingJobName.- Returns:
- The job ID of a completed data-processing job. You must include either
dataProcessingJobIdand amlModelTrainingJobId, or atrainingJobName.
-
mlModelTrainingJobId
public final String mlModelTrainingJobId()
The job ID of a completed model-training job. You must include either
dataProcessingJobIdand amlModelTrainingJobId, or atrainingJobName.- Returns:
- The job ID of a completed model-training job. You must include either
dataProcessingJobIdand amlModelTrainingJobId, or atrainingJobName.
-
trainingJobName
public final String trainingJobName()
The name of a completed SageMaker training job. You must include either
dataProcessingJobIdand amlModelTrainingJobId, or atrainingJobName.- Returns:
- The name of a completed SageMaker training job. You must include either
dataProcessingJobIdand amlModelTrainingJobId, or atrainingJobName.
-
modelTransformOutputS3Location
public final String modelTransformOutputS3Location()
The location in Amazon S3 where the model artifacts are to be stored.
- Returns:
- The location in Amazon S3 where the model artifacts are to be stored.
-
sagemakerIamRoleArn
public final String sagemakerIamRoleArn()
The ARN of an IAM role for SageMaker execution. This must be listed in your DB cluster parameter group or an error will occur.
- Returns:
- The ARN of an IAM role for SageMaker execution. This must be listed in your DB cluster parameter group or an error will occur.
-
neptuneIamRoleArn
public final String neptuneIamRoleArn()
The ARN of an IAM role that provides Neptune access to SageMaker and Amazon S3 resources. This must be listed in your DB cluster parameter group or an error will occur.
- Returns:
- The ARN of an IAM role that provides Neptune access to SageMaker and Amazon S3 resources. This must be listed in your DB cluster parameter group or an error will occur.
-
customModelTransformParameters
public final CustomModelTransformParameters customModelTransformParameters()
Configuration information for a model transform using a custom model. The
customModelTransformParametersobject contains the following fields, which must have values compatible with the saved model parameters from the training job:- Returns:
- Configuration information for a model transform using a custom model. The
customModelTransformParametersobject contains the following fields, which must have values compatible with the saved model parameters from the training job:
-
baseProcessingInstanceType
public final String baseProcessingInstanceType()
The type of ML instance used in preparing and managing training of ML models. This is an ML compute instance chosen based on memory requirements for processing the training data and model.
- Returns:
- The type of ML instance used in preparing and managing training of ML models. This is an ML compute instance chosen based on memory requirements for processing the training data and model.
-
baseProcessingInstanceVolumeSizeInGB
public final Integer baseProcessingInstanceVolumeSizeInGB()
The disk volume size of the training instance in gigabytes. The default is 0. Both input data and the output model are stored on disk, so the volume size must be large enough to hold both data sets. If not specified or 0, Neptune ML selects a disk volume size based on the recommendation generated in the data processing step.
- Returns:
- The disk volume size of the training instance in gigabytes. The default is 0. Both input data and the output model are stored on disk, so the volume size must be large enough to hold both data sets. If not specified or 0, Neptune ML selects a disk volume size based on the recommendation generated in the data processing step.
-
hasSubnets
public final boolean hasSubnets()
For responses, this returns true if the service returned a value for the Subnets property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
subnets
public final List<String> subnets()
The IDs of the subnets in the Neptune VPC. The default is None.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasSubnets()method.- Returns:
- The IDs of the subnets in the Neptune VPC. The default is None.
-
hasSecurityGroupIds
public final boolean hasSecurityGroupIds()
For responses, this returns true if the service returned a value for the SecurityGroupIds property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
securityGroupIds
public final List<String> securityGroupIds()
The VPC security group IDs. The default is None.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasSecurityGroupIds()method.- Returns:
- The VPC security group IDs. The default is None.
-
volumeEncryptionKMSKey
public final String volumeEncryptionKMSKey()
The Amazon Key Management Service (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.
- Returns:
- The Amazon Key Management Service (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.
-
s3OutputEncryptionKMSKey
public final String s3OutputEncryptionKMSKey()
The Amazon Key Management Service (KMS) key that SageMaker uses to encrypt the output of the processing job. The default is none.
- Returns:
- The Amazon Key Management Service (KMS) key that SageMaker uses to encrypt the output of the processing job. The default is none.
-
toBuilder
public StartMlModelTransformJobRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartMlModelTransformJobRequest.Builder,StartMlModelTransformJobRequest>- Specified by:
toBuilderin classNeptunedataRequest
-
builder
public static StartMlModelTransformJobRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartMlModelTransformJobRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-