public static enum S3KeyFilter.FilterRuleName extends Enum<S3KeyFilter.FilterRuleName>
FilterRule
for an S3KeyFilter
Modifier and Type | Method and Description |
---|---|
FilterRule |
newRule()
Convenience factory method to create a new
FilterRule with name initialized to
this S3KeyFilter.FilterRuleName |
FilterRule |
newRule(String value)
Convenience factory method to create a new
FilterRule with name initialized to
this S3KeyFilter.FilterRuleName and value initialized to value |
static S3KeyFilter.FilterRuleName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static S3KeyFilter.FilterRuleName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final S3KeyFilter.FilterRuleName Prefix
public static final S3KeyFilter.FilterRuleName Suffix
public static S3KeyFilter.FilterRuleName[] values()
for (S3KeyFilter.FilterRuleName c : S3KeyFilter.FilterRuleName.values()) System.out.println(c);
public static S3KeyFilter.FilterRuleName valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic FilterRule newRule()
FilterRule
with name initialized to
this S3KeyFilter.FilterRuleName
FilterRule prefixRule = FilterRuleName.Prefix.newRule().withValue("prefix-value");
FilterRule
with name initialized to this S3KeyFilter.FilterRuleName
public FilterRule newRule(String value)
FilterRule
with name initialized to
this S3KeyFilter.FilterRuleName
and value initialized to value
FilterRule prefixRule = FilterRuleName.Prefix.newRule("prefix-value");
FilterRule
with name initialized to this S3KeyFilter.FilterRuleName
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.