Interface ProfileOutboundRequest.Builder

  • Method Details

    • clientToken

      ProfileOutboundRequest.Builder clientToken(String clientToken)
      Sets the value of the ClientToken property for this object.
      Parameters:
      clientToken - The new value for the ClientToken property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • profileId

      ProfileOutboundRequest.Builder profileId(String profileId)
      Sets the value of the ProfileId property for this object.
      Parameters:
      profileId - The new value for the ProfileId property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expirationTime

      ProfileOutboundRequest.Builder expirationTime(Instant expirationTime)
      Sets the value of the ExpirationTime property for this object.
      Parameters:
      expirationTime - The new value for the ExpirationTime property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventTriggerContext

      ProfileOutboundRequest.Builder eventTriggerContext(EventTriggerContext eventTriggerContext)
      Sets the value of the EventTriggerContext property for this object.
      Parameters:
      eventTriggerContext - The new value for the EventTriggerContext property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventTriggerContext

      default ProfileOutboundRequest.Builder eventTriggerContext(Consumer<EventTriggerContext.Builder> eventTriggerContext)
      Sets the value of the EventTriggerContext property for this object. This is a convenience method that creates an instance of the EventTriggerContext.Builder avoiding the need to create one manually via EventTriggerContext.builder().

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

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