@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EgressFilter extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the egress filter rules for a service mesh.
Constructor and Description |
---|
EgressFilter() |
Modifier and Type | Method and Description |
---|---|
EgressFilter |
clone() |
boolean |
equals(Object obj) |
String |
getType()
The egress filter type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setType(String type)
The egress filter type.
|
String |
toString()
Returns a string representation of this object.
|
EgressFilter |
withType(EgressFilterType type)
The egress filter type.
|
EgressFilter |
withType(String type)
The egress filter type.
|
public void setType(String type)
The egress filter type. By default, the type is DROP_ALL
, which allows egress only from virtual
nodes to other defined resources in the service mesh (and any traffic to *.amazonaws.com
for Amazon
Web Services API calls). You can set the egress filter type to ALLOW_ALL
to allow egress to any
endpoint inside or outside of the service mesh.
type
- The egress filter type. By default, the type is DROP_ALL
, which allows egress only from
virtual nodes to other defined resources in the service mesh (and any traffic to
*.amazonaws.com
for Amazon Web Services API calls). You can set the egress filter type to
ALLOW_ALL
to allow egress to any endpoint inside or outside of the service mesh.EgressFilterType
public String getType()
The egress filter type. By default, the type is DROP_ALL
, which allows egress only from virtual
nodes to other defined resources in the service mesh (and any traffic to *.amazonaws.com
for Amazon
Web Services API calls). You can set the egress filter type to ALLOW_ALL
to allow egress to any
endpoint inside or outside of the service mesh.
DROP_ALL
, which allows egress only from
virtual nodes to other defined resources in the service mesh (and any traffic to
*.amazonaws.com
for Amazon Web Services API calls). You can set the egress filter type to
ALLOW_ALL
to allow egress to any endpoint inside or outside of the service mesh.EgressFilterType
public EgressFilter withType(String type)
The egress filter type. By default, the type is DROP_ALL
, which allows egress only from virtual
nodes to other defined resources in the service mesh (and any traffic to *.amazonaws.com
for Amazon
Web Services API calls). You can set the egress filter type to ALLOW_ALL
to allow egress to any
endpoint inside or outside of the service mesh.
type
- The egress filter type. By default, the type is DROP_ALL
, which allows egress only from
virtual nodes to other defined resources in the service mesh (and any traffic to
*.amazonaws.com
for Amazon Web Services API calls). You can set the egress filter type to
ALLOW_ALL
to allow egress to any endpoint inside or outside of the service mesh.EgressFilterType
public EgressFilter withType(EgressFilterType type)
The egress filter type. By default, the type is DROP_ALL
, which allows egress only from virtual
nodes to other defined resources in the service mesh (and any traffic to *.amazonaws.com
for Amazon
Web Services API calls). You can set the egress filter type to ALLOW_ALL
to allow egress to any
endpoint inside or outside of the service mesh.
type
- The egress filter type. By default, the type is DROP_ALL
, which allows egress only from
virtual nodes to other defined resources in the service mesh (and any traffic to
*.amazonaws.com
for Amazon Web Services API calls). You can set the egress filter type to
ALLOW_ALL
to allow egress to any endpoint inside or outside of the service mesh.EgressFilterType
public String toString()
toString
in class Object
Object.toString()
public EgressFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.