Interface PutLinkFlowsRequest.Builder

  • Method Details

    • gatewayId

      PutLinkFlowsRequest.Builder gatewayId(String gatewayId)

      The unique identifier of the gateway.

      Parameters:
      gatewayId - The unique identifier of the gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • linkId

      The unique identifier of the link.

      Parameters:
      linkId - The unique identifier of the link.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      PutLinkFlowsRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry with the same token and parameters, you get the original response without an error. If you retry with the same token but different parameters, the call fails with ValidationException. If you don't provide a token, the SDK generates one, and RTB Fabric remembers it for 8 hours. A retry returns the original updateId before lockToken is checked.

      Parameters:
      clientToken - A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry with the same token and parameters, you get the original response without an error. If you retry with the same token but different parameters, the call fails with ValidationException. If you don't provide a token, the SDK generates one, and RTB Fabric remembers it for 8 hours. A retry returns the original updateId before lockToken is checked.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lockToken

      PutLinkFlowsRequest.Builder lockToken(String lockToken)

      The concurrency token that you read from GetLink. If the link changed since that read, by any operation, the call fails with ConflictException.

      Parameters:
      lockToken - The concurrency token that you read from GetLink. If the link changed since that read, by any operation, the call fails with ConflictException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • flows

      The link's flows, replacing the current ones. An empty list removes every flow.

      Parameters:
      flows - The link's flows, replacing the current ones. An empty list removes every flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • flows

      The link's flows, replacing the current ones. An empty list removes every flow.

      Parameters:
      flows - The link's flows, replacing the current ones. An empty list removes every flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • flows

      The link's flows, replacing the current ones. An empty list removes every flow.

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

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

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

      PutLinkFlowsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.