@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateModelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateModelRequest() |
Modifier and Type | Method and Description |
---|---|
CreateModelRequest |
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.
|
DataPreProcessingConfiguration |
getDataPreProcessingConfiguration()
The configuration is the
TargetSamplingRate , which is the sampling rate of the data after post
processing by Amazon Lookout for Equipment. |
String |
getDatasetName()
The name of the dataset for the ML model being created.
|
DatasetSchema |
getDatasetSchema()
The data schema for the ML model being created.
|
Date |
getEvaluationDataEndTime()
Indicates the time reference in the dataset that should be used to end the subset of evaluation data for the ML
model.
|
Date |
getEvaluationDataStartTime()
Indicates the time reference in the dataset that should be used to begin the subset of evaluation data for the ML
model.
|
LabelsInputConfiguration |
getLabelsInputConfiguration()
The input configuration for the labels being used for the ML model that's being created.
|
String |
getModelName()
The name for the ML model to be created.
|
String |
getOffCondition()
Indicates that the asset associated with this sensor has been shut off.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of a role with permission to access the data source being used to create the ML
model.
|
String |
getServerSideKmsKeyId()
Provides the identifier of the KMS key used to encrypt model data by Amazon Lookout for Equipment.
|
List<Tag> |
getTags()
Any tags associated with the ML model being created.
|
Date |
getTrainingDataEndTime()
Indicates the time reference in the dataset that should be used to end the subset of training data for the ML
model.
|
Date |
getTrainingDataStartTime()
Indicates the time reference in the dataset that should be used to begin the subset of training data for the ML
model.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique identifier for the request.
|
void |
setDataPreProcessingConfiguration(DataPreProcessingConfiguration dataPreProcessingConfiguration)
The configuration is the
TargetSamplingRate , which is the sampling rate of the data after post
processing by Amazon Lookout for Equipment. |
void |
setDatasetName(String datasetName)
The name of the dataset for the ML model being created.
|
void |
setDatasetSchema(DatasetSchema datasetSchema)
The data schema for the ML model being created.
|
void |
setEvaluationDataEndTime(Date evaluationDataEndTime)
Indicates the time reference in the dataset that should be used to end the subset of evaluation data for the ML
model.
|
void |
setEvaluationDataStartTime(Date evaluationDataStartTime)
Indicates the time reference in the dataset that should be used to begin the subset of evaluation data for the ML
model.
|
void |
setLabelsInputConfiguration(LabelsInputConfiguration labelsInputConfiguration)
The input configuration for the labels being used for the ML model that's being created.
|
void |
setModelName(String modelName)
The name for the ML model to be created.
|
void |
setOffCondition(String offCondition)
Indicates that the asset associated with this sensor has been shut off.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of a role with permission to access the data source being used to create the ML
model.
|
void |
setServerSideKmsKeyId(String serverSideKmsKeyId)
Provides the identifier of the KMS key used to encrypt model data by Amazon Lookout for Equipment.
|
void |
setTags(Collection<Tag> tags)
Any tags associated with the ML model being created.
|
void |
setTrainingDataEndTime(Date trainingDataEndTime)
Indicates the time reference in the dataset that should be used to end the subset of training data for the ML
model.
|
void |
setTrainingDataStartTime(Date trainingDataStartTime)
Indicates the time reference in the dataset that should be used to begin the subset of training data for the ML
model.
|
String |
toString()
Returns a string representation of this object.
|
CreateModelRequest |
withClientToken(String clientToken)
A unique identifier for the request.
|
CreateModelRequest |
withDataPreProcessingConfiguration(DataPreProcessingConfiguration dataPreProcessingConfiguration)
The configuration is the
TargetSamplingRate , which is the sampling rate of the data after post
processing by Amazon Lookout for Equipment. |
CreateModelRequest |
withDatasetName(String datasetName)
The name of the dataset for the ML model being created.
|
CreateModelRequest |
withDatasetSchema(DatasetSchema datasetSchema)
The data schema for the ML model being created.
|
CreateModelRequest |
withEvaluationDataEndTime(Date evaluationDataEndTime)
Indicates the time reference in the dataset that should be used to end the subset of evaluation data for the ML
model.
|
CreateModelRequest |
withEvaluationDataStartTime(Date evaluationDataStartTime)
Indicates the time reference in the dataset that should be used to begin the subset of evaluation data for the ML
model.
|
CreateModelRequest |
withLabelsInputConfiguration(LabelsInputConfiguration labelsInputConfiguration)
The input configuration for the labels being used for the ML model that's being created.
|
CreateModelRequest |
withModelName(String modelName)
The name for the ML model to be created.
|
CreateModelRequest |
withOffCondition(String offCondition)
Indicates that the asset associated with this sensor has been shut off.
|
CreateModelRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of a role with permission to access the data source being used to create the ML
model.
|
CreateModelRequest |
withServerSideKmsKeyId(String serverSideKmsKeyId)
Provides the identifier of the KMS key used to encrypt model data by Amazon Lookout for Equipment.
|
CreateModelRequest |
withTags(Collection<Tag> tags)
Any tags associated with the ML model being created.
|
CreateModelRequest |
withTags(Tag... tags)
Any tags associated with the ML model being created.
|
CreateModelRequest |
withTrainingDataEndTime(Date trainingDataEndTime)
Indicates the time reference in the dataset that should be used to end the subset of training data for the ML
model.
|
CreateModelRequest |
withTrainingDataStartTime(Date trainingDataStartTime)
Indicates the time reference in the dataset that should be used to begin the subset of training data for the ML
model.
|
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 setModelName(String modelName)
The name for the ML model to be created.
modelName
- The name for the ML model to be created.public String getModelName()
The name for the ML model to be created.
public CreateModelRequest withModelName(String modelName)
The name for the ML model to be created.
modelName
- The name for the ML model to be created.public void setDatasetName(String datasetName)
The name of the dataset for the ML model being created.
datasetName
- The name of the dataset for the ML model being created.public String getDatasetName()
The name of the dataset for the ML model being created.
public CreateModelRequest withDatasetName(String datasetName)
The name of the dataset for the ML model being created.
datasetName
- The name of the dataset for the ML model being created.public void setDatasetSchema(DatasetSchema datasetSchema)
The data schema for the ML model being created.
datasetSchema
- The data schema for the ML model being created.public DatasetSchema getDatasetSchema()
The data schema for the ML model being created.
public CreateModelRequest withDatasetSchema(DatasetSchema datasetSchema)
The data schema for the ML model being created.
datasetSchema
- The data schema for the ML model being created.public void setLabelsInputConfiguration(LabelsInputConfiguration labelsInputConfiguration)
The input configuration for the labels being used for the ML model that's being created.
labelsInputConfiguration
- The input configuration for the labels being used for the ML model that's being created.public LabelsInputConfiguration getLabelsInputConfiguration()
The input configuration for the labels being used for the ML model that's being created.
public CreateModelRequest withLabelsInputConfiguration(LabelsInputConfiguration labelsInputConfiguration)
The input configuration for the labels being used for the ML model that's being created.
labelsInputConfiguration
- The input configuration for the labels being used for the ML model that's being created.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 CreateModelRequest 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 setTrainingDataStartTime(Date trainingDataStartTime)
Indicates the time reference in the dataset that should be used to begin the subset of training data for the ML model.
trainingDataStartTime
- Indicates the time reference in the dataset that should be used to begin the subset of training data for
the ML model.public Date getTrainingDataStartTime()
Indicates the time reference in the dataset that should be used to begin the subset of training data for the ML model.
public CreateModelRequest withTrainingDataStartTime(Date trainingDataStartTime)
Indicates the time reference in the dataset that should be used to begin the subset of training data for the ML model.
trainingDataStartTime
- Indicates the time reference in the dataset that should be used to begin the subset of training data for
the ML model.public void setTrainingDataEndTime(Date trainingDataEndTime)
Indicates the time reference in the dataset that should be used to end the subset of training data for the ML model.
trainingDataEndTime
- Indicates the time reference in the dataset that should be used to end the subset of training data for the
ML model.public Date getTrainingDataEndTime()
Indicates the time reference in the dataset that should be used to end the subset of training data for the ML model.
public CreateModelRequest withTrainingDataEndTime(Date trainingDataEndTime)
Indicates the time reference in the dataset that should be used to end the subset of training data for the ML model.
trainingDataEndTime
- Indicates the time reference in the dataset that should be used to end the subset of training data for the
ML model.public void setEvaluationDataStartTime(Date evaluationDataStartTime)
Indicates the time reference in the dataset that should be used to begin the subset of evaluation data for the ML model.
evaluationDataStartTime
- Indicates the time reference in the dataset that should be used to begin the subset of evaluation data for
the ML model.public Date getEvaluationDataStartTime()
Indicates the time reference in the dataset that should be used to begin the subset of evaluation data for the ML model.
public CreateModelRequest withEvaluationDataStartTime(Date evaluationDataStartTime)
Indicates the time reference in the dataset that should be used to begin the subset of evaluation data for the ML model.
evaluationDataStartTime
- Indicates the time reference in the dataset that should be used to begin the subset of evaluation data for
the ML model.public void setEvaluationDataEndTime(Date evaluationDataEndTime)
Indicates the time reference in the dataset that should be used to end the subset of evaluation data for the ML model.
evaluationDataEndTime
- Indicates the time reference in the dataset that should be used to end the subset of evaluation data for
the ML model.public Date getEvaluationDataEndTime()
Indicates the time reference in the dataset that should be used to end the subset of evaluation data for the ML model.
public CreateModelRequest withEvaluationDataEndTime(Date evaluationDataEndTime)
Indicates the time reference in the dataset that should be used to end the subset of evaluation data for the ML model.
evaluationDataEndTime
- Indicates the time reference in the dataset that should be used to end the subset of evaluation data for
the ML model.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 ML model.
roleArn
- The Amazon Resource Name (ARN) of a role with permission to access the data source being used to create
the ML model.public String getRoleArn()
The Amazon Resource Name (ARN) of a role with permission to access the data source being used to create the ML model.
public CreateModelRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of a role with permission to access the data source being used to create the ML model.
roleArn
- The Amazon Resource Name (ARN) of a role with permission to access the data source being used to create
the ML model.public void setDataPreProcessingConfiguration(DataPreProcessingConfiguration dataPreProcessingConfiguration)
The configuration is the TargetSamplingRate
, which is the sampling rate of the data after post
processing by Amazon Lookout for Equipment. For example, if you provide data that has been collected at a 1
second level and you want the system to resample the data at a 1 minute rate before training, the
TargetSamplingRate
is 1 minute.
When providing a value for the TargetSamplingRate
, you must attach the prefix "PT" to the rate you
want. The value for a 1 second rate is therefore PT1S, the value for a 15 minute rate is PT15M, and
the value for a 1 hour rate is PT1H
dataPreProcessingConfiguration
- The configuration is the TargetSamplingRate
, which is the sampling rate of the data after
post processing by Amazon Lookout for Equipment. For example, if you provide data that has been collected
at a 1 second level and you want the system to resample the data at a 1 minute rate before training, the
TargetSamplingRate
is 1 minute.
When providing a value for the TargetSamplingRate
, you must attach the prefix "PT" to the
rate you want. The value for a 1 second rate is therefore PT1S, the value for a 15 minute rate is
PT15M, and the value for a 1 hour rate is PT1H
public DataPreProcessingConfiguration getDataPreProcessingConfiguration()
The configuration is the TargetSamplingRate
, which is the sampling rate of the data after post
processing by Amazon Lookout for Equipment. For example, if you provide data that has been collected at a 1
second level and you want the system to resample the data at a 1 minute rate before training, the
TargetSamplingRate
is 1 minute.
When providing a value for the TargetSamplingRate
, you must attach the prefix "PT" to the rate you
want. The value for a 1 second rate is therefore PT1S, the value for a 15 minute rate is PT15M, and
the value for a 1 hour rate is PT1H
TargetSamplingRate
, which is the sampling rate of the data after
post processing by Amazon Lookout for Equipment. For example, if you provide data that has been collected
at a 1 second level and you want the system to resample the data at a 1 minute rate before training, the
TargetSamplingRate
is 1 minute.
When providing a value for the TargetSamplingRate
, you must attach the prefix "PT" to the
rate you want. The value for a 1 second rate is therefore PT1S, the value for a 15 minute rate is
PT15M, and the value for a 1 hour rate is PT1H
public CreateModelRequest withDataPreProcessingConfiguration(DataPreProcessingConfiguration dataPreProcessingConfiguration)
The configuration is the TargetSamplingRate
, which is the sampling rate of the data after post
processing by Amazon Lookout for Equipment. For example, if you provide data that has been collected at a 1
second level and you want the system to resample the data at a 1 minute rate before training, the
TargetSamplingRate
is 1 minute.
When providing a value for the TargetSamplingRate
, you must attach the prefix "PT" to the rate you
want. The value for a 1 second rate is therefore PT1S, the value for a 15 minute rate is PT15M, and
the value for a 1 hour rate is PT1H
dataPreProcessingConfiguration
- The configuration is the TargetSamplingRate
, which is the sampling rate of the data after
post processing by Amazon Lookout for Equipment. For example, if you provide data that has been collected
at a 1 second level and you want the system to resample the data at a 1 minute rate before training, the
TargetSamplingRate
is 1 minute.
When providing a value for the TargetSamplingRate
, you must attach the prefix "PT" to the
rate you want. The value for a 1 second rate is therefore PT1S, the value for a 15 minute rate is
PT15M, and the value for a 1 hour rate is PT1H
public void setServerSideKmsKeyId(String serverSideKmsKeyId)
Provides the identifier of the KMS key used to encrypt model data by Amazon Lookout for Equipment.
serverSideKmsKeyId
- Provides the identifier of the KMS key used to encrypt model data by Amazon Lookout for Equipment.public String getServerSideKmsKeyId()
Provides the identifier of the KMS key used to encrypt model data by Amazon Lookout for Equipment.
public CreateModelRequest withServerSideKmsKeyId(String serverSideKmsKeyId)
Provides the identifier of the KMS key used to encrypt model data by Amazon Lookout for Equipment.
serverSideKmsKeyId
- Provides the identifier of the KMS key used to encrypt model data by Amazon Lookout for Equipment.public List<Tag> getTags()
Any tags associated with the ML model being created.
public void setTags(Collection<Tag> tags)
Any tags associated with the ML model being created.
tags
- Any tags associated with the ML model being created.public CreateModelRequest withTags(Tag... tags)
Any tags associated with the ML model being 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
- Any tags associated with the ML model being created.public CreateModelRequest withTags(Collection<Tag> tags)
Any tags associated with the ML model being created.
tags
- Any tags associated with the ML model being created.public void setOffCondition(String offCondition)
Indicates that the asset associated with this sensor has been shut off. As long as this condition is met, Lookout for Equipment will not use data from this asset for training, evaluation, or inference.
offCondition
- Indicates that the asset associated with this sensor has been shut off. As long as this condition is met,
Lookout for Equipment will not use data from this asset for training, evaluation, or inference.public String getOffCondition()
Indicates that the asset associated with this sensor has been shut off. As long as this condition is met, Lookout for Equipment will not use data from this asset for training, evaluation, or inference.
public CreateModelRequest withOffCondition(String offCondition)
Indicates that the asset associated with this sensor has been shut off. As long as this condition is met, Lookout for Equipment will not use data from this asset for training, evaluation, or inference.
offCondition
- Indicates that the asset associated with this sensor has been shut off. As long as this condition is met,
Lookout for Equipment will not use data from this asset for training, evaluation, or inference.public String toString()
toString
in class Object
Object.toString()
public CreateModelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()