@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) |
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.EgressFilterTypepublic 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.EgressFilterTypepublic 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.EgressFilterTypepublic 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.EgressFilterTypepublic String toString()
toString in class ObjectObject.toString()public EgressFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.