Interface ContainerAttributes.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ContainerAttributes.Builder,ContainerAttributes>,SdkBuilder<ContainerAttributes.Builder,ContainerAttributes>,SdkPojo
- Enclosing class:
- ContainerAttributes
public static interface ContainerAttributes.Builder extends SdkPojo, CopyableBuilder<ContainerAttributes.Builder,ContainerAttributes>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContainerAttributes.BuildercontainerPortMappings(Collection<ContainerPortMapping> containerPortMappings)Describes how container ports map to connection ports on the fleet instance.ContainerAttributes.BuildercontainerPortMappings(Consumer<ContainerPortMapping.Builder>... containerPortMappings)Describes how container ports map to connection ports on the fleet instance.ContainerAttributes.BuildercontainerPortMappings(ContainerPortMapping... containerPortMappings)Describes how container ports map to connection ports on the fleet instance.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
containerPortMappings
ContainerAttributes.Builder containerPortMappings(Collection<ContainerPortMapping> containerPortMappings)
Describes how container ports map to connection ports on the fleet instance. Incoming traffic connects to a game via a connection port. A
ContainerPortMappingdirects the traffic from a connection port to a port on the container that hosts the game session.- Parameters:
containerPortMappings- Describes how container ports map to connection ports on the fleet instance. Incoming traffic connects to a game via a connection port. AContainerPortMappingdirects the traffic from a connection port to a port on the container that hosts the game session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerPortMappings
ContainerAttributes.Builder containerPortMappings(ContainerPortMapping... containerPortMappings)
Describes how container ports map to connection ports on the fleet instance. Incoming traffic connects to a game via a connection port. A
ContainerPortMappingdirects the traffic from a connection port to a port on the container that hosts the game session.- Parameters:
containerPortMappings- Describes how container ports map to connection ports on the fleet instance. Incoming traffic connects to a game via a connection port. AContainerPortMappingdirects the traffic from a connection port to a port on the container that hosts the game session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerPortMappings
ContainerAttributes.Builder containerPortMappings(Consumer<ContainerPortMapping.Builder>... containerPortMappings)
Describes how container ports map to connection ports on the fleet instance. Incoming traffic connects to a game via a connection port. A
This is a convenience method that creates an instance of theContainerPortMappingdirects the traffic from a connection port to a port on the container that hosts the game session.ContainerPortMapping.Builderavoiding the need to create one manually viaContainerPortMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#containerPortMappings(List.) - Parameters:
containerPortMappings- a consumer that will call methods onContainerPortMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#containerPortMappings(java.util.Collection)
-
-