Interface DescribeContainerGroupPortMappingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeContainerGroupPortMappingsResponse.Builder,,DescribeContainerGroupPortMappingsResponse> GameLiftResponse.Builder,SdkBuilder<DescribeContainerGroupPortMappingsResponse.Builder,,DescribeContainerGroupPortMappingsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeContainerGroupPortMappingsResponse
-
Method Summary
Modifier and TypeMethodDescriptioncomputeName(String computeName) A unique identifier for the compute resource running the game server container group.containerGroupDefinitionArn(String containerGroupDefinitionArn) The Amazon Resource Name (ARN) that is assigned to the container group definition.containerGroupPortMappings(Collection<ContainerGroupPortMapping> containerGroupPortMappings) A list ofContainerGroupPortMappingobjects that describe the port mappings for each container in the container group.containerGroupPortMappings(Consumer<ContainerGroupPortMapping.Builder>... containerGroupPortMappings) A list ofContainerGroupPortMappingobjects that describe the port mappings for each container in the container group.containerGroupPortMappings(ContainerGroupPortMapping... containerGroupPortMappings) A list ofContainerGroupPortMappingobjects that describe the port mappings for each container in the container group.containerGroupType(String containerGroupType) The type of container group that was specified in the request.containerGroupType(ContainerGroupType containerGroupType) The type of container group that was specified in the request.A unique identifier for the container fleet.instanceId(String instanceId) A unique identifier for the fleet instance.The location of the fleet instance, expressed as an Amazon Web Services Region code, such asus-west-2.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
fleetId
A unique identifier for the container fleet.
- Parameters:
fleetId- A unique identifier for the container fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
The location of the fleet instance, expressed as an Amazon Web Services Region code, such as
us-west-2.- Parameters:
location- The location of the fleet instance, expressed as an Amazon Web Services Region code, such asus-west-2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerGroupDefinitionArn
DescribeContainerGroupPortMappingsResponse.Builder containerGroupDefinitionArn(String containerGroupDefinitionArn) The Amazon Resource Name (ARN) that is assigned to the container group definition. The ARN value also identifies the specific container group definition version in use.
- Parameters:
containerGroupDefinitionArn- The Amazon Resource Name (ARN) that is assigned to the container group definition. The ARN value also identifies the specific container group definition version in use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerGroupType
The type of container group that was specified in the request. Valid values are
GAME_SERVERorPER_INSTANCE.- Parameters:
containerGroupType- The type of container group that was specified in the request. Valid values areGAME_SERVERorPER_INSTANCE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
containerGroupType
DescribeContainerGroupPortMappingsResponse.Builder containerGroupType(ContainerGroupType containerGroupType) The type of container group that was specified in the request. Valid values are
GAME_SERVERorPER_INSTANCE.- Parameters:
containerGroupType- The type of container group that was specified in the request. Valid values areGAME_SERVERorPER_INSTANCE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
computeName
A unique identifier for the compute resource running the game server container group. Returned when
ContainerGroupTypeisGAME_SERVER.- Parameters:
computeName- A unique identifier for the compute resource running the game server container group. Returned whenContainerGroupTypeisGAME_SERVER.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
A unique identifier for the fleet instance. For
GAME_SERVERrequests, this is the instance running the specified compute. ForPER_INSTANCErequests, this is the instance specified in the request.- Parameters:
instanceId- A unique identifier for the fleet instance. ForGAME_SERVERrequests, this is the instance running the specified compute. ForPER_INSTANCErequests, this is the instance specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerGroupPortMappings
DescribeContainerGroupPortMappingsResponse.Builder containerGroupPortMappings(Collection<ContainerGroupPortMapping> containerGroupPortMappings) A list of
ContainerGroupPortMappingobjects that describe the port mappings for each container in the container group.- Parameters:
containerGroupPortMappings- A list ofContainerGroupPortMappingobjects that describe the port mappings for each container in the container group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerGroupPortMappings
DescribeContainerGroupPortMappingsResponse.Builder containerGroupPortMappings(ContainerGroupPortMapping... containerGroupPortMappings) A list of
ContainerGroupPortMappingobjects that describe the port mappings for each container in the container group.- Parameters:
containerGroupPortMappings- A list ofContainerGroupPortMappingobjects that describe the port mappings for each container in the container group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerGroupPortMappings
DescribeContainerGroupPortMappingsResponse.Builder containerGroupPortMappings(Consumer<ContainerGroupPortMapping.Builder>... containerGroupPortMappings) A list of
This is a convenience method that creates an instance of theContainerGroupPortMappingobjects that describe the port mappings for each container in the container group.ContainerGroupPortMapping.Builderavoiding the need to create one manually viaContainerGroupPortMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontainerGroupPortMappings(List<ContainerGroupPortMapping>).- Parameters:
containerGroupPortMappings- a consumer that will call methods onContainerGroupPortMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-