@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsS3BucketNotificationConfigurationS3KeyFilter extends Object implements Serializable, Cloneable, StructuredPojo
Details for an Amazon S3 filter.
Constructor and Description |
---|
AwsS3BucketNotificationConfigurationS3KeyFilter() |
Modifier and Type | Method and Description |
---|---|
AwsS3BucketNotificationConfigurationS3KeyFilter |
clone() |
boolean |
equals(Object obj) |
List<AwsS3BucketNotificationConfigurationS3KeyFilterRule> |
getFilterRules()
The filter rules for the filter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFilterRules(Collection<AwsS3BucketNotificationConfigurationS3KeyFilterRule> filterRules)
The filter rules for the filter.
|
String |
toString()
Returns a string representation of this object.
|
AwsS3BucketNotificationConfigurationS3KeyFilter |
withFilterRules(AwsS3BucketNotificationConfigurationS3KeyFilterRule... filterRules)
The filter rules for the filter.
|
AwsS3BucketNotificationConfigurationS3KeyFilter |
withFilterRules(Collection<AwsS3BucketNotificationConfigurationS3KeyFilterRule> filterRules)
The filter rules for the filter.
|
public AwsS3BucketNotificationConfigurationS3KeyFilter()
public List<AwsS3BucketNotificationConfigurationS3KeyFilterRule> getFilterRules()
The filter rules for the filter.
public void setFilterRules(Collection<AwsS3BucketNotificationConfigurationS3KeyFilterRule> filterRules)
The filter rules for the filter.
filterRules
- The filter rules for the filter.public AwsS3BucketNotificationConfigurationS3KeyFilter withFilterRules(AwsS3BucketNotificationConfigurationS3KeyFilterRule... filterRules)
The filter rules for the filter.
NOTE: This method appends the values to the existing list (if any). Use
setFilterRules(java.util.Collection)
or withFilterRules(java.util.Collection)
if you want to
override the existing values.
filterRules
- The filter rules for the filter.public AwsS3BucketNotificationConfigurationS3KeyFilter withFilterRules(Collection<AwsS3BucketNotificationConfigurationS3KeyFilterRule> filterRules)
The filter rules for the filter.
filterRules
- The filter rules for the filter.public String toString()
toString
in class Object
Object.toString()
public AwsS3BucketNotificationConfigurationS3KeyFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.