@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DatabaseLFTagPolicy extends Object implements Serializable, Cloneable, StructuredPojo
The LF-tag policy for database resources.
Constructor and Description |
---|
DatabaseLFTagPolicy() |
Modifier and Type | Method and Description |
---|---|
DatabaseLFTagPolicy |
clone() |
boolean |
equals(Object obj) |
List<LFTag> |
getExpression()
A list of LF-tag conditions that apply to database resources.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setExpression(Collection<LFTag> expression)
A list of LF-tag conditions that apply to database resources.
|
String |
toString()
Returns a string representation of this object.
|
DatabaseLFTagPolicy |
withExpression(Collection<LFTag> expression)
A list of LF-tag conditions that apply to database resources.
|
DatabaseLFTagPolicy |
withExpression(LFTag... expression)
A list of LF-tag conditions that apply to database resources.
|
public List<LFTag> getExpression()
A list of LF-tag conditions that apply to database resources.
public void setExpression(Collection<LFTag> expression)
A list of LF-tag conditions that apply to database resources.
expression
- A list of LF-tag conditions that apply to database resources.public DatabaseLFTagPolicy withExpression(LFTag... expression)
A list of LF-tag conditions that apply to database resources.
NOTE: This method appends the values to the existing list (if any). Use
setExpression(java.util.Collection)
or withExpression(java.util.Collection)
if you want to
override the existing values.
expression
- A list of LF-tag conditions that apply to database resources.public DatabaseLFTagPolicy withExpression(Collection<LFTag> expression)
A list of LF-tag conditions that apply to database resources.
expression
- A list of LF-tag conditions that apply to database resources.public String toString()
toString
in class Object
Object.toString()
public DatabaseLFTagPolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.