@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleGroupSourceListDetails extends Object implements Serializable, Cloneable, StructuredPojo
Stateful inspection criteria for a domain list rule group.
Constructor and Description |
---|
RuleGroupSourceListDetails() |
Modifier and Type | Method and Description |
---|---|
RuleGroupSourceListDetails |
clone() |
boolean |
equals(Object obj) |
String |
getGeneratedRulesType()
Indicates whether to allow or deny access to the domains listed in
Targets . |
List<String> |
getTargets()
The domains that you want to inspect for in your traffic flows.
|
List<String> |
getTargetTypes()
The protocols that you want to inspect.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGeneratedRulesType(String generatedRulesType)
Indicates whether to allow or deny access to the domains listed in
Targets . |
void |
setTargets(Collection<String> targets)
The domains that you want to inspect for in your traffic flows.
|
void |
setTargetTypes(Collection<String> targetTypes)
The protocols that you want to inspect.
|
String |
toString()
Returns a string representation of this object.
|
RuleGroupSourceListDetails |
withGeneratedRulesType(String generatedRulesType)
Indicates whether to allow or deny access to the domains listed in
Targets . |
RuleGroupSourceListDetails |
withTargets(Collection<String> targets)
The domains that you want to inspect for in your traffic flows.
|
RuleGroupSourceListDetails |
withTargets(String... targets)
The domains that you want to inspect for in your traffic flows.
|
RuleGroupSourceListDetails |
withTargetTypes(Collection<String> targetTypes)
The protocols that you want to inspect.
|
RuleGroupSourceListDetails |
withTargetTypes(String... targetTypes)
The protocols that you want to inspect.
|
public void setGeneratedRulesType(String generatedRulesType)
Indicates whether to allow or deny access to the domains listed in Targets
.
generatedRulesType
- Indicates whether to allow or deny access to the domains listed in Targets
.public String getGeneratedRulesType()
Indicates whether to allow or deny access to the domains listed in Targets
.
Targets
.public RuleGroupSourceListDetails withGeneratedRulesType(String generatedRulesType)
Indicates whether to allow or deny access to the domains listed in Targets
.
generatedRulesType
- Indicates whether to allow or deny access to the domains listed in Targets
.public List<String> getTargetTypes()
The protocols that you want to inspect. Specify LS_SNI
for HTTPS. Specify HTTP_HOST
for
HTTP. You can specify either or both.
LS_SNI
for HTTPS. Specify
HTTP_HOST
for HTTP. You can specify either or both.public void setTargetTypes(Collection<String> targetTypes)
The protocols that you want to inspect. Specify LS_SNI
for HTTPS. Specify HTTP_HOST
for
HTTP. You can specify either or both.
targetTypes
- The protocols that you want to inspect. Specify LS_SNI
for HTTPS. Specify
HTTP_HOST
for HTTP. You can specify either or both.public RuleGroupSourceListDetails withTargetTypes(String... targetTypes)
The protocols that you want to inspect. Specify LS_SNI
for HTTPS. Specify HTTP_HOST
for
HTTP. You can specify either or both.
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
- The protocols that you want to inspect. Specify LS_SNI
for HTTPS. Specify
HTTP_HOST
for HTTP. You can specify either or both.public RuleGroupSourceListDetails withTargetTypes(Collection<String> targetTypes)
The protocols that you want to inspect. Specify LS_SNI
for HTTPS. Specify HTTP_HOST
for
HTTP. You can specify either or both.
targetTypes
- The protocols that you want to inspect. Specify LS_SNI
for HTTPS. Specify
HTTP_HOST
for HTTP. You can specify either or both.public List<String> getTargets()
The domains that you want to inspect for in your traffic flows. You can provide full domain names, or use the '.'
prefix as a wildcard. For example, .example.com
matches all domains that end with
example.com
.
.example.com
matches all domains that end with
example.com
.public void setTargets(Collection<String> targets)
The domains that you want to inspect for in your traffic flows. You can provide full domain names, or use the '.'
prefix as a wildcard. For example, .example.com
matches all domains that end with
example.com
.
targets
- The domains that you want to inspect for in your traffic flows. You can provide full domain names, or use
the '.' prefix as a wildcard. For example, .example.com
matches all domains that end with
example.com
.public RuleGroupSourceListDetails withTargets(String... targets)
The domains that you want to inspect for in your traffic flows. You can provide full domain names, or use the '.'
prefix as a wildcard. For example, .example.com
matches all domains that end with
example.com
.
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. You can provide full domain names, or use
the '.' prefix as a wildcard. For example, .example.com
matches all domains that end with
example.com
.public RuleGroupSourceListDetails withTargets(Collection<String> targets)
The domains that you want to inspect for in your traffic flows. You can provide full domain names, or use the '.'
prefix as a wildcard. For example, .example.com
matches all domains that end with
example.com
.
targets
- The domains that you want to inspect for in your traffic flows. You can provide full domain names, or use
the '.' prefix as a wildcard. For example, .example.com
matches all domains that end with
example.com
.public String toString()
toString
in class Object
Object.toString()
public RuleGroupSourceListDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.