@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TaggedDatabase extends Object implements Serializable, Cloneable, StructuredPojo
A structure describing a database resource with LF-tags.
Constructor and Description |
---|
TaggedDatabase() |
Modifier and Type | Method and Description |
---|---|
TaggedDatabase |
clone() |
boolean |
equals(Object obj) |
DatabaseResource |
getDatabase()
A database that has LF-tags attached to it.
|
List<LFTagPair> |
getLFTags()
A list of LF-tags attached to the database.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDatabase(DatabaseResource database)
A database that has LF-tags attached to it.
|
void |
setLFTags(Collection<LFTagPair> lFTags)
A list of LF-tags attached to the database.
|
String |
toString()
Returns a string representation of this object.
|
TaggedDatabase |
withDatabase(DatabaseResource database)
A database that has LF-tags attached to it.
|
TaggedDatabase |
withLFTags(Collection<LFTagPair> lFTags)
A list of LF-tags attached to the database.
|
TaggedDatabase |
withLFTags(LFTagPair... lFTags)
A list of LF-tags attached to the database.
|
public void setDatabase(DatabaseResource database)
A database that has LF-tags attached to it.
database
- A database that has LF-tags attached to it.public DatabaseResource getDatabase()
A database that has LF-tags attached to it.
public TaggedDatabase withDatabase(DatabaseResource database)
A database that has LF-tags attached to it.
database
- A database that has LF-tags attached to it.public List<LFTagPair> getLFTags()
A list of LF-tags attached to the database.
public void setLFTags(Collection<LFTagPair> lFTags)
A list of LF-tags attached to the database.
lFTags
- A list of LF-tags attached to the database.public TaggedDatabase withLFTags(LFTagPair... lFTags)
A list of LF-tags attached to the database.
NOTE: This method appends the values to the existing list (if any). Use
setLFTags(java.util.Collection)
or withLFTags(java.util.Collection)
if you want to override the
existing values.
lFTags
- A list of LF-tags attached to the database.public TaggedDatabase withLFTags(Collection<LFTagPair> lFTags)
A list of LF-tags attached to the database.
lFTags
- A list of LF-tags attached to the database.public String toString()
toString
in class Object
Object.toString()
public TaggedDatabase clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.