@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateProjectRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateProjectRequest() |
Modifier and Type | Method and Description |
---|---|
CreateProjectRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAutoUpdate()
Specifies whether automatic retraining should be attempted for the versions of the project.
|
String |
getFeature()
Specifies feature that is being customized.
|
String |
getProjectName()
The name of the project to create.
|
int |
hashCode() |
void |
setAutoUpdate(String autoUpdate)
Specifies whether automatic retraining should be attempted for the versions of the project.
|
void |
setFeature(String feature)
Specifies feature that is being customized.
|
void |
setProjectName(String projectName)
The name of the project to create.
|
String |
toString()
Returns a string representation of this object.
|
CreateProjectRequest |
withAutoUpdate(ProjectAutoUpdate autoUpdate)
Specifies whether automatic retraining should be attempted for the versions of the project.
|
CreateProjectRequest |
withAutoUpdate(String autoUpdate)
Specifies whether automatic retraining should be attempted for the versions of the project.
|
CreateProjectRequest |
withFeature(CustomizationFeature feature)
Specifies feature that is being customized.
|
CreateProjectRequest |
withFeature(String feature)
Specifies feature that is being customized.
|
CreateProjectRequest |
withProjectName(String projectName)
The name of the project to create.
|
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 to create.
projectName
- The name of the project to create.public String getProjectName()
The name of the project to create.
public CreateProjectRequest withProjectName(String projectName)
The name of the project to create.
projectName
- The name of the project to create.public void setFeature(String feature)
Specifies feature that is being customized. If no value is provided CUSTOM_LABELS is used as a default.
feature
- Specifies feature that is being customized. If no value is provided CUSTOM_LABELS is used as a default.CustomizationFeature
public String getFeature()
Specifies feature that is being customized. If no value is provided CUSTOM_LABELS is used as a default.
CustomizationFeature
public CreateProjectRequest withFeature(String feature)
Specifies feature that is being customized. If no value is provided CUSTOM_LABELS is used as a default.
feature
- Specifies feature that is being customized. If no value is provided CUSTOM_LABELS is used as a default.CustomizationFeature
public CreateProjectRequest withFeature(CustomizationFeature feature)
Specifies feature that is being customized. If no value is provided CUSTOM_LABELS is used as a default.
feature
- Specifies feature that is being customized. If no value is provided CUSTOM_LABELS is used as a default.CustomizationFeature
public void setAutoUpdate(String autoUpdate)
Specifies whether automatic retraining should be attempted for the versions of the project. Automatic retraining is done as a best effort. Required argument for Content Moderation. Applicable only to adapters.
autoUpdate
- Specifies whether automatic retraining should be attempted for the versions of the project. Automatic
retraining is done as a best effort. Required argument for Content Moderation. Applicable only to
adapters.ProjectAutoUpdate
public String getAutoUpdate()
Specifies whether automatic retraining should be attempted for the versions of the project. Automatic retraining is done as a best effort. Required argument for Content Moderation. Applicable only to adapters.
ProjectAutoUpdate
public CreateProjectRequest withAutoUpdate(String autoUpdate)
Specifies whether automatic retraining should be attempted for the versions of the project. Automatic retraining is done as a best effort. Required argument for Content Moderation. Applicable only to adapters.
autoUpdate
- Specifies whether automatic retraining should be attempted for the versions of the project. Automatic
retraining is done as a best effort. Required argument for Content Moderation. Applicable only to
adapters.ProjectAutoUpdate
public CreateProjectRequest withAutoUpdate(ProjectAutoUpdate autoUpdate)
Specifies whether automatic retraining should be attempted for the versions of the project. Automatic retraining is done as a best effort. Required argument for Content Moderation. Applicable only to adapters.
autoUpdate
- Specifies whether automatic retraining should be attempted for the versions of the project. Automatic
retraining is done as a best effort. Required argument for Content Moderation. Applicable only to
adapters.ProjectAutoUpdate
public String toString()
toString
in class Object
Object.toString()
public CreateProjectRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()