@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProjectDescription extends Object implements Serializable, Cloneable, StructuredPojo
A description of an Amazon Rekognition Custom Labels project. For more information, see DescribeProjects.
Constructor and Description |
---|
ProjectDescription() |
Modifier and Type | Method and Description |
---|---|
ProjectDescription |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTimestamp()
The Unix timestamp for the date and time that the project was created.
|
List<DatasetMetadata> |
getDatasets()
Information about the training and test datasets in the project.
|
String |
getProjectArn()
The Amazon Resource Name (ARN) of the project.
|
String |
getStatus()
The current status of the project.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationTimestamp(Date creationTimestamp)
The Unix timestamp for the date and time that the project was created.
|
void |
setDatasets(Collection<DatasetMetadata> datasets)
Information about the training and test datasets in the project.
|
void |
setProjectArn(String projectArn)
The Amazon Resource Name (ARN) of the project.
|
void |
setStatus(String status)
The current status of the project.
|
String |
toString()
Returns a string representation of this object.
|
ProjectDescription |
withCreationTimestamp(Date creationTimestamp)
The Unix timestamp for the date and time that the project was created.
|
ProjectDescription |
withDatasets(Collection<DatasetMetadata> datasets)
Information about the training and test datasets in the project.
|
ProjectDescription |
withDatasets(DatasetMetadata... datasets)
Information about the training and test datasets in the project.
|
ProjectDescription |
withProjectArn(String projectArn)
The Amazon Resource Name (ARN) of the project.
|
ProjectDescription |
withStatus(ProjectStatus status)
The current status of the project.
|
ProjectDescription |
withStatus(String status)
The current status of the project.
|
public void setProjectArn(String projectArn)
The Amazon Resource Name (ARN) of the project.
projectArn
- The Amazon Resource Name (ARN) of the project.public String getProjectArn()
The Amazon Resource Name (ARN) of the project.
public ProjectDescription withProjectArn(String projectArn)
The Amazon Resource Name (ARN) of the project.
projectArn
- The Amazon Resource Name (ARN) of the project.public void setCreationTimestamp(Date creationTimestamp)
The Unix timestamp for the date and time that the project was created.
creationTimestamp
- The Unix timestamp for the date and time that the project was created.public Date getCreationTimestamp()
The Unix timestamp for the date and time that the project was created.
public ProjectDescription withCreationTimestamp(Date creationTimestamp)
The Unix timestamp for the date and time that the project was created.
creationTimestamp
- The Unix timestamp for the date and time that the project was created.public void setStatus(String status)
The current status of the project.
status
- The current status of the project.ProjectStatus
public String getStatus()
The current status of the project.
ProjectStatus
public ProjectDescription withStatus(String status)
The current status of the project.
status
- The current status of the project.ProjectStatus
public ProjectDescription withStatus(ProjectStatus status)
The current status of the project.
status
- The current status of the project.ProjectStatus
public List<DatasetMetadata> getDatasets()
Information about the training and test datasets in the project.
public void setDatasets(Collection<DatasetMetadata> datasets)
Information about the training and test datasets in the project.
datasets
- Information about the training and test datasets in the project.public ProjectDescription withDatasets(DatasetMetadata... datasets)
Information about the training and test datasets in the project.
NOTE: This method appends the values to the existing list (if any). Use
setDatasets(java.util.Collection)
or withDatasets(java.util.Collection)
if you want to override
the existing values.
datasets
- Information about the training and test datasets in the project.public ProjectDescription withDatasets(Collection<DatasetMetadata> datasets)
Information about the training and test datasets in the project.
datasets
- Information about the training and test datasets in the project.public String toString()
toString
in class Object
Object.toString()
public ProjectDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.