Class EgressFilter
- java.lang.Object
-
- software.amazon.awssdk.services.appmesh.model.EgressFilter
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EgressFilter.Builder,EgressFilter>
@Generated("software.amazon.awssdk:codegen") public final class EgressFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EgressFilter.Builder,EgressFilter>
An object that represents the egress filter rules for a service mesh.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEgressFilter.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EgressFilter.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends EgressFilter.Builder>serializableBuilderClass()EgressFilter.BuildertoBuilder()StringtoString()Returns a string representation of this object.EgressFilterTypetype()The egress filter type.StringtypeAsString()The egress filter type.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
type
public final 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.comfor Amazon Web Services API calls). You can set the egress filter type toALLOW_ALLto allow egress to any endpoint inside or outside of the service mesh.If the service returns an enum value that is not available in the current SDK version,
typewill returnEgressFilterType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- 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.comfor Amazon Web Services API calls). You can set the egress filter type toALLOW_ALLto allow egress to any endpoint inside or outside of the service mesh. - See Also:
EgressFilterType
-
typeAsString
public final String typeAsString()
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.comfor Amazon Web Services API calls). You can set the egress filter type toALLOW_ALLto allow egress to any endpoint inside or outside of the service mesh.If the service returns an enum value that is not available in the current SDK version,
typewill returnEgressFilterType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- 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.comfor Amazon Web Services API calls). You can set the egress filter type toALLOW_ALLto allow egress to any endpoint inside or outside of the service mesh. - See Also:
EgressFilterType
-
toBuilder
public EgressFilter.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EgressFilter.Builder,EgressFilter>
-
builder
public static EgressFilter.Builder builder()
-
serializableBuilderClass
public static Class<? extends EgressFilter.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-