Class AwsS3BucketNotificationConfigurationS3KeyFilterRule
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsS3BucketNotificationConfigurationS3KeyFilterRule
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsS3BucketNotificationConfigurationS3KeyFilterRule.Builder,AwsS3BucketNotificationConfigurationS3KeyFilterRule>
@Generated("software.amazon.awssdk:codegen") public final class AwsS3BucketNotificationConfigurationS3KeyFilterRule extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsS3BucketNotificationConfigurationS3KeyFilterRule.Builder,AwsS3BucketNotificationConfigurationS3KeyFilterRule>
Details for a filter rule.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsS3BucketNotificationConfigurationS3KeyFilterRule.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsS3BucketNotificationConfigurationS3KeyFilterRule.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()AwsS3BucketNotificationConfigurationS3KeyFilterRuleNamename()Indicates whether the filter is based on the prefix or suffix of the Amazon S3 key.StringnameAsString()Indicates whether the filter is based on the prefix or suffix of the Amazon S3 key.List<SdkField<?>>sdkFields()static Class<? extends AwsS3BucketNotificationConfigurationS3KeyFilterRule.Builder>serializableBuilderClass()AwsS3BucketNotificationConfigurationS3KeyFilterRule.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringvalue()The filter value.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final AwsS3BucketNotificationConfigurationS3KeyFilterRuleName name()
Indicates whether the filter is based on the prefix or suffix of the Amazon S3 key.
If the service returns an enum value that is not available in the current SDK version,
namewill returnAwsS3BucketNotificationConfigurationS3KeyFilterRuleName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- Indicates whether the filter is based on the prefix or suffix of the Amazon S3 key.
- See Also:
AwsS3BucketNotificationConfigurationS3KeyFilterRuleName
-
nameAsString
public final String nameAsString()
Indicates whether the filter is based on the prefix or suffix of the Amazon S3 key.
If the service returns an enum value that is not available in the current SDK version,
namewill returnAwsS3BucketNotificationConfigurationS3KeyFilterRuleName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- Indicates whether the filter is based on the prefix or suffix of the Amazon S3 key.
- See Also:
AwsS3BucketNotificationConfigurationS3KeyFilterRuleName
-
value
public final String value()
The filter value.
- Returns:
- The filter value.
-
toBuilder
public AwsS3BucketNotificationConfigurationS3KeyFilterRule.Builder toBuilder()
-
builder
public static AwsS3BucketNotificationConfigurationS3KeyFilterRule.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsS3BucketNotificationConfigurationS3KeyFilterRule.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-