@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProxyConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration details for the App Mesh proxy.
Constructor and Description |
---|
ProxyConfiguration() |
Modifier and Type | Method and Description |
---|---|
ProxyConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getContainerName()
The name of the container that will serve as the App Mesh proxy.
|
List<KeyValuePair> |
getProperties()
The set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified as
key-value pairs.
|
String |
getType()
The proxy type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setContainerName(String containerName)
The name of the container that will serve as the App Mesh proxy.
|
void |
setProperties(Collection<KeyValuePair> properties)
The set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified as
key-value pairs.
|
void |
setType(String type)
The proxy type.
|
String |
toString()
Returns a string representation of this object.
|
ProxyConfiguration |
withContainerName(String containerName)
The name of the container that will serve as the App Mesh proxy.
|
ProxyConfiguration |
withProperties(Collection<KeyValuePair> properties)
The set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified as
key-value pairs.
|
ProxyConfiguration |
withProperties(KeyValuePair... properties)
The set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified as
key-value pairs.
|
ProxyConfiguration |
withType(ProxyConfigurationType type)
The proxy type.
|
ProxyConfiguration |
withType(String type)
The proxy type.
|
public void setType(String type)
The proxy type. The only supported value is APPMESH
.
type
- The proxy type. The only supported value is APPMESH
.ProxyConfigurationType
public String getType()
The proxy type. The only supported value is APPMESH
.
APPMESH
.ProxyConfigurationType
public ProxyConfiguration withType(String type)
The proxy type. The only supported value is APPMESH
.
type
- The proxy type. The only supported value is APPMESH
.ProxyConfigurationType
public ProxyConfiguration withType(ProxyConfigurationType type)
The proxy type. The only supported value is APPMESH
.
type
- The proxy type. The only supported value is APPMESH
.ProxyConfigurationType
public void setContainerName(String containerName)
The name of the container that will serve as the App Mesh proxy.
containerName
- The name of the container that will serve as the App Mesh proxy.public String getContainerName()
The name of the container that will serve as the App Mesh proxy.
public ProxyConfiguration withContainerName(String containerName)
The name of the container that will serve as the App Mesh proxy.
containerName
- The name of the container that will serve as the App Mesh proxy.public List<KeyValuePair> getProperties()
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 the user
parameter in a container definition. This is used to ensure the proxy ignores its own traffic. If
IgnoredGID
is specified, this field can be empty.
IgnoredGID
- (Required) The group ID (GID) of the proxy container as defined by the
user
parameter in a container definition. This is used to ensure the proxy ignores its own traffic.
If IgnoredGID
is specified, this field can be empty.
AppPorts
- (Required) The list of ports that the application uses. Network traffic to these ports
will be forwarded to the ProxyIngressPort
and ProxyEgressPort
.
ProxyIngressPort
- (Required) Specifies the port that incoming traffic to the AppPorts
is directed to.
ProxyEgressPort
- (Required) Specifies the port that outgoing traffic from the AppPorts
is directed to.
EgressIgnoredPorts
- (Required) The egress traffic going to these specified ports will be ignored
and not redirected to the ProxyEgressPort
. It can be empty list.
EgressIgnoredIPs
- (Required) The egress traffic going to these specified IP addresses will be
ignored and not redirected to the ProxyEgressPort
. It can be empty list.
IgnoredUID
- (Required) The user ID (UID) of the proxy container as defined by the
user
parameter in a container definition. This is used to ensure the proxy ignores its own
traffic. If IgnoredGID
is specified, this field can be empty.
IgnoredGID
- (Required) The group ID (GID) of the proxy container as defined by the
user
parameter in a container definition. This is used to ensure the proxy ignores its own
traffic. If IgnoredGID
is specified, this field can be empty.
AppPorts
- (Required) The list of ports that the application uses. Network traffic to these
ports will be forwarded to the ProxyIngressPort
and ProxyEgressPort
.
ProxyIngressPort
- (Required) Specifies the port that incoming traffic to the
AppPorts
is directed to.
ProxyEgressPort
- (Required) Specifies the port that outgoing traffic from the
AppPorts
is directed to.
EgressIgnoredPorts
- (Required) The egress traffic going to these specified ports will be
ignored and not redirected to the ProxyEgressPort
. It can be empty list.
EgressIgnoredIPs
- (Required) The egress traffic going to these specified IP addresses will
be ignored and not redirected to the ProxyEgressPort
. It can be empty list.
public void setProperties(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 the user
parameter in a container definition. This is used to ensure the proxy ignores its own traffic. If
IgnoredGID
is specified, this field can be empty.
IgnoredGID
- (Required) The group ID (GID) of the proxy container as defined by the
user
parameter in a container definition. This is used to ensure the proxy ignores its own traffic.
If IgnoredGID
is specified, this field can be empty.
AppPorts
- (Required) The list of ports that the application uses. Network traffic to these ports
will be forwarded to the ProxyIngressPort
and ProxyEgressPort
.
ProxyIngressPort
- (Required) Specifies the port that incoming traffic to the AppPorts
is directed to.
ProxyEgressPort
- (Required) Specifies the port that outgoing traffic from the AppPorts
is directed to.
EgressIgnoredPorts
- (Required) The egress traffic going to these specified ports will be ignored
and not redirected to the ProxyEgressPort
. It can be empty list.
EgressIgnoredIPs
- (Required) The egress traffic going to these specified IP addresses will be
ignored and not redirected to the ProxyEgressPort
. It can be empty list.
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 the
user
parameter in a container definition. This is used to ensure the proxy ignores its own
traffic. If IgnoredGID
is specified, this field can be empty.
IgnoredGID
- (Required) The group ID (GID) of the proxy container as defined by the
user
parameter in a container definition. This is used to ensure the proxy ignores its own
traffic. If IgnoredGID
is specified, this field can be empty.
AppPorts
- (Required) The list of ports that the application uses. Network traffic to these
ports will be forwarded to the ProxyIngressPort
and ProxyEgressPort
.
ProxyIngressPort
- (Required) Specifies the port that incoming traffic to the
AppPorts
is directed to.
ProxyEgressPort
- (Required) Specifies the port that outgoing traffic from the
AppPorts
is directed to.
EgressIgnoredPorts
- (Required) The egress traffic going to these specified ports will be
ignored and not redirected to the ProxyEgressPort
. It can be empty list.
EgressIgnoredIPs
- (Required) The egress traffic going to these specified IP addresses will
be ignored and not redirected to the ProxyEgressPort
. It can be empty list.
public ProxyConfiguration withProperties(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 the user
parameter in a container definition. This is used to ensure the proxy ignores its own traffic. If
IgnoredGID
is specified, this field can be empty.
IgnoredGID
- (Required) The group ID (GID) of the proxy container as defined by the
user
parameter in a container definition. This is used to ensure the proxy ignores its own traffic.
If IgnoredGID
is specified, this field can be empty.
AppPorts
- (Required) The list of ports that the application uses. Network traffic to these ports
will be forwarded to the ProxyIngressPort
and ProxyEgressPort
.
ProxyIngressPort
- (Required) Specifies the port that incoming traffic to the AppPorts
is directed to.
ProxyEgressPort
- (Required) Specifies the port that outgoing traffic from the AppPorts
is directed to.
EgressIgnoredPorts
- (Required) The egress traffic going to these specified ports will be ignored
and not redirected to the ProxyEgressPort
. It can be empty list.
EgressIgnoredIPs
- (Required) The egress traffic going to these specified IP addresses will be
ignored and not redirected to the ProxyEgressPort
. It can be empty list.
NOTE: This method appends the values to the existing list (if any). Use
setProperties(java.util.Collection)
or withProperties(java.util.Collection)
if you want to
override the existing values.
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 the
user
parameter in a container definition. This is used to ensure the proxy ignores its own
traffic. If IgnoredGID
is specified, this field can be empty.
IgnoredGID
- (Required) The group ID (GID) of the proxy container as defined by the
user
parameter in a container definition. This is used to ensure the proxy ignores its own
traffic. If IgnoredGID
is specified, this field can be empty.
AppPorts
- (Required) The list of ports that the application uses. Network traffic to these
ports will be forwarded to the ProxyIngressPort
and ProxyEgressPort
.
ProxyIngressPort
- (Required) Specifies the port that incoming traffic to the
AppPorts
is directed to.
ProxyEgressPort
- (Required) Specifies the port that outgoing traffic from the
AppPorts
is directed to.
EgressIgnoredPorts
- (Required) The egress traffic going to these specified ports will be
ignored and not redirected to the ProxyEgressPort
. It can be empty list.
EgressIgnoredIPs
- (Required) The egress traffic going to these specified IP addresses will
be ignored and not redirected to the ProxyEgressPort
. It can be empty list.
public ProxyConfiguration withProperties(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 the user
parameter in a container definition. This is used to ensure the proxy ignores its own traffic. If
IgnoredGID
is specified, this field can be empty.
IgnoredGID
- (Required) The group ID (GID) of the proxy container as defined by the
user
parameter in a container definition. This is used to ensure the proxy ignores its own traffic.
If IgnoredGID
is specified, this field can be empty.
AppPorts
- (Required) The list of ports that the application uses. Network traffic to these ports
will be forwarded to the ProxyIngressPort
and ProxyEgressPort
.
ProxyIngressPort
- (Required) Specifies the port that incoming traffic to the AppPorts
is directed to.
ProxyEgressPort
- (Required) Specifies the port that outgoing traffic from the AppPorts
is directed to.
EgressIgnoredPorts
- (Required) The egress traffic going to these specified ports will be ignored
and not redirected to the ProxyEgressPort
. It can be empty list.
EgressIgnoredIPs
- (Required) The egress traffic going to these specified IP addresses will be
ignored and not redirected to the ProxyEgressPort
. It can be empty list.
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 the
user
parameter in a container definition. This is used to ensure the proxy ignores its own
traffic. If IgnoredGID
is specified, this field can be empty.
IgnoredGID
- (Required) The group ID (GID) of the proxy container as defined by the
user
parameter in a container definition. This is used to ensure the proxy ignores its own
traffic. If IgnoredGID
is specified, this field can be empty.
AppPorts
- (Required) The list of ports that the application uses. Network traffic to these
ports will be forwarded to the ProxyIngressPort
and ProxyEgressPort
.
ProxyIngressPort
- (Required) Specifies the port that incoming traffic to the
AppPorts
is directed to.
ProxyEgressPort
- (Required) Specifies the port that outgoing traffic from the
AppPorts
is directed to.
EgressIgnoredPorts
- (Required) The egress traffic going to these specified ports will be
ignored and not redirected to the ProxyEgressPort
. It can be empty list.
EgressIgnoredIPs
- (Required) The egress traffic going to these specified IP addresses will
be ignored and not redirected to the ProxyEgressPort
. It can be empty list.
public String toString()
toString
in class Object
Object.toString()
public ProxyConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2019. All rights reserved.