@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Note extends Object implements Serializable, Cloneable, StructuredPojo
A user-defined note added to a finding.
Constructor and Description |
---|
Note() |
Modifier and Type | Method and Description |
---|---|
Note |
clone() |
boolean |
equals(Object obj) |
String |
getText()
The text of a note.
|
String |
getUpdatedAt()
The timestamp of when the note was updated.
|
String |
getUpdatedBy()
The principal that created a note.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setText(String text)
The text of a note.
|
void |
setUpdatedAt(String updatedAt)
The timestamp of when the note was updated.
|
void |
setUpdatedBy(String updatedBy)
The principal that created a note.
|
String |
toString()
Returns a string representation of this object.
|
Note |
withText(String text)
The text of a note.
|
Note |
withUpdatedAt(String updatedAt)
The timestamp of when the note was updated.
|
Note |
withUpdatedBy(String updatedBy)
The principal that created a note.
|
public void setText(String text)
The text of a note.
text
- The text of a note.public String getText()
The text of a note.
public Note withText(String text)
The text of a note.
text
- The text of a note.public void setUpdatedBy(String updatedBy)
The principal that created a note.
updatedBy
- The principal that created a note.public String getUpdatedBy()
The principal that created a note.
public Note withUpdatedBy(String updatedBy)
The principal that created a note.
updatedBy
- The principal that created a note.public void setUpdatedAt(String updatedAt)
The timestamp of when the note was updated.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
updatedAt
- The timestamp of when the note was updated.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public String getUpdatedAt()
The timestamp of when the note was updated.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public Note withUpdatedAt(String updatedAt)
The timestamp of when the note was updated.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
updatedAt
- The timestamp of when the note was updated.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.