@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EgressConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Describes configuration settings related to outbound network traffic of an App Runner service.
Constructor and Description |
---|
EgressConfiguration() |
Modifier and Type | Method and Description |
---|---|
EgressConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getEgressType()
The type of egress configuration.
|
String |
getVpcConnectorArn()
The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to associate with your App Runner
service.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEgressType(String egressType)
The type of egress configuration.
|
void |
setVpcConnectorArn(String vpcConnectorArn)
The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to associate with your App Runner
service.
|
String |
toString()
Returns a string representation of this object.
|
EgressConfiguration |
withEgressType(EgressType egressType)
The type of egress configuration.
|
EgressConfiguration |
withEgressType(String egressType)
The type of egress configuration.
|
EgressConfiguration |
withVpcConnectorArn(String vpcConnectorArn)
The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to associate with your App Runner
service.
|
public void setEgressType(String egressType)
The type of egress configuration.
Set to DEFAULT
for access to resources hosted on public networks.
Set to VPC
to associate your service to a custom VPC specified by VpcConnectorArn
.
egressType
- The type of egress configuration.
Set to DEFAULT
for access to resources hosted on public networks.
Set to VPC
to associate your service to a custom VPC specified by
VpcConnectorArn
.
EgressType
public String getEgressType()
The type of egress configuration.
Set to DEFAULT
for access to resources hosted on public networks.
Set to VPC
to associate your service to a custom VPC specified by VpcConnectorArn
.
Set to DEFAULT
for access to resources hosted on public networks.
Set to VPC
to associate your service to a custom VPC specified by
VpcConnectorArn
.
EgressType
public EgressConfiguration withEgressType(String egressType)
The type of egress configuration.
Set to DEFAULT
for access to resources hosted on public networks.
Set to VPC
to associate your service to a custom VPC specified by VpcConnectorArn
.
egressType
- The type of egress configuration.
Set to DEFAULT
for access to resources hosted on public networks.
Set to VPC
to associate your service to a custom VPC specified by
VpcConnectorArn
.
EgressType
public EgressConfiguration withEgressType(EgressType egressType)
The type of egress configuration.
Set to DEFAULT
for access to resources hosted on public networks.
Set to VPC
to associate your service to a custom VPC specified by VpcConnectorArn
.
egressType
- The type of egress configuration.
Set to DEFAULT
for access to resources hosted on public networks.
Set to VPC
to associate your service to a custom VPC specified by
VpcConnectorArn
.
EgressType
public void setVpcConnectorArn(String vpcConnectorArn)
The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to associate with your App Runner
service. Only valid when EgressType = VPC
.
vpcConnectorArn
- The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to associate with your App
Runner service. Only valid when EgressType = VPC
.public String getVpcConnectorArn()
The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to associate with your App Runner
service. Only valid when EgressType = VPC
.
EgressType = VPC
.public EgressConfiguration withVpcConnectorArn(String vpcConnectorArn)
The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to associate with your App Runner
service. Only valid when EgressType = VPC
.
vpcConnectorArn
- The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to associate with your App
Runner service. Only valid when EgressType = VPC
.public String toString()
toString
in class Object
Object.toString()
public EgressConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.