public static interface AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails.Builder extends SdkPojo, CopyableBuilder<AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails.Builder,AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails.Builder |
containerPort(Integer containerPort)
The port number on the container that is bound to the user-specified or automatically assigned host port.
|
AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails.Builder |
hostPort(Integer hostPort)
The port number on the container instance to reserve for the container.
|
AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails.Builder |
protocol(String protocol)
The protocol used for the port mapping.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails.Builder containerPort(Integer containerPort)
The port number on the container that is bound to the user-specified or automatically assigned host port.
containerPort - The port number on the container that is bound to the user-specified or automatically assigned host
port.AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails.Builder hostPort(Integer hostPort)
The port number on the container instance to reserve for the container.
hostPort - The port number on the container instance to reserve for the container.AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails.Builder protocol(String protocol)
The protocol used for the port mapping. The default is tcp.
protocol - The protocol used for the port mapping. The default is tcp.Copyright © 2023. All rights reserved.