Class DocumentFilter
- java.lang.Object
-
- com.amazonaws.services.simplesystemsmanagement.model.DocumentFilter
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DocumentFilter extends Object implements Serializable, Cloneable
Describes a filter.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DocumentFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentFilter
clone()
boolean
equals(Object obj)
String
getKey()
The name of the filter.String
getValue()
The value of the filter.int
hashCode()
void
setKey(DocumentFilterKey key)
The name of the filter.void
setKey(String key)
The name of the filter.void
setValue(String value)
The value of the filter.String
toString()
Returns a string representation of this object; useful for testing and debugging.DocumentFilter
withKey(DocumentFilterKey key)
The name of the filter.DocumentFilter
withKey(String key)
The name of the filter.DocumentFilter
withValue(String value)
The value of the filter.
-
-
-
Method Detail
-
setKey
public void setKey(String key)
The name of the filter.
- Parameters:
key
- The name of the filter.- See Also:
DocumentFilterKey
-
getKey
public String getKey()
The name of the filter.
- Returns:
- The name of the filter.
- See Also:
DocumentFilterKey
-
withKey
public DocumentFilter withKey(String key)
The name of the filter.
- Parameters:
key
- The name of the filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DocumentFilterKey
-
setKey
public void setKey(DocumentFilterKey key)
The name of the filter.
- Parameters:
key
- The name of the filter.- See Also:
DocumentFilterKey
-
withKey
public DocumentFilter withKey(DocumentFilterKey key)
The name of the filter.
- Parameters:
key
- The name of the filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DocumentFilterKey
-
setValue
public void setValue(String value)
The value of the filter.
- Parameters:
value
- The value of the filter.
-
getValue
public String getValue()
The value of the filter.
- Returns:
- The value of the filter.
-
withValue
public DocumentFilter withValue(String value)
The value of the filter.
- Parameters:
value
- The value of the filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DocumentFilter clone()
-
-