@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
This structure specifies the network configuration for an ECS task.
Constructor and Description |
---|
NetworkConfiguration() |
Modifier and Type | Method and Description |
---|---|
NetworkConfiguration |
clone() |
boolean |
equals(Object obj) |
AwsVpcConfiguration |
getAwsvpcConfiguration()
Use this structure to specify the VPC subnets and security groups for the task, and whether a public IP address
is to be used.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAwsvpcConfiguration(AwsVpcConfiguration awsvpcConfiguration)
Use this structure to specify the VPC subnets and security groups for the task, and whether a public IP address
is to be used.
|
String |
toString()
Returns a string representation of this object.
|
NetworkConfiguration |
withAwsvpcConfiguration(AwsVpcConfiguration awsvpcConfiguration)
Use this structure to specify the VPC subnets and security groups for the task, and whether a public IP address
is to be used.
|
public void setAwsvpcConfiguration(AwsVpcConfiguration awsvpcConfiguration)
Use this structure to specify the VPC subnets and security groups for the task, and whether a public IP address
is to be used. This structure is relevant only for ECS tasks that use the awsvpc
network mode.
awsvpcConfiguration
- Use this structure to specify the VPC subnets and security groups for the task, and whether a public IP
address is to be used. This structure is relevant only for ECS tasks that use the awsvpc
network mode.public AwsVpcConfiguration getAwsvpcConfiguration()
Use this structure to specify the VPC subnets and security groups for the task, and whether a public IP address
is to be used. This structure is relevant only for ECS tasks that use the awsvpc
network mode.
awsvpc
network mode.public NetworkConfiguration withAwsvpcConfiguration(AwsVpcConfiguration awsvpcConfiguration)
Use this structure to specify the VPC subnets and security groups for the task, and whether a public IP address
is to be used. This structure is relevant only for ECS tasks that use the awsvpc
network mode.
awsvpcConfiguration
- Use this structure to specify the VPC subnets and security groups for the task, and whether a public IP
address is to be used. This structure is relevant only for ECS tasks that use the awsvpc
network mode.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.