Interface CreateLinkRequest.Builder

  • Method Details

    • gatewayId

      CreateLinkRequest.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.
    • peerGatewayId

      CreateLinkRequest.Builder peerGatewayId(String peerGatewayId)

      The unique identifier of the peer gateway.

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

      CreateLinkRequest.Builder attributes(LinkAttributes attributes)

      Attributes of the link.

      Parameters:
      attributes - Attributes of the link.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attributes

      default CreateLinkRequest.Builder attributes(Consumer<LinkAttributes.Builder> attributes)

      Attributes of the link.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to attributes(LinkAttributes).

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

      CreateLinkRequest.Builder httpResponderAllowed(Boolean httpResponderAllowed)

      Boolean to specify if an HTTP responder is allowed.

      Parameters:
      httpResponderAllowed - Boolean to specify if an HTTP responder is allowed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A map of the key-value pairs of the tag or tags to assign to the resource.

      Parameters:
      tags - A map of the key-value pairs of the tag or tags to assign to the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logSettings

      CreateLinkRequest.Builder logSettings(LinkLogSettings logSettings)

      Application log settings for the link. This value is required. Under applicationLogs.sampling, the errorLog and filterLog fields set the percentage of eligible events to log. Valid values range from 0 through 100. To turn off application logs, set both fields to 0, as in {"applicationLogs":{"sampling":{"errorLog":0,"filterLog":0}}}.

      Parameters:
      logSettings - Application log settings for the link. This value is required. Under applicationLogs.sampling, the errorLog and filterLog fields set the percentage of eligible events to log. Valid values range from 0 through 100. To turn off application logs, set both fields to 0, as in {"applicationLogs":{"sampling":{"errorLog":0,"filterLog":0}}}.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logSettings

      default CreateLinkRequest.Builder logSettings(Consumer<LinkLogSettings.Builder> logSettings)

      Application log settings for the link. This value is required. Under applicationLogs.sampling, the errorLog and filterLog fields set the percentage of eligible events to log. Valid values range from 0 through 100. To turn off application logs, set both fields to 0, as in {"applicationLogs":{"sampling":{"errorLog":0,"filterLog":0}}}.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to logSettings(LinkLogSettings).

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

      CreateLinkRequest.Builder timeoutInMillis(Long timeoutInMillis)

      The timeout value in milliseconds.

      Parameters:
      timeoutInMillis - The timeout value in milliseconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateLinkRequest.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.