@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HostHeaderConditionConfig extends Object implements Serializable, Cloneable
Information about a host header condition.
Constructor and Description |
---|
HostHeaderConditionConfig() |
Modifier and Type | Method and Description |
---|---|
HostHeaderConditionConfig |
clone() |
boolean |
equals(Object obj) |
List<String> |
getValues()
The host names.
|
int |
hashCode() |
void |
setValues(Collection<String> values)
The host names.
|
String |
toString()
Returns a string representation of this object.
|
HostHeaderConditionConfig |
withValues(Collection<String> values)
The host names.
|
HostHeaderConditionConfig |
withValues(String... values)
The host names.
|
public List<String> getValues()
The host names. The maximum size of each name is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.
If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.
public void setValues(Collection<String> values)
The host names. The maximum size of each name is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.
values
- The host names. The maximum size of each name is 128 characters. The comparison is case insensitive. The
following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1
character).
If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.
public HostHeaderConditionConfig withValues(String... values)
The host names. The maximum size of each name is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.
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 host names. The maximum size of each name is 128 characters. The comparison is case insensitive. The
following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1
character).
If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.
public HostHeaderConditionConfig withValues(Collection<String> values)
The host names. The maximum size of each name is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.
values
- The host names. The maximum size of each name is 128 characters. The comparison is case insensitive. The
following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1
character).
If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.
public String toString()
toString
in class Object
Object.toString()
public HostHeaderConditionConfig clone()