@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsS3BucketNotificationConfigurationS3KeyFilterRule extends Object implements Serializable, Cloneable, StructuredPojo
Details for a filter rule.
| Constructor and Description |
|---|
AwsS3BucketNotificationConfigurationS3KeyFilterRule() |
| Modifier and Type | Method and Description |
|---|---|
AwsS3BucketNotificationConfigurationS3KeyFilterRule |
clone() |
boolean |
equals(Object obj) |
String |
getName()
Indicates whether the filter is based on the prefix or suffix of the Amazon S3 key.
|
String |
getValue()
The filter value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setName(String name)
Indicates whether the filter is based on the prefix or suffix of the Amazon S3 key.
|
void |
setValue(String value)
The filter value.
|
String |
toString()
Returns a string representation of this object.
|
AwsS3BucketNotificationConfigurationS3KeyFilterRule |
withName(AwsS3BucketNotificationConfigurationS3KeyFilterRuleName name)
Indicates whether the filter is based on the prefix or suffix of the Amazon S3 key.
|
AwsS3BucketNotificationConfigurationS3KeyFilterRule |
withName(String name)
Indicates whether the filter is based on the prefix or suffix of the Amazon S3 key.
|
AwsS3BucketNotificationConfigurationS3KeyFilterRule |
withValue(String value)
The filter value.
|
public AwsS3BucketNotificationConfigurationS3KeyFilterRule()
public void setName(String name)
Indicates whether the filter is based on the prefix or suffix of the Amazon S3 key.
name - Indicates whether the filter is based on the prefix or suffix of the Amazon S3 key.AwsS3BucketNotificationConfigurationS3KeyFilterRuleNamepublic String getName()
Indicates whether the filter is based on the prefix or suffix of the Amazon S3 key.
AwsS3BucketNotificationConfigurationS3KeyFilterRuleNamepublic AwsS3BucketNotificationConfigurationS3KeyFilterRule withName(String name)
Indicates whether the filter is based on the prefix or suffix of the Amazon S3 key.
name - Indicates whether the filter is based on the prefix or suffix of the Amazon S3 key.AwsS3BucketNotificationConfigurationS3KeyFilterRuleNamepublic AwsS3BucketNotificationConfigurationS3KeyFilterRule withName(AwsS3BucketNotificationConfigurationS3KeyFilterRuleName name)
Indicates whether the filter is based on the prefix or suffix of the Amazon S3 key.
name - Indicates whether the filter is based on the prefix or suffix of the Amazon S3 key.AwsS3BucketNotificationConfigurationS3KeyFilterRuleNamepublic void setValue(String value)
The filter value.
value - The filter value.public String getValue()
The filter value.
public AwsS3BucketNotificationConfigurationS3KeyFilterRule withValue(String value)
The filter value.
value - The filter value.public String toString()
toString in class ObjectObject.toString()public AwsS3BucketNotificationConfigurationS3KeyFilterRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.