@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleCondition extends Object implements Serializable, Cloneable
Information about a condition for a rule.
Constructor and Description |
---|
RuleCondition() |
Modifier and Type | Method and Description |
---|---|
RuleCondition |
clone() |
boolean |
equals(Object obj) |
String |
getField()
The only possible value is
path-pattern . |
List<String> |
getValues()
The path pattern.
|
int |
hashCode() |
void |
setField(String field)
The only possible value is
path-pattern . |
void |
setValues(Collection<String> values)
The path pattern.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RuleCondition |
withField(String field)
The only possible value is
path-pattern . |
RuleCondition |
withValues(Collection<String> values)
The path pattern.
|
RuleCondition |
withValues(String... values)
The path pattern.
|
public void setField(String field)
The only possible value is path-pattern
.
field
- The only possible value is path-pattern
.public String getField()
The only possible value is path-pattern
.
path-pattern
.public RuleCondition withField(String field)
The only possible value is path-pattern
.
field
- The only possible value is path-pattern
.public List<String> getValues()
The path pattern. You can specify a single path pattern.
A path pattern is case sensitive, can be up to 128 characters in length, and can contain any of the following characters. Note that you can include up to three wildcard characters in a path pattern.
A-Z, a-z, 0-9
_ - . $ / ~ " ' @ : +
& (using &)
* (matches 0 or more characters)
? (matches exactly 1 character)
A path pattern is case sensitive, can be up to 128 characters in length, and can contain any of the following characters. Note that you can include up to three wildcard characters in a path pattern.
A-Z, a-z, 0-9
_ - . $ / ~ " ' @ : +
& (using &)
(matches 0 or more characters)
? (matches exactly 1 character)
public void setValues(Collection<String> values)
The path pattern. You can specify a single path pattern.
A path pattern is case sensitive, can be up to 128 characters in length, and can contain any of the following characters. Note that you can include up to three wildcard characters in a path pattern.
A-Z, a-z, 0-9
_ - . $ / ~ " ' @ : +
& (using &)
* (matches 0 or more characters)
? (matches exactly 1 character)
values
- The path pattern. You can specify a single path pattern.
A path pattern is case sensitive, can be up to 128 characters in length, and can contain any of the following characters. Note that you can include up to three wildcard characters in a path pattern.
A-Z, a-z, 0-9
_ - . $ / ~ " ' @ : +
& (using &)
(matches 0 or more characters)
? (matches exactly 1 character)
public RuleCondition withValues(String... values)
The path pattern. You can specify a single path pattern.
A path pattern is case sensitive, can be up to 128 characters in length, and can contain any of the following characters. Note that you can include up to three wildcard characters in a path pattern.
A-Z, a-z, 0-9
_ - . $ / ~ " ' @ : +
& (using &)
* (matches 0 or more characters)
? (matches exactly 1 character)
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- The path pattern. You can specify a single path pattern.
A path pattern is case sensitive, can be up to 128 characters in length, and can contain any of the following characters. Note that you can include up to three wildcard characters in a path pattern.
A-Z, a-z, 0-9
_ - . $ / ~ " ' @ : +
& (using &)
(matches 0 or more characters)
? (matches exactly 1 character)
public RuleCondition withValues(Collection<String> values)
The path pattern. You can specify a single path pattern.
A path pattern is case sensitive, can be up to 128 characters in length, and can contain any of the following characters. Note that you can include up to three wildcard characters in a path pattern.
A-Z, a-z, 0-9
_ - . $ / ~ " ' @ : +
& (using &)
* (matches 0 or more characters)
? (matches exactly 1 character)
values
- The path pattern. You can specify a single path pattern.
A path pattern is case sensitive, can be up to 128 characters in length, and can contain any of the following characters. Note that you can include up to three wildcard characters in a path pattern.
A-Z, a-z, 0-9
_ - . $ / ~ " ' @ : +
& (using &)
(matches 0 or more characters)
? (matches exactly 1 character)
public String toString()
toString
in class Object
Object.toString()
public RuleCondition clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.