Interface DescribeContainerGroupPortMappingsResponse.Builder

  • 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 as us-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

      DescribeContainerGroupPortMappingsResponse.Builder containerGroupType(String containerGroupType)

      The type of container group that was specified in the request. Valid values are GAME_SERVER or PER_INSTANCE.

      Parameters:
      containerGroupType - The type of container group that was specified in the request. Valid values are GAME_SERVER or PER_INSTANCE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • containerGroupType

      The type of container group that was specified in the request. Valid values are GAME_SERVER or PER_INSTANCE.

      Parameters:
      containerGroupType - The type of container group that was specified in the request. Valid values are GAME_SERVER or PER_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 ContainerGroupType is GAME_SERVER.

      Parameters:
      computeName - A unique identifier for the compute resource running the game server container group. Returned when ContainerGroupType is GAME_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_SERVER requests, this is the instance running the specified compute. For PER_INSTANCE requests, this is the instance specified in the request.

      Parameters:
      instanceId - A unique identifier for the fleet instance. For GAME_SERVER requests, this is the instance running the specified compute. For PER_INSTANCE requests, 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 ContainerGroupPortMapping objects that describe the port mappings for each container in the container group.

      Parameters:
      containerGroupPortMappings - A list of ContainerGroupPortMapping objects 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 ContainerGroupPortMapping objects that describe the port mappings for each container in the container group.

      Parameters:
      containerGroupPortMappings - A list of ContainerGroupPortMapping objects 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 ContainerGroupPortMapping objects that describe the port mappings for each container in the container group.

      This is a convenience method that creates an instance of the ContainerGroupPortMapping.Builder avoiding the need to create one manually via ContainerGroupPortMapping.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to containerGroupPortMappings(List<ContainerGroupPortMapping>).

      Parameters:
      containerGroupPortMappings - a consumer that will call methods on ContainerGroupPortMapping.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: