Interface PartnershipSummary.Builder

  • Method Details

    • profileId

      PartnershipSummary.Builder profileId(String profileId)

      Returns the unique, system-generated identifier for the profile connected to this partnership.

      Parameters:
      profileId - Returns the unique, system-generated identifier for the profile connected to this partnership.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • partnershipId

      PartnershipSummary.Builder partnershipId(String partnershipId)

      Returns the unique, system-generated identifier for a partnership.

      Parameters:
      partnershipId - Returns the unique, system-generated identifier for a partnership.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      Returns the name of the partnership.

      Parameters:
      name - Returns the name of the partnership.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capabilities

      PartnershipSummary.Builder capabilities(Collection<String> capabilities)

      Returns one or more capabilities associated with this partnership.

      Parameters:
      capabilities - Returns one or more capabilities associated with this partnership.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capabilities

      PartnershipSummary.Builder capabilities(String... capabilities)

      Returns one or more capabilities associated with this partnership.

      Parameters:
      capabilities - Returns one or more capabilities associated with this partnership.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capabilityOptions

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

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

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

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

      PartnershipSummary.Builder tradingPartnerId(String tradingPartnerId)

      Returns the unique, system-generated identifier for a trading partner.

      Parameters:
      tradingPartnerId - Returns the unique, system-generated identifier for a trading partner.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      PartnershipSummary.Builder createdAt(Instant createdAt)

      Returns a timestamp for creation date and time of the partnership.

      Parameters:
      createdAt - Returns a timestamp for creation date and time of the partnership.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modifiedAt

      PartnershipSummary.Builder modifiedAt(Instant modifiedAt)

      Returns a timestamp that identifies the most recent date and time that the partnership was modified.

      Parameters:
      modifiedAt - Returns a timestamp that identifies the most recent date and time that the partnership was modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.