@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MaintenanceWindowFilter extends Object implements Serializable, Cloneable, StructuredPojo
Filter used in the request.
Constructor and Description |
---|
MaintenanceWindowFilter() |
Modifier and Type | Method and Description |
---|---|
MaintenanceWindowFilter |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The name of the filter.
|
List<String> |
getValues()
The filter values.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key)
The name of the filter.
|
void |
setValues(Collection<String> values)
The filter values.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
MaintenanceWindowFilter |
withKey(String key)
The name of the filter.
|
MaintenanceWindowFilter |
withValues(Collection<String> values)
The filter values.
|
MaintenanceWindowFilter |
withValues(String... values)
The filter values.
|
public void setKey(String key)
The name of the filter.
key
- The name of the filter.public String getKey()
The name of the filter.
public MaintenanceWindowFilter withKey(String key)
The name of the filter.
key
- The name of the filter.public void setValues(Collection<String> values)
The filter values.
values
- The filter values.public MaintenanceWindowFilter withValues(String... values)
The filter values.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- The filter values.public MaintenanceWindowFilter withValues(Collection<String> values)
The filter values.
values
- The filter values.public String toString()
toString
in class Object
Object.toString()
public MaintenanceWindowFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.