Interface GetLinkResponse.Builder

  • Method Details

    • gatewayId

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

      GetLinkResponse.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.
    • status

      The status of the link.

      Parameters:
      status - The status of the link.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the link.

      Parameters:
      status - The status of the link.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      GetLinkResponse.Builder createdAt(Instant createdAt)

      The timestamp of when the link was created.

      Parameters:
      createdAt - The timestamp of when the link was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      GetLinkResponse.Builder updatedAt(Instant updatedAt)

      The timestamp of when the link was updated.

      Parameters:
      updatedAt - The timestamp of when the link was updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • direction

      GetLinkResponse.Builder direction(String direction)

      The direction of the link.

      Parameters:
      direction - The direction of the link.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • direction

      GetLinkResponse.Builder direction(LinkDirection direction)

      The direction of the link.

      Parameters:
      direction - The direction of the link.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • flowModules

      The configuration of flow modules.

      Parameters:
      flowModules - The configuration of flow modules.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • flowModules

      GetLinkResponse.Builder flowModules(ModuleConfiguration... flowModules)

      The configuration of flow modules.

      Parameters:
      flowModules - The configuration of flow modules.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • flowModules

      The configuration of flow modules.

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

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

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

      GetLinkResponse.Builder pendingFlowModules(Collection<ModuleConfiguration> pendingFlowModules)

      The configuration of pending flow modules.

      Parameters:
      pendingFlowModules - The configuration of pending flow modules.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pendingFlowModules

      GetLinkResponse.Builder pendingFlowModules(ModuleConfiguration... pendingFlowModules)

      The configuration of pending flow modules.

      Parameters:
      pendingFlowModules - The configuration of pending flow modules.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pendingFlowModules

      GetLinkResponse.Builder pendingFlowModules(Consumer<ModuleConfiguration.Builder>... pendingFlowModules)

      The configuration of pending flow modules.

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

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

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

      GetLinkResponse.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 GetLinkResponse.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:
    • logSettings

      GetLinkResponse.Builder logSettings(LinkLogSettings logSettings)

      Settings for the application logs.

      Parameters:
      logSettings - Settings for the application logs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logSettings

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

      Settings for the application logs.

      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:
    • connectivityType

      GetLinkResponse.Builder connectivityType(String connectivityType)

      The connectivity type of the link.

      Parameters:
      connectivityType - The connectivity type of the link.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • connectivityType

      GetLinkResponse.Builder connectivityType(ConnectivityType connectivityType)

      The connectivity type of the link.

      Parameters:
      connectivityType - The connectivity type of the link.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorDetails

      GetLinkResponse.Builder errorDetails(Collection<ErrorDetail> errorDetails)

      The causes of the failure, such as a deleted subnet. Present only when the resource has failed.

      Parameters:
      errorDetails - The causes of the failure, such as a deleted subnet. Present only when the resource has failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorDetails

      GetLinkResponse.Builder errorDetails(ErrorDetail... errorDetails)

      The causes of the failure, such as a deleted subnet. Present only when the resource has failed.

      Parameters:
      errorDetails - The causes of the failure, such as a deleted subnet. Present only when the resource has failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorDetails

      GetLinkResponse.Builder errorDetails(Consumer<ErrorDetail.Builder>... errorDetails)

      The causes of the failure, such as a deleted subnet. Present only when the resource has failed.

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

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

      Parameters:
      errorDetails - a consumer that will call methods on ErrorDetail.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • tags

      A map of the key-value pairs for the tag or tags assigned to the specified resource.

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

      GetLinkResponse.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.
    • timeoutInMillis

      GetLinkResponse.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.
    • lockToken

      GetLinkResponse.Builder lockToken(String lockToken)

      The link's concurrency token. Pass it to PutLinkFlows unchanged; it changes whenever the link does.

      Parameters:
      lockToken - The link's concurrency token. Pass it to PutLinkFlows unchanged; it changes whenever the link does.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • flows

      The link's active flows, in the form PutLinkFlows takes. Empty when the link has no modules, and absent when its modules were set with UpdateLinkModuleFlow.

      Parameters:
      flows - The link's active flows, in the form PutLinkFlows takes. Empty when the link has no modules, and absent when its modules were set with UpdateLinkModuleFlow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • flows

      GetLinkResponse.Builder flows(Flow... flows)

      The link's active flows, in the form PutLinkFlows takes. Empty when the link has no modules, and absent when its modules were set with UpdateLinkModuleFlow.

      Parameters:
      flows - The link's active flows, in the form PutLinkFlows takes. Empty when the link has no modules, and absent when its modules were set with UpdateLinkModuleFlow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • flows

      The link's active flows, in the form PutLinkFlows takes. Empty when the link has no modules, and absent when its modules were set with UpdateLinkModuleFlow.

      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: