@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TrafficMirrorFilter extends Object implements Serializable, Cloneable
Describes the Traffic Mirror filter.
Constructor and Description |
---|
TrafficMirrorFilter() |
Modifier and Type | Method and Description |
---|---|
TrafficMirrorFilter |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description of the Traffic Mirror filter.
|
List<TrafficMirrorFilterRule> |
getEgressFilterRules()
Information about the egress rules that are associated with the Traffic Mirror filter.
|
List<TrafficMirrorFilterRule> |
getIngressFilterRules()
Information about the ingress rules that are associated with the Traffic Mirror filter.
|
List<String> |
getNetworkServices()
The network service traffic that is associated with the Traffic Mirror filter.
|
List<Tag> |
getTags()
The tags assigned to the Traffic Mirror filter.
|
String |
getTrafficMirrorFilterId()
The ID of the Traffic Mirror filter.
|
int |
hashCode() |
void |
setDescription(String description)
The description of the Traffic Mirror filter.
|
void |
setEgressFilterRules(Collection<TrafficMirrorFilterRule> egressFilterRules)
Information about the egress rules that are associated with the Traffic Mirror filter.
|
void |
setIngressFilterRules(Collection<TrafficMirrorFilterRule> ingressFilterRules)
Information about the ingress rules that are associated with the Traffic Mirror filter.
|
void |
setNetworkServices(Collection<String> networkServices)
The network service traffic that is associated with the Traffic Mirror filter.
|
void |
setTags(Collection<Tag> tags)
The tags assigned to the Traffic Mirror filter.
|
void |
setTrafficMirrorFilterId(String trafficMirrorFilterId)
The ID of the Traffic Mirror filter.
|
String |
toString()
Returns a string representation of this object.
|
TrafficMirrorFilter |
withDescription(String description)
The description of the Traffic Mirror filter.
|
TrafficMirrorFilter |
withEgressFilterRules(Collection<TrafficMirrorFilterRule> egressFilterRules)
Information about the egress rules that are associated with the Traffic Mirror filter.
|
TrafficMirrorFilter |
withEgressFilterRules(TrafficMirrorFilterRule... egressFilterRules)
Information about the egress rules that are associated with the Traffic Mirror filter.
|
TrafficMirrorFilter |
withIngressFilterRules(Collection<TrafficMirrorFilterRule> ingressFilterRules)
Information about the ingress rules that are associated with the Traffic Mirror filter.
|
TrafficMirrorFilter |
withIngressFilterRules(TrafficMirrorFilterRule... ingressFilterRules)
Information about the ingress rules that are associated with the Traffic Mirror filter.
|
TrafficMirrorFilter |
withNetworkServices(Collection<String> networkServices)
The network service traffic that is associated with the Traffic Mirror filter.
|
TrafficMirrorFilter |
withNetworkServices(String... networkServices)
The network service traffic that is associated with the Traffic Mirror filter.
|
TrafficMirrorFilter |
withNetworkServices(TrafficMirrorNetworkService... networkServices)
The network service traffic that is associated with the Traffic Mirror filter.
|
TrafficMirrorFilter |
withTags(Collection<Tag> tags)
The tags assigned to the Traffic Mirror filter.
|
TrafficMirrorFilter |
withTags(Tag... tags)
The tags assigned to the Traffic Mirror filter.
|
TrafficMirrorFilter |
withTrafficMirrorFilterId(String trafficMirrorFilterId)
The ID of the Traffic Mirror filter.
|
public void setTrafficMirrorFilterId(String trafficMirrorFilterId)
The ID of the Traffic Mirror filter.
trafficMirrorFilterId
- The ID of the Traffic Mirror filter.public String getTrafficMirrorFilterId()
The ID of the Traffic Mirror filter.
public TrafficMirrorFilter withTrafficMirrorFilterId(String trafficMirrorFilterId)
The ID of the Traffic Mirror filter.
trafficMirrorFilterId
- The ID of the Traffic Mirror filter.public List<TrafficMirrorFilterRule> getIngressFilterRules()
Information about the ingress rules that are associated with the Traffic Mirror filter.
public void setIngressFilterRules(Collection<TrafficMirrorFilterRule> ingressFilterRules)
Information about the ingress rules that are associated with the Traffic Mirror filter.
ingressFilterRules
- Information about the ingress rules that are associated with the Traffic Mirror filter.public TrafficMirrorFilter withIngressFilterRules(TrafficMirrorFilterRule... ingressFilterRules)
Information about the ingress rules that are associated with the Traffic Mirror filter.
NOTE: This method appends the values to the existing list (if any). Use
setIngressFilterRules(java.util.Collection)
or withIngressFilterRules(java.util.Collection)
if
you want to override the existing values.
ingressFilterRules
- Information about the ingress rules that are associated with the Traffic Mirror filter.public TrafficMirrorFilter withIngressFilterRules(Collection<TrafficMirrorFilterRule> ingressFilterRules)
Information about the ingress rules that are associated with the Traffic Mirror filter.
ingressFilterRules
- Information about the ingress rules that are associated with the Traffic Mirror filter.public List<TrafficMirrorFilterRule> getEgressFilterRules()
Information about the egress rules that are associated with the Traffic Mirror filter.
public void setEgressFilterRules(Collection<TrafficMirrorFilterRule> egressFilterRules)
Information about the egress rules that are associated with the Traffic Mirror filter.
egressFilterRules
- Information about the egress rules that are associated with the Traffic Mirror filter.public TrafficMirrorFilter withEgressFilterRules(TrafficMirrorFilterRule... egressFilterRules)
Information about the egress rules that are associated with the Traffic Mirror filter.
NOTE: This method appends the values to the existing list (if any). Use
setEgressFilterRules(java.util.Collection)
or withEgressFilterRules(java.util.Collection)
if
you want to override the existing values.
egressFilterRules
- Information about the egress rules that are associated with the Traffic Mirror filter.public TrafficMirrorFilter withEgressFilterRules(Collection<TrafficMirrorFilterRule> egressFilterRules)
Information about the egress rules that are associated with the Traffic Mirror filter.
egressFilterRules
- Information about the egress rules that are associated with the Traffic Mirror filter.public List<String> getNetworkServices()
The network service traffic that is associated with the Traffic Mirror filter.
TrafficMirrorNetworkService
public void setNetworkServices(Collection<String> networkServices)
The network service traffic that is associated with the Traffic Mirror filter.
networkServices
- The network service traffic that is associated with the Traffic Mirror filter.TrafficMirrorNetworkService
public TrafficMirrorFilter withNetworkServices(String... networkServices)
The network service traffic that is associated with the Traffic Mirror filter.
NOTE: This method appends the values to the existing list (if any). Use
setNetworkServices(java.util.Collection)
or withNetworkServices(java.util.Collection)
if you
want to override the existing values.
networkServices
- The network service traffic that is associated with the Traffic Mirror filter.TrafficMirrorNetworkService
public TrafficMirrorFilter withNetworkServices(Collection<String> networkServices)
The network service traffic that is associated with the Traffic Mirror filter.
networkServices
- The network service traffic that is associated with the Traffic Mirror filter.TrafficMirrorNetworkService
public TrafficMirrorFilter withNetworkServices(TrafficMirrorNetworkService... networkServices)
The network service traffic that is associated with the Traffic Mirror filter.
networkServices
- The network service traffic that is associated with the Traffic Mirror filter.TrafficMirrorNetworkService
public void setDescription(String description)
The description of the Traffic Mirror filter.
description
- The description of the Traffic Mirror filter.public String getDescription()
The description of the Traffic Mirror filter.
public TrafficMirrorFilter withDescription(String description)
The description of the Traffic Mirror filter.
description
- The description of the Traffic Mirror filter.public List<Tag> getTags()
The tags assigned to the Traffic Mirror filter.
public void setTags(Collection<Tag> tags)
The tags assigned to the Traffic Mirror filter.
tags
- The tags assigned to the Traffic Mirror filter.public TrafficMirrorFilter withTags(Tag... tags)
The tags assigned to the Traffic Mirror filter.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags assigned to the Traffic Mirror filter.public TrafficMirrorFilter withTags(Collection<Tag> tags)
The tags assigned to the Traffic Mirror filter.
tags
- The tags assigned to the Traffic Mirror filter.public String toString()
toString
in class Object
Object.toString()
public TrafficMirrorFilter clone()