@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReviewTemplate extends Object implements Serializable, Cloneable, StructuredPojo
A review template.
Constructor and Description |
---|
ReviewTemplate() |
Modifier and Type | Method and Description |
---|---|
ReviewTemplate |
addQuestionCountsEntry(String key,
Integer value)
Add a single QuestionCounts entry
|
ReviewTemplate |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
ReviewTemplate |
clearQuestionCountsEntries()
Removes all the entries added into QuestionCounts.
|
ReviewTemplate |
clearTagsEntries()
Removes all the entries added into Tags.
|
ReviewTemplate |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The review template description.
|
List<String> |
getLenses()
The lenses applied to the review template.
|
String |
getNotes() |
String |
getOwner() |
Map<String,Integer> |
getQuestionCounts()
A count of how many total questions are answered and unanswered in the review template.
|
String |
getShareInvitationId()
The ID assigned to the template share invitation.
|
Map<String,String> |
getTags()
The tags assigned to the review template.
|
String |
getTemplateArn()
The review template ARN.
|
String |
getTemplateName()
The name of the review template.
|
Date |
getUpdatedAt() |
String |
getUpdateStatus()
The latest status of a review template.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
The review template description.
|
void |
setLenses(Collection<String> lenses)
The lenses applied to the review template.
|
void |
setNotes(String notes) |
void |
setOwner(String owner) |
void |
setQuestionCounts(Map<String,Integer> questionCounts)
A count of how many total questions are answered and unanswered in the review template.
|
void |
setShareInvitationId(String shareInvitationId)
The ID assigned to the template share invitation.
|
void |
setTags(Map<String,String> tags)
The tags assigned to the review template.
|
void |
setTemplateArn(String templateArn)
The review template ARN.
|
void |
setTemplateName(String templateName)
The name of the review template.
|
void |
setUpdatedAt(Date updatedAt) |
void |
setUpdateStatus(String updateStatus)
The latest status of a review template.
|
String |
toString()
Returns a string representation of this object.
|
ReviewTemplate |
withDescription(String description)
The review template description.
|
ReviewTemplate |
withLenses(Collection<String> lenses)
The lenses applied to the review template.
|
ReviewTemplate |
withLenses(String... lenses)
The lenses applied to the review template.
|
ReviewTemplate |
withNotes(String notes) |
ReviewTemplate |
withOwner(String owner) |
ReviewTemplate |
withQuestionCounts(Map<String,Integer> questionCounts)
A count of how many total questions are answered and unanswered in the review template.
|
ReviewTemplate |
withShareInvitationId(String shareInvitationId)
The ID assigned to the template share invitation.
|
ReviewTemplate |
withTags(Map<String,String> tags)
The tags assigned to the review template.
|
ReviewTemplate |
withTemplateArn(String templateArn)
The review template ARN.
|
ReviewTemplate |
withTemplateName(String templateName)
The name of the review template.
|
ReviewTemplate |
withUpdatedAt(Date updatedAt) |
ReviewTemplate |
withUpdateStatus(ReviewTemplateUpdateStatus updateStatus)
The latest status of a review template.
|
ReviewTemplate |
withUpdateStatus(String updateStatus)
The latest status of a review template.
|
public void setDescription(String description)
The review template description.
description
- The review template description.public String getDescription()
The review template description.
public ReviewTemplate withDescription(String description)
The review template description.
description
- The review template description.public List<String> getLenses()
The lenses applied to the review template.
public void setLenses(Collection<String> lenses)
The lenses applied to the review template.
lenses
- The lenses applied to the review template.public ReviewTemplate withLenses(String... lenses)
The lenses applied to the review template.
NOTE: This method appends the values to the existing list (if any). Use
setLenses(java.util.Collection)
or withLenses(java.util.Collection)
if you want to override the
existing values.
lenses
- The lenses applied to the review template.public ReviewTemplate withLenses(Collection<String> lenses)
The lenses applied to the review template.
lenses
- The lenses applied to the review template.public void setNotes(String notes)
notes
- public String getNotes()
public ReviewTemplate withNotes(String notes)
notes
- public Map<String,Integer> getQuestionCounts()
A count of how many total questions are answered and unanswered in the review template.
public void setQuestionCounts(Map<String,Integer> questionCounts)
A count of how many total questions are answered and unanswered in the review template.
questionCounts
- A count of how many total questions are answered and unanswered in the review template.public ReviewTemplate withQuestionCounts(Map<String,Integer> questionCounts)
A count of how many total questions are answered and unanswered in the review template.
questionCounts
- A count of how many total questions are answered and unanswered in the review template.public ReviewTemplate addQuestionCountsEntry(String key, Integer value)
public ReviewTemplate clearQuestionCountsEntries()
public void setOwner(String owner)
owner
- public String getOwner()
public ReviewTemplate withOwner(String owner)
owner
- public void setUpdatedAt(Date updatedAt)
updatedAt
- public Date getUpdatedAt()
public ReviewTemplate withUpdatedAt(Date updatedAt)
updatedAt
- public void setTemplateArn(String templateArn)
The review template ARN.
templateArn
- The review template ARN.public String getTemplateArn()
The review template ARN.
public ReviewTemplate withTemplateArn(String templateArn)
The review template ARN.
templateArn
- The review template ARN.public void setTemplateName(String templateName)
The name of the review template.
templateName
- The name of the review template.public String getTemplateName()
The name of the review template.
public ReviewTemplate withTemplateName(String templateName)
The name of the review template.
templateName
- The name of the review template.public Map<String,String> getTags()
The tags assigned to the review template.
public void setTags(Map<String,String> tags)
The tags assigned to the review template.
tags
- The tags assigned to the review template.public ReviewTemplate withTags(Map<String,String> tags)
The tags assigned to the review template.
tags
- The tags assigned to the review template.public ReviewTemplate addTagsEntry(String key, String value)
public ReviewTemplate clearTagsEntries()
public void setUpdateStatus(String updateStatus)
The latest status of a review template.
updateStatus
- The latest status of a review template.ReviewTemplateUpdateStatus
public String getUpdateStatus()
The latest status of a review template.
ReviewTemplateUpdateStatus
public ReviewTemplate withUpdateStatus(String updateStatus)
The latest status of a review template.
updateStatus
- The latest status of a review template.ReviewTemplateUpdateStatus
public ReviewTemplate withUpdateStatus(ReviewTemplateUpdateStatus updateStatus)
The latest status of a review template.
updateStatus
- The latest status of a review template.ReviewTemplateUpdateStatus
public void setShareInvitationId(String shareInvitationId)
The ID assigned to the template share invitation.
shareInvitationId
- The ID assigned to the template share invitation.public String getShareInvitationId()
The ID assigned to the template share invitation.
public ReviewTemplate withShareInvitationId(String shareInvitationId)
The ID assigned to the template share invitation.
shareInvitationId
- The ID assigned to the template share invitation.public String toString()
toString
in class Object
Object.toString()
public ReviewTemplate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.