@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportModelVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ImportModelVersionRequest() |
Modifier and Type | Method and Description |
---|---|
ImportModelVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique identifier for the request.
|
String |
getDatasetName()
The name of the dataset for the machine learning model being imported.
|
String |
getInferenceDataImportStrategy()
Indicates how to import the accumulated inference data when a model version is imported.
|
LabelsInputConfiguration |
getLabelsInputConfiguration() |
String |
getModelName()
The name for the machine learning model to be created.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of a role with permission to access the data source being used to create the
machine learning model.
|
String |
getServerSideKmsKeyId()
Provides the identifier of the KMS key key used to encrypt model data by Amazon Lookout for Equipment.
|
String |
getSourceModelVersionArn()
The Amazon Resource Name (ARN) of the model version to import.
|
List<Tag> |
getTags()
The tags associated with the machine learning model to be created.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique identifier for the request.
|
void |
setDatasetName(String datasetName)
The name of the dataset for the machine learning model being imported.
|
void |
setInferenceDataImportStrategy(String inferenceDataImportStrategy)
Indicates how to import the accumulated inference data when a model version is imported.
|
void |
setLabelsInputConfiguration(LabelsInputConfiguration labelsInputConfiguration) |
void |
setModelName(String modelName)
The name for the machine learning model to be created.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of a role with permission to access the data source being used to create the
machine learning model.
|
void |
setServerSideKmsKeyId(String serverSideKmsKeyId)
Provides the identifier of the KMS key key used to encrypt model data by Amazon Lookout for Equipment.
|
void |
setSourceModelVersionArn(String sourceModelVersionArn)
The Amazon Resource Name (ARN) of the model version to import.
|
void |
setTags(Collection<Tag> tags)
The tags associated with the machine learning model to be created.
|
String |
toString()
Returns a string representation of this object.
|
ImportModelVersionRequest |
withClientToken(String clientToken)
A unique identifier for the request.
|
ImportModelVersionRequest |
withDatasetName(String datasetName)
The name of the dataset for the machine learning model being imported.
|
ImportModelVersionRequest |
withInferenceDataImportStrategy(InferenceDataImportStrategy inferenceDataImportStrategy)
Indicates how to import the accumulated inference data when a model version is imported.
|
ImportModelVersionRequest |
withInferenceDataImportStrategy(String inferenceDataImportStrategy)
Indicates how to import the accumulated inference data when a model version is imported.
|
ImportModelVersionRequest |
withLabelsInputConfiguration(LabelsInputConfiguration labelsInputConfiguration) |
ImportModelVersionRequest |
withModelName(String modelName)
The name for the machine learning model to be created.
|
ImportModelVersionRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of a role with permission to access the data source being used to create the
machine learning model.
|
ImportModelVersionRequest |
withServerSideKmsKeyId(String serverSideKmsKeyId)
Provides the identifier of the KMS key key used to encrypt model data by Amazon Lookout for Equipment.
|
ImportModelVersionRequest |
withSourceModelVersionArn(String sourceModelVersionArn)
The Amazon Resource Name (ARN) of the model version to import.
|
ImportModelVersionRequest |
withTags(Collection<Tag> tags)
The tags associated with the machine learning model to be created.
|
ImportModelVersionRequest |
withTags(Tag... tags)
The tags associated with the machine learning model to be created.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setSourceModelVersionArn(String sourceModelVersionArn)
The Amazon Resource Name (ARN) of the model version to import.
sourceModelVersionArn
- The Amazon Resource Name (ARN) of the model version to import.public String getSourceModelVersionArn()
The Amazon Resource Name (ARN) of the model version to import.
public ImportModelVersionRequest withSourceModelVersionArn(String sourceModelVersionArn)
The Amazon Resource Name (ARN) of the model version to import.
sourceModelVersionArn
- The Amazon Resource Name (ARN) of the model version to import.public void setModelName(String modelName)
The name for the machine learning model to be created. If the model already exists, Amazon Lookout for Equipment creates a new version. If you do not specify this field, it is filled with the name of the source model.
modelName
- The name for the machine learning model to be created. If the model already exists, Amazon Lookout for
Equipment creates a new version. If you do not specify this field, it is filled with the name of the
source model.public String getModelName()
The name for the machine learning model to be created. If the model already exists, Amazon Lookout for Equipment creates a new version. If you do not specify this field, it is filled with the name of the source model.
public ImportModelVersionRequest withModelName(String modelName)
The name for the machine learning model to be created. If the model already exists, Amazon Lookout for Equipment creates a new version. If you do not specify this field, it is filled with the name of the source model.
modelName
- The name for the machine learning model to be created. If the model already exists, Amazon Lookout for
Equipment creates a new version. If you do not specify this field, it is filled with the name of the
source model.public void setDatasetName(String datasetName)
The name of the dataset for the machine learning model being imported.
datasetName
- The name of the dataset for the machine learning model being imported.public String getDatasetName()
The name of the dataset for the machine learning model being imported.
public ImportModelVersionRequest withDatasetName(String datasetName)
The name of the dataset for the machine learning model being imported.
datasetName
- The name of the dataset for the machine learning model being imported.public void setLabelsInputConfiguration(LabelsInputConfiguration labelsInputConfiguration)
labelsInputConfiguration
- public LabelsInputConfiguration getLabelsInputConfiguration()
public ImportModelVersionRequest withLabelsInputConfiguration(LabelsInputConfiguration labelsInputConfiguration)
labelsInputConfiguration
- public void setClientToken(String clientToken)
A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.
clientToken
- A unique identifier for the request. If you do not set the client request token, Amazon Lookout for
Equipment generates one.public String getClientToken()
A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.
public ImportModelVersionRequest withClientToken(String clientToken)
A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.
clientToken
- A unique identifier for the request. If you do not set the client request token, Amazon Lookout for
Equipment generates one.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of a role with permission to access the data source being used to create the machine learning model.
roleArn
- The Amazon Resource Name (ARN) of a role with permission to access the data source being used to create
the machine learning model.public String getRoleArn()
The Amazon Resource Name (ARN) of a role with permission to access the data source being used to create the machine learning model.
public ImportModelVersionRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of a role with permission to access the data source being used to create the machine learning model.
roleArn
- The Amazon Resource Name (ARN) of a role with permission to access the data source being used to create
the machine learning model.public void setServerSideKmsKeyId(String serverSideKmsKeyId)
Provides the identifier of the KMS key key used to encrypt model data by Amazon Lookout for Equipment.
serverSideKmsKeyId
- Provides the identifier of the KMS key key used to encrypt model data by Amazon Lookout for Equipment.public String getServerSideKmsKeyId()
Provides the identifier of the KMS key key used to encrypt model data by Amazon Lookout for Equipment.
public ImportModelVersionRequest withServerSideKmsKeyId(String serverSideKmsKeyId)
Provides the identifier of the KMS key key used to encrypt model data by Amazon Lookout for Equipment.
serverSideKmsKeyId
- Provides the identifier of the KMS key key used to encrypt model data by Amazon Lookout for Equipment.public List<Tag> getTags()
The tags associated with the machine learning model to be created.
public void setTags(Collection<Tag> tags)
The tags associated with the machine learning model to be created.
tags
- The tags associated with the machine learning model to be created.public ImportModelVersionRequest withTags(Tag... tags)
The tags associated with the machine learning model to be created.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags associated with the machine learning model to be created.public ImportModelVersionRequest withTags(Collection<Tag> tags)
The tags associated with the machine learning model to be created.
tags
- The tags associated with the machine learning model to be created.public void setInferenceDataImportStrategy(String inferenceDataImportStrategy)
Indicates how to import the accumulated inference data when a model version is imported. The possible values are as follows:
NO_IMPORT – Don't import the data.
ADD_WHEN_EMPTY – Only import the data from the source model if there is no existing data in the target model.
OVERWRITE – Import the data from the source model and overwrite the existing data in the target model.
inferenceDataImportStrategy
- Indicates how to import the accumulated inference data when a model version is imported. The possible
values are as follows:
NO_IMPORT – Don't import the data.
ADD_WHEN_EMPTY – Only import the data from the source model if there is no existing data in the target model.
OVERWRITE – Import the data from the source model and overwrite the existing data in the target model.
InferenceDataImportStrategy
public String getInferenceDataImportStrategy()
Indicates how to import the accumulated inference data when a model version is imported. The possible values are as follows:
NO_IMPORT – Don't import the data.
ADD_WHEN_EMPTY – Only import the data from the source model if there is no existing data in the target model.
OVERWRITE – Import the data from the source model and overwrite the existing data in the target model.
NO_IMPORT – Don't import the data.
ADD_WHEN_EMPTY – Only import the data from the source model if there is no existing data in the target model.
OVERWRITE – Import the data from the source model and overwrite the existing data in the target model.
InferenceDataImportStrategy
public ImportModelVersionRequest withInferenceDataImportStrategy(String inferenceDataImportStrategy)
Indicates how to import the accumulated inference data when a model version is imported. The possible values are as follows:
NO_IMPORT – Don't import the data.
ADD_WHEN_EMPTY – Only import the data from the source model if there is no existing data in the target model.
OVERWRITE – Import the data from the source model and overwrite the existing data in the target model.
inferenceDataImportStrategy
- Indicates how to import the accumulated inference data when a model version is imported. The possible
values are as follows:
NO_IMPORT – Don't import the data.
ADD_WHEN_EMPTY – Only import the data from the source model if there is no existing data in the target model.
OVERWRITE – Import the data from the source model and overwrite the existing data in the target model.
InferenceDataImportStrategy
public ImportModelVersionRequest withInferenceDataImportStrategy(InferenceDataImportStrategy inferenceDataImportStrategy)
Indicates how to import the accumulated inference data when a model version is imported. The possible values are as follows:
NO_IMPORT – Don't import the data.
ADD_WHEN_EMPTY – Only import the data from the source model if there is no existing data in the target model.
OVERWRITE – Import the data from the source model and overwrite the existing data in the target model.
inferenceDataImportStrategy
- Indicates how to import the accumulated inference data when a model version is imported. The possible
values are as follows:
NO_IMPORT – Don't import the data.
ADD_WHEN_EMPTY – Only import the data from the source model if there is no existing data in the target model.
OVERWRITE – Import the data from the source model and overwrite the existing data in the target model.
InferenceDataImportStrategy
public String toString()
toString
in class Object
Object.toString()
public ImportModelVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()