@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()
ClientToken is an idempotency token that ensures a call to
CreateModel completes only once. |
ModelDescription |
getDescription()
A description for the version of the model.
|
String |
getKmsKeyId()
The identifier of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for encypting the
model.
|
OutputConfig |
getOutputConfig()
The location where Amazon Lookout for Vision saves the training results.
|
String |
getProjectName()
The name of the project in which you want to create a model version.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
ClientToken is an idempotency token that ensures a call to
CreateModel completes only once. |
void |
setDescription(ModelDescription description)
A description for the version of the model.
|
void |
setKmsKeyId(String kmsKeyId)
The identifier of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for encypting the
model.
|
void |
setOutputConfig(OutputConfig outputConfig)
The location where Amazon Lookout for Vision saves the training results.
|
void |
setProjectName(String projectName)
The name of the project in which you want to create a model version.
|
String |
toString()
Returns a string representation of this object.
|
CreateModelRequest |
withClientToken(String clientToken)
ClientToken is an idempotency token that ensures a call to
CreateModel completes only once. |
CreateModelRequest |
withDescription(ModelDescription description)
A description for the version of the model.
|
CreateModelRequest |
withKmsKeyId(String kmsKeyId)
The identifier of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for encypting the
model.
|
CreateModelRequest |
withOutputConfig(OutputConfig outputConfig)
The location where Amazon Lookout for Vision saves the training results.
|
CreateModelRequest |
withProjectName(String projectName)
The name of the project in which you want to create a model version.
|
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 setProjectName(String projectName)
The name of the project in which you want to create a model version.
projectName
- The name of the project in which you want to create a model version.public String getProjectName()
The name of the project in which you want to create a model version.
public CreateModelRequest withProjectName(String projectName)
The name of the project in which you want to create a model version.
projectName
- The name of the project in which you want to create a model version.public void setDescription(ModelDescription description)
A description for the version of the model.
description
- A description for the version of the model.public ModelDescription getDescription()
A description for the version of the model.
public CreateModelRequest withDescription(ModelDescription description)
A description for the version of the model.
description
- A description for the version of the model.public void setClientToken(String clientToken)
ClientToken is an idempotency token that ensures a call to CreateModel
completes only once. You
choose the value to pass. For example, An issue, such as an network outage, might prevent you from getting a
response from CreateModel
. In this case, safely retry your call to CreateModel
by using
the same ClientToken
parameter value. An error occurs if the other input parameters are not the same
as in the first request. Using a different value for ClientToken
is considered a new call to
CreateModel
. An idempotency token is active for 8 hours.
clientToken
- ClientToken is an idempotency token that ensures a call to CreateModel
completes only once.
You choose the value to pass. For example, An issue, such as an network outage, might prevent you from
getting a response from CreateModel
. In this case, safely retry your call to
CreateModel
by using the same ClientToken
parameter value. An error occurs if
the other input parameters are not the same as in the first request. Using a different value for
ClientToken
is considered a new call to CreateModel
. An idempotency token is
active for 8 hours.public String getClientToken()
ClientToken is an idempotency token that ensures a call to CreateModel
completes only once. You
choose the value to pass. For example, An issue, such as an network outage, might prevent you from getting a
response from CreateModel
. In this case, safely retry your call to CreateModel
by using
the same ClientToken
parameter value. An error occurs if the other input parameters are not the same
as in the first request. Using a different value for ClientToken
is considered a new call to
CreateModel
. An idempotency token is active for 8 hours.
CreateModel
completes only once.
You choose the value to pass. For example, An issue, such as an network outage, might prevent you from
getting a response from CreateModel
. In this case, safely retry your call to
CreateModel
by using the same ClientToken
parameter value. An error occurs if
the other input parameters are not the same as in the first request. Using a different value for
ClientToken
is considered a new call to CreateModel
. An idempotency token is
active for 8 hours.public CreateModelRequest withClientToken(String clientToken)
ClientToken is an idempotency token that ensures a call to CreateModel
completes only once. You
choose the value to pass. For example, An issue, such as an network outage, might prevent you from getting a
response from CreateModel
. In this case, safely retry your call to CreateModel
by using
the same ClientToken
parameter value. An error occurs if the other input parameters are not the same
as in the first request. Using a different value for ClientToken
is considered a new call to
CreateModel
. An idempotency token is active for 8 hours.
clientToken
- ClientToken is an idempotency token that ensures a call to CreateModel
completes only once.
You choose the value to pass. For example, An issue, such as an network outage, might prevent you from
getting a response from CreateModel
. In this case, safely retry your call to
CreateModel
by using the same ClientToken
parameter value. An error occurs if
the other input parameters are not the same as in the first request. Using a different value for
ClientToken
is considered a new call to CreateModel
. An idempotency token is
active for 8 hours.public void setOutputConfig(OutputConfig outputConfig)
The location where Amazon Lookout for Vision saves the training results.
outputConfig
- The location where Amazon Lookout for Vision saves the training results.public OutputConfig getOutputConfig()
The location where Amazon Lookout for Vision saves the training results.
public CreateModelRequest withOutputConfig(OutputConfig outputConfig)
The location where Amazon Lookout for Vision saves the training results.
outputConfig
- The location where Amazon Lookout for Vision saves the training results.public void setKmsKeyId(String kmsKeyId)
The identifier of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for encypting the model. If this parameter is not specified, the model is encrypted by a key that AWS owns and manages.
kmsKeyId
- The identifier of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for encypting
the model. If this parameter is not specified, the model is encrypted by a key that AWS owns and manages.public String getKmsKeyId()
The identifier of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for encypting the model. If this parameter is not specified, the model is encrypted by a key that AWS owns and manages.
public CreateModelRequest withKmsKeyId(String kmsKeyId)
The identifier of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for encypting the model. If this parameter is not specified, the model is encrypted by a key that AWS owns and manages.
kmsKeyId
- The identifier of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for encypting
the model. If this parameter is not specified, the model is encrypted by a key that AWS owns and manages.public String toString()
toString
in class Object
Object.toString()
public CreateModelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()