@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. |
String |
getDescription()
A description for the version of the model.
|
String |
getKmsKeyId()
The identifier for your AWS Key Management Service (AWS KMS) customer master key (CMK).
|
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.
|
List<Tag> |
getTags()
A set of tags (key-value pairs) that you want to attach to the model.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
ClientToken is an idempotency token that ensures a call to
CreateModel completes only once. |
void |
setDescription(String description)
A description for the version of the model.
|
void |
setKmsKeyId(String kmsKeyId)
The identifier for your AWS Key Management Service (AWS KMS) customer master key (CMK).
|
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.
|
void |
setTags(Collection<Tag> tags)
A set of tags (key-value pairs) that you want to attach to the model.
|
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(String description)
A description for the version of the model.
|
CreateModelRequest |
withKmsKeyId(String kmsKeyId)
The identifier for your AWS Key Management Service (AWS KMS) customer master key (CMK).
|
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.
|
CreateModelRequest |
withTags(Collection<Tag> tags)
A set of tags (key-value pairs) that you want to attach to the model.
|
CreateModelRequest |
withTags(Tag... tags)
A set of tags (key-value pairs) that you want to attach to the 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 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(String description)
A description for the version of the model.
description
- A description for the version of the model.public String getDescription()
A description for the version of the model.
public CreateModelRequest withDescription(String 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 for your AWS Key Management Service (AWS KMS) customer master key (CMK). The key is used to encrypt training and test images copied into the service for model training. Your source images are unaffected. If this parameter is not specified, the copied images are encrypted by a key that AWS owns and manages.
kmsKeyId
- The identifier for your AWS Key Management Service (AWS KMS) customer master key (CMK). The key is used to
encrypt training and test images copied into the service for model training. Your source images are
unaffected. If this parameter is not specified, the copied images are encrypted by a key that AWS owns and
manages.public String getKmsKeyId()
The identifier for your AWS Key Management Service (AWS KMS) customer master key (CMK). The key is used to encrypt training and test images copied into the service for model training. Your source images are unaffected. If this parameter is not specified, the copied images are encrypted by a key that AWS owns and manages.
public CreateModelRequest withKmsKeyId(String kmsKeyId)
The identifier for your AWS Key Management Service (AWS KMS) customer master key (CMK). The key is used to encrypt training and test images copied into the service for model training. Your source images are unaffected. If this parameter is not specified, the copied images are encrypted by a key that AWS owns and manages.
kmsKeyId
- The identifier for your AWS Key Management Service (AWS KMS) customer master key (CMK). The key is used to
encrypt training and test images copied into the service for model training. Your source images are
unaffected. If this parameter is not specified, the copied images are encrypted by a key that AWS owns and
manages.public List<Tag> getTags()
A set of tags (key-value pairs) that you want to attach to the model.
public void setTags(Collection<Tag> tags)
A set of tags (key-value pairs) that you want to attach to the model.
tags
- A set of tags (key-value pairs) that you want to attach to the model.public CreateModelRequest withTags(Tag... tags)
A set of tags (key-value pairs) that you want to attach to the model.
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
- A set of tags (key-value pairs) that you want to attach to the model.public CreateModelRequest withTags(Collection<Tag> tags)
A set of tags (key-value pairs) that you want to attach to the model.
tags
- A set of tags (key-value pairs) that you want to attach to the model.public String toString()
toString
in class Object
Object.toString()
public CreateModelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()