@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)
Marshalls this structured data using the given
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.AwsS3BucketNotificationConfigurationS3KeyFilterRuleName
public String getName()
Indicates whether the filter is based on the prefix or suffix of the Amazon S3 key.
AwsS3BucketNotificationConfigurationS3KeyFilterRuleName
public 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.AwsS3BucketNotificationConfigurationS3KeyFilterRuleName
public 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.AwsS3BucketNotificationConfigurationS3KeyFilterRuleName
public 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 Object
Object.toString()
public AwsS3BucketNotificationConfigurationS3KeyFilterRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.