Interface ProxyConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ProxyConfiguration.Builder,ProxyConfiguration>,SdkBuilder<ProxyConfiguration.Builder,ProxyConfiguration>,SdkPojo
- Enclosing class:
- ProxyConfiguration
public static interface ProxyConfiguration.Builder extends SdkPojo, CopyableBuilder<ProxyConfiguration.Builder,ProxyConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProxyConfiguration.BuildercontainerName(String containerName)The name of the container that will serve as the App Mesh proxy.ProxyConfiguration.Builderproperties(Collection<KeyValuePair> properties)The set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified as key-value pairs.ProxyConfiguration.Builderproperties(Consumer<KeyValuePair.Builder>... properties)The set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified as key-value pairs.ProxyConfiguration.Builderproperties(KeyValuePair... properties)The set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified as key-value pairs.ProxyConfiguration.Buildertype(String type)The proxy type.ProxyConfiguration.Buildertype(ProxyConfigurationType type)The proxy type.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
type
ProxyConfiguration.Builder type(String type)
The proxy type. The only supported value is
APPMESH.- Parameters:
type- The proxy type. The only supported value isAPPMESH.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ProxyConfigurationType,ProxyConfigurationType
-
type
ProxyConfiguration.Builder type(ProxyConfigurationType type)
The proxy type. The only supported value is
APPMESH.- Parameters:
type- The proxy type. The only supported value isAPPMESH.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ProxyConfigurationType,ProxyConfigurationType
-
containerName
ProxyConfiguration.Builder containerName(String containerName)
The name of the container that will serve as the App Mesh proxy.
- Parameters:
containerName- The name of the container that will serve as the App Mesh proxy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
ProxyConfiguration.Builder properties(Collection<KeyValuePair> properties)
The set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified as key-value pairs.
-
IgnoredUID- (Required) The user ID (UID) of the proxy container as defined by theuserparameter in a container definition. This is used to ensure the proxy ignores its own traffic. IfIgnoredGIDis specified, this field can be empty. -
IgnoredGID- (Required) The group ID (GID) of the proxy container as defined by theuserparameter in a container definition. This is used to ensure the proxy ignores its own traffic. IfIgnoredUIDis specified, this field can be empty. -
AppPorts- (Required) The list of ports that the application uses. Network traffic to these ports is forwarded to theProxyIngressPortandProxyEgressPort. -
ProxyIngressPort- (Required) Specifies the port that incoming traffic to theAppPortsis directed to. -
ProxyEgressPort- (Required) Specifies the port that outgoing traffic from theAppPortsis directed to. -
EgressIgnoredPorts- (Required) The egress traffic going to the specified ports is ignored and not redirected to theProxyEgressPort. It can be an empty list. -
EgressIgnoredIPs- (Required) The egress traffic going to the specified IP addresses is ignored and not redirected to theProxyEgressPort. It can be an empty list.
- Parameters:
properties- The set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified as key-value pairs.-
IgnoredUID- (Required) The user ID (UID) of the proxy container as defined by theuserparameter in a container definition. This is used to ensure the proxy ignores its own traffic. IfIgnoredGIDis specified, this field can be empty. -
IgnoredGID- (Required) The group ID (GID) of the proxy container as defined by theuserparameter in a container definition. This is used to ensure the proxy ignores its own traffic. IfIgnoredUIDis specified, this field can be empty. -
AppPorts- (Required) The list of ports that the application uses. Network traffic to these ports is forwarded to theProxyIngressPortandProxyEgressPort. -
ProxyIngressPort- (Required) Specifies the port that incoming traffic to theAppPortsis directed to. -
ProxyEgressPort- (Required) Specifies the port that outgoing traffic from theAppPortsis directed to. -
EgressIgnoredPorts- (Required) The egress traffic going to the specified ports is ignored and not redirected to theProxyEgressPort. It can be an empty list. -
EgressIgnoredIPs- (Required) The egress traffic going to the specified IP addresses is ignored and not redirected to theProxyEgressPort. It can be an empty list.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
properties
ProxyConfiguration.Builder properties(KeyValuePair... properties)
The set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified as key-value pairs.
-
IgnoredUID- (Required) The user ID (UID) of the proxy container as defined by theuserparameter in a container definition. This is used to ensure the proxy ignores its own traffic. IfIgnoredGIDis specified, this field can be empty. -
IgnoredGID- (Required) The group ID (GID) of the proxy container as defined by theuserparameter in a container definition. This is used to ensure the proxy ignores its own traffic. IfIgnoredUIDis specified, this field can be empty. -
AppPorts- (Required) The list of ports that the application uses. Network traffic to these ports is forwarded to theProxyIngressPortandProxyEgressPort. -
ProxyIngressPort- (Required) Specifies the port that incoming traffic to theAppPortsis directed to. -
ProxyEgressPort- (Required) Specifies the port that outgoing traffic from theAppPortsis directed to. -
EgressIgnoredPorts- (Required) The egress traffic going to the specified ports is ignored and not redirected to theProxyEgressPort. It can be an empty list. -
EgressIgnoredIPs- (Required) The egress traffic going to the specified IP addresses is ignored and not redirected to theProxyEgressPort. It can be an empty list.
- Parameters:
properties- The set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified as key-value pairs.-
IgnoredUID- (Required) The user ID (UID) of the proxy container as defined by theuserparameter in a container definition. This is used to ensure the proxy ignores its own traffic. IfIgnoredGIDis specified, this field can be empty. -
IgnoredGID- (Required) The group ID (GID) of the proxy container as defined by theuserparameter in a container definition. This is used to ensure the proxy ignores its own traffic. IfIgnoredUIDis specified, this field can be empty. -
AppPorts- (Required) The list of ports that the application uses. Network traffic to these ports is forwarded to theProxyIngressPortandProxyEgressPort. -
ProxyIngressPort- (Required) Specifies the port that incoming traffic to theAppPortsis directed to. -
ProxyEgressPort- (Required) Specifies the port that outgoing traffic from theAppPortsis directed to. -
EgressIgnoredPorts- (Required) The egress traffic going to the specified ports is ignored and not redirected to theProxyEgressPort. It can be an empty list. -
EgressIgnoredIPs- (Required) The egress traffic going to the specified IP addresses is ignored and not redirected to theProxyEgressPort. It can be an empty list.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
properties
ProxyConfiguration.Builder properties(Consumer<KeyValuePair.Builder>... properties)
The set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified as key-value pairs.
-
IgnoredUID- (Required) The user ID (UID) of the proxy container as defined by theuserparameter in a container definition. This is used to ensure the proxy ignores its own traffic. IfIgnoredGIDis specified, this field can be empty. -
IgnoredGID- (Required) The group ID (GID) of the proxy container as defined by theuserparameter in a container definition. This is used to ensure the proxy ignores its own traffic. IfIgnoredUIDis specified, this field can be empty. -
AppPorts- (Required) The list of ports that the application uses. Network traffic to these ports is forwarded to theProxyIngressPortandProxyEgressPort. -
ProxyIngressPort- (Required) Specifies the port that incoming traffic to theAppPortsis directed to. -
ProxyEgressPort- (Required) Specifies the port that outgoing traffic from theAppPortsis directed to. -
EgressIgnoredPorts- (Required) The egress traffic going to the specified ports is ignored and not redirected to theProxyEgressPort. It can be an empty list. -
EgressIgnoredIPs- (Required) The egress traffic going to the specified IP addresses is ignored and not redirected to theProxyEgressPort. It can be an empty list.
KeyValuePair.Builderavoiding the need to create one manually viaKeyValuePair.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#properties(List.) - Parameters:
properties- a consumer that will call methods onKeyValuePair.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#properties(java.util.Collection)
-
-
-