Interface DescribeContainerGroupPortMappingsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeContainerGroupPortMappingsRequest.Builder,,DescribeContainerGroupPortMappingsRequest> GameLiftRequest.Builder,SdkBuilder<DescribeContainerGroupPortMappingsRequest.Builder,,DescribeContainerGroupPortMappingsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeContainerGroupPortMappingsRequest
-
Method Summary
Modifier and TypeMethodDescriptioncomputeName(String computeName) A unique identifier for the compute resource for which to retrieve port mappings.containerGroupType(String containerGroupType) The type of container group to retrieve port mappings for.containerGroupType(ContainerGroupType containerGroupType) The type of container group to retrieve port mappings for.containerName(String containerName) A container name to filter the results.A unique identifier for the container fleet.instanceId(String instanceId) A unique identifier for the fleet instance to retrieve port mappings for.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
fleetId
A unique identifier for the container fleet. You can use either the fleet ID or ARN value.
- Parameters:
fleetId- A unique identifier for the container fleet. You can use either the fleet ID or ARN value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerGroupType
The type of container group to retrieve port mappings for.
-
GAME_SERVER-- Get port mappings for a game server container group. -
PER_INSTANCE-- Get port mappings for a per-instance container group.
- Parameters:
containerGroupType- The type of container group to retrieve port mappings for.-
GAME_SERVER-- Get port mappings for a game server container group. -
PER_INSTANCE-- Get port mappings for a per-instance container group.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
containerGroupType
DescribeContainerGroupPortMappingsRequest.Builder containerGroupType(ContainerGroupType containerGroupType) The type of container group to retrieve port mappings for.
-
GAME_SERVER-- Get port mappings for a game server container group. -
PER_INSTANCE-- Get port mappings for a per-instance container group.
- Parameters:
containerGroupType- The type of container group to retrieve port mappings for.-
GAME_SERVER-- Get port mappings for a game server container group. -
PER_INSTANCE-- Get port mappings for a per-instance container group.
-
- 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 for which to retrieve port mappings. For a container fleet, a compute represents a game server container group running on a fleet instance. You can use either the compute name or ARN value.
When
ContainerGroupTypeisGAME_SERVER, this parameter is required.When
ContainerGroupTypeisPER_INSTANCE, do not provide this parameter. If you provide a compute name withPER_INSTANCE, the request fails with anInvalidRequestException.- Parameters:
computeName- A unique identifier for the compute resource for which to retrieve port mappings. For a container fleet, a compute represents a game server container group running on a fleet instance. You can use either the compute name or ARN value.When
ContainerGroupTypeisGAME_SERVER, this parameter is required.When
ContainerGroupTypeisPER_INSTANCE, do not provide this parameter. If you provide a compute name withPER_INSTANCE, the request fails with anInvalidRequestException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
A unique identifier for the fleet instance to retrieve port mappings for.
When
ContainerGroupTypeisPER_INSTANCE, this parameter is required.When
ContainerGroupTypeisGAME_SERVER, this parameter is optional. If you provide an instance ID, it must match the instance that's running the specified compute. If the instance ID doesn't match, the request fails with anInvalidRequestException.- Parameters:
instanceId- A unique identifier for the fleet instance to retrieve port mappings for.When
ContainerGroupTypeisPER_INSTANCE, this parameter is required.When
ContainerGroupTypeisGAME_SERVER, this parameter is optional. If you provide an instance ID, it must match the instance that's running the specified compute. If the instance ID doesn't match, the request fails with anInvalidRequestException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerName
A container name to filter the results. When provided, the operation returns port mappings for the specified container only. If no container with the specified name exists in the container group, the request fails with a
NotFoundException.If not provided, the operation returns port mappings for all containers in the container group.
- Parameters:
containerName- A container name to filter the results. When provided, the operation returns port mappings for the specified container only. If no container with the specified name exists in the container group, the request fails with aNotFoundException.If not provided, the operation returns port mappings for all containers in the container group.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeContainerGroupPortMappingsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeContainerGroupPortMappingsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-