@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()
TargetType
public void setTargetTypes(Collection<String> targetTypes)
targetTypes
- TargetType
public 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
- TargetType
public RulesSourceList withTargetTypes(Collection<String> targetTypes)
targetTypes
- TargetType
public RulesSourceList withTargetTypes(TargetType... targetTypes)
targetTypes
- TargetType
public 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.GeneratedRulesType
public String getGeneratedRulesType()
Whether you want to allow or deny access to the domains in your target list.
GeneratedRulesType
public 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.GeneratedRulesType
public 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.GeneratedRulesType
public String toString()
toString
in class Object
Object.toString()
public RulesSourceList clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.