@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The network configuration for jobs running on Fargate resources. Jobs running on EC2 resources must not specify this parameter.
Constructor and Description |
---|
NetworkConfiguration() |
Modifier and Type | Method and Description |
---|---|
NetworkConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getAssignPublicIp()
Indicates whether the job should have a public IP address.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssignPublicIp(String assignPublicIp)
Indicates whether the job should have a public IP address.
|
String |
toString()
Returns a string representation of this object.
|
NetworkConfiguration |
withAssignPublicIp(AssignPublicIp assignPublicIp)
Indicates whether the job should have a public IP address.
|
NetworkConfiguration |
withAssignPublicIp(String assignPublicIp)
Indicates whether the job should have a public IP address.
|
public void setAssignPublicIp(String assignPublicIp)
Indicates whether the job should have a public IP address. For a job running on Fargate resources in a private subnet to send outbound traffic to the internet (for example, in order to pull container images), the private subnet requires a NAT gateway be attached to route requests to the internet. For more information, see Amazon ECS task networking. The default value is "DISABLED".
assignPublicIp
- Indicates whether the job should have a public IP address. For a job running on Fargate resources in a
private subnet to send outbound traffic to the internet (for example, in order to pull container images),
the private subnet requires a NAT gateway be attached to route requests to the internet. For more
information, see Amazon ECS task
networking. The default value is "DISABLED".AssignPublicIp
public String getAssignPublicIp()
Indicates whether the job should have a public IP address. For a job running on Fargate resources in a private subnet to send outbound traffic to the internet (for example, in order to pull container images), the private subnet requires a NAT gateway be attached to route requests to the internet. For more information, see Amazon ECS task networking. The default value is "DISABLED".
AssignPublicIp
public NetworkConfiguration withAssignPublicIp(String assignPublicIp)
Indicates whether the job should have a public IP address. For a job running on Fargate resources in a private subnet to send outbound traffic to the internet (for example, in order to pull container images), the private subnet requires a NAT gateway be attached to route requests to the internet. For more information, see Amazon ECS task networking. The default value is "DISABLED".
assignPublicIp
- Indicates whether the job should have a public IP address. For a job running on Fargate resources in a
private subnet to send outbound traffic to the internet (for example, in order to pull container images),
the private subnet requires a NAT gateway be attached to route requests to the internet. For more
information, see Amazon ECS task
networking. The default value is "DISABLED".AssignPublicIp
public NetworkConfiguration withAssignPublicIp(AssignPublicIp assignPublicIp)
Indicates whether the job should have a public IP address. For a job running on Fargate resources in a private subnet to send outbound traffic to the internet (for example, in order to pull container images), the private subnet requires a NAT gateway be attached to route requests to the internet. For more information, see Amazon ECS task networking. The default value is "DISABLED".
assignPublicIp
- Indicates whether the job should have a public IP address. For a job running on Fargate resources in a
private subnet to send outbound traffic to the internet (for example, in order to pull container images),
the private subnet requires a NAT gateway be attached to route requests to the internet. For more
information, see Amazon ECS task
networking. The default value is "DISABLED".AssignPublicIp
public String toString()
toString
in class Object
Object.toString()
public NetworkConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.