public class ProjectDescription
extends java.lang.Object
implements java.io.Serializable
A description of a Amazon Rekognition Custom Labels project.
Constructor and Description |
---|
ProjectDescription() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreationTimestamp()
The Unix timestamp for the date and time that the project was created.
|
java.lang.String |
getProjectArn()
The Amazon Resource Name (ARN) of the project.
|
java.lang.String |
getStatus()
The current status of the project.
|
int |
hashCode() |
void |
setCreationTimestamp(java.util.Date creationTimestamp)
The Unix timestamp for the date and time that the project was created.
|
void |
setProjectArn(java.lang.String projectArn)
The Amazon Resource Name (ARN) of the project.
|
void |
setStatus(ProjectStatus status)
The current status of the project.
|
void |
setStatus(java.lang.String status)
The current status of the project.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ProjectDescription |
withCreationTimestamp(java.util.Date creationTimestamp)
The Unix timestamp for the date and time that the project was created.
|
ProjectDescription |
withProjectArn(java.lang.String projectArn)
The Amazon Resource Name (ARN) of the project.
|
ProjectDescription |
withStatus(ProjectStatus status)
The current status of the project.
|
ProjectDescription |
withStatus(java.lang.String status)
The current status of the project.
|
public java.lang.String getProjectArn()
The Amazon Resource Name (ARN) of the project.
Constraints:
Length: 20 - 2048
Pattern:
(^arn:[a-z\d-]+:rekognition:[a-z\d-]+:\d{12}:project\/[a-zA
-Z0-9_.\-]{1,255}\/[0-9]+$)
The Amazon Resource Name (ARN) of the project.
public void setProjectArn(java.lang.String projectArn)
The Amazon Resource Name (ARN) of the project.
Constraints:
Length: 20 - 2048
Pattern:
(^arn:[a-z\d-]+:rekognition:[a-z\d-]+:\d{12}:project\/[a-zA
-Z0-9_.\-]{1,255}\/[0-9]+$)
projectArn
- The Amazon Resource Name (ARN) of the project.
public ProjectDescription withProjectArn(java.lang.String projectArn)
The Amazon Resource Name (ARN) of the project.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
Pattern:
(^arn:[a-z\d-]+:rekognition:[a-z\d-]+:\d{12}:project\/[a-zA
-Z0-9_.\-]{1,255}\/[0-9]+$)
projectArn
- The Amazon Resource Name (ARN) of the project.
public java.util.Date getCreationTimestamp()
The Unix timestamp for the date and time that the project was created.
The Unix timestamp for the date and time that the project was created.
public void setCreationTimestamp(java.util.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 ProjectDescription withCreationTimestamp(java.util.Date creationTimestamp)
The Unix timestamp for the date and time that the project was created.
Returns a reference to this object so that method calls can be chained together.
creationTimestamp
- The Unix timestamp for the date and time that the project was created.
public java.lang.String getStatus()
The current status of the project.
Constraints:
Allowed Values: CREATING, CREATED, DELETING
The current status of the project.
ProjectStatus
public void setStatus(java.lang.String status)
The current status of the project.
Constraints:
Allowed Values: CREATING, CREATED, DELETING
status
- The current status of the project.
ProjectStatus
public ProjectDescription withStatus(java.lang.String status)
The current status of the project.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATING, CREATED, DELETING
status
- The current status of the project.
ProjectStatus
public void setStatus(ProjectStatus status)
The current status of the project.
Constraints:
Allowed Values: CREATING, CREATED, DELETING
status
- The current status of the project.
ProjectStatus
public ProjectDescription withStatus(ProjectStatus status)
The current status of the project.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATING, CREATED, DELETING
status
- The current status of the project.
ProjectStatus
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.