@Generated(value="software.amazon.awssdk:codegen") public final class CreateProjectRequest extends RekognitionRequest implements ToCopyableBuilder<CreateProjectRequest.Builder,CreateProjectRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateProjectRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
ProjectAutoUpdate |
autoUpdate()
Specifies whether automatic retraining should be attempted for the versions of the project.
|
String |
autoUpdateAsString()
Specifies whether automatic retraining should be attempted for the versions of the project.
|
static CreateProjectRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
CustomizationFeature |
feature()
Specifies feature that is being customized.
|
String |
featureAsString()
Specifies feature that is being customized.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
projectName()
The name of the project to create.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateProjectRequest.Builder> |
serializableBuilderClass() |
CreateProjectRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String projectName()
The name of the project to create.
public final CustomizationFeature feature()
Specifies feature that is being customized. If no value is provided CUSTOM_LABELS is used as a default.
If the service returns an enum value that is not available in the current SDK version, feature will
return CustomizationFeature.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from featureAsString().
CustomizationFeaturepublic final String featureAsString()
Specifies feature that is being customized. If no value is provided CUSTOM_LABELS is used as a default.
If the service returns an enum value that is not available in the current SDK version, feature will
return CustomizationFeature.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from featureAsString().
CustomizationFeaturepublic final 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.
If the service returns an enum value that is not available in the current SDK version, autoUpdate will
return ProjectAutoUpdate.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
autoUpdateAsString().
ProjectAutoUpdatepublic final String autoUpdateAsString()
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.
If the service returns an enum value that is not available in the current SDK version, autoUpdate will
return ProjectAutoUpdate.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
autoUpdateAsString().
ProjectAutoUpdatepublic CreateProjectRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateProjectRequest.Builder,CreateProjectRequest>toBuilder in class RekognitionRequestpublic static CreateProjectRequest.Builder builder()
public static Class<? extends CreateProjectRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.