public class CreateProjectRequest extends AmazonWebServiceRequest implements java.io.Serializable
Creates a new Amazon Rekognition Custom Labels project. A project is a logical grouping of resources (images, Labels, models) and operations (training, evaluation and detection).
This operation requires permissions to perform the
rekognition:CreateProject
action.
Constructor and Description |
---|
CreateProjectRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getProjectName()
The name of the project to create.
|
int |
hashCode() |
void |
setProjectName(java.lang.String projectName)
The name of the project to create.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateProjectRequest |
withProjectName(java.lang.String projectName)
The name of the project to create.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getProjectName()
The name of the project to create.
Constraints:
Length: 1 - 255
Pattern: [a-zA-Z0-9_.\-]+
The name of the project to create.
public void setProjectName(java.lang.String projectName)
The name of the project to create.
Constraints:
Length: 1 - 255
Pattern: [a-zA-Z0-9_.\-]+
projectName
- The name of the project to create.
public CreateProjectRequest withProjectName(java.lang.String projectName)
The name of the project to create.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [a-zA-Z0-9_.\-]+
projectName
- The name of the project to create.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.