@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RulesSourceList extends Object implements Serializable, Cloneable, StructuredPojo
Stateful inspection criteria for a domain list rule group.
| Constructor and Description |
|---|
RulesSourceList() |
| Modifier and Type | Method and Description |
|---|---|
RulesSourceList |
clone() |
boolean |
equals(Object obj) |
String |
getGeneratedRulesType()
Whether you want to allow or deny access to the domains in your target list.
|
List<String> |
getTargets()
The domains that you want to inspect for in your traffic flows.
|
List<String> |
getTargetTypes()
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setGeneratedRulesType(String generatedRulesType)
Whether you want to allow or deny access to the domains in your target list.
|
void |
setTargets(Collection<String> targets)
The domains that you want to inspect for in your traffic flows.
|
void |
setTargetTypes(Collection<String> targetTypes)
|
String |
toString()
Returns a string representation of this object.
|
RulesSourceList |
withGeneratedRulesType(GeneratedRulesType generatedRulesType)
Whether you want to allow or deny access to the domains in your target list.
|
RulesSourceList |
withGeneratedRulesType(String generatedRulesType)
Whether you want to allow or deny access to the domains in your target list.
|
RulesSourceList |
withTargets(Collection<String> targets)
The domains that you want to inspect for in your traffic flows.
|
RulesSourceList |
withTargets(String... targets)
The domains that you want to inspect for in your traffic flows.
|
RulesSourceList |
withTargetTypes(Collection<String> targetTypes)
|
RulesSourceList |
withTargetTypes(String... targetTypes)
|
RulesSourceList |
withTargetTypes(TargetType... targetTypes)
|
public List<String> getTargets()
The domains that you want to inspect for in your traffic flows. To provide multiple domains, separate them with commas.
public void setTargets(Collection<String> targets)
The domains that you want to inspect for in your traffic flows. To provide multiple domains, separate them with commas.
targets - The domains that you want to inspect for in your traffic flows. To provide multiple domains, separate them
with commas.public RulesSourceList withTargets(String... targets)
The domains that you want to inspect for in your traffic flows. To provide multiple domains, separate them with commas.
NOTE: This method appends the values to the existing list (if any). Use
setTargets(java.util.Collection) or withTargets(java.util.Collection) if you want to override
the existing values.
targets - The domains that you want to inspect for in your traffic flows. To provide multiple domains, separate them
with commas.public RulesSourceList withTargets(Collection<String> targets)
The domains that you want to inspect for in your traffic flows. To provide multiple domains, separate them with commas.
targets - The domains that you want to inspect for in your traffic flows. To provide multiple domains, separate them
with commas.public List<String> getTargetTypes()
TargetTypepublic void setTargetTypes(Collection<String> targetTypes)
targetTypes - TargetTypepublic RulesSourceList withTargetTypes(String... targetTypes)
NOTE: This method appends the values to the existing list (if any). Use
setTargetTypes(java.util.Collection) or withTargetTypes(java.util.Collection) if you want to
override the existing values.
targetTypes - TargetTypepublic RulesSourceList withTargetTypes(Collection<String> targetTypes)
targetTypes - TargetTypepublic RulesSourceList withTargetTypes(TargetType... targetTypes)
targetTypes - TargetTypepublic void setGeneratedRulesType(String generatedRulesType)
Whether you want to allow or deny access to the domains in your target list.
generatedRulesType - Whether you want to allow or deny access to the domains in your target list.GeneratedRulesTypepublic String getGeneratedRulesType()
Whether you want to allow or deny access to the domains in your target list.
GeneratedRulesTypepublic RulesSourceList withGeneratedRulesType(String generatedRulesType)
Whether you want to allow or deny access to the domains in your target list.
generatedRulesType - Whether you want to allow or deny access to the domains in your target list.GeneratedRulesTypepublic RulesSourceList withGeneratedRulesType(GeneratedRulesType generatedRulesType)
Whether you want to allow or deny access to the domains in your target list.
generatedRulesType - Whether you want to allow or deny access to the domains in your target list.GeneratedRulesTypepublic String toString()
toString in class ObjectObject.toString()public RulesSourceList clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.