Interface ReceivedMetadata.Builder

  • Method Details

    • receivedStatus

      ReceivedMetadata.Builder receivedStatus(String receivedStatus)

      Received status.

      Parameters:
      receivedStatus - Received status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • receivedStatus

      ReceivedMetadata.Builder receivedStatus(ReceivedStatus receivedStatus)

      Received status.

      Parameters:
      receivedStatus - Received status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • receivedStatusReason

      ReceivedMetadata.Builder receivedStatusReason(String receivedStatusReason)

      Received status reason.

      Parameters:
      receivedStatusReason - Received status reason.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedOperationsWithStrings

      ReceivedMetadata.Builder allowedOperationsWithStrings(Collection<String> allowedOperations)

      Allowed operations.

      Parameters:
      allowedOperations - Allowed operations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedOperationsWithStrings

      ReceivedMetadata.Builder allowedOperationsWithStrings(String... allowedOperations)

      Allowed operations.

      Parameters:
      allowedOperations - Allowed operations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedOperations

      ReceivedMetadata.Builder allowedOperations(Collection<AllowedOperation> allowedOperations)

      Allowed operations.

      Parameters:
      allowedOperations - Allowed operations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedOperations

      ReceivedMetadata.Builder allowedOperations(AllowedOperation... allowedOperations)

      Allowed operations.

      Parameters:
      allowedOperations - Allowed operations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • grantType

      ReceivedMetadata.Builder grantType(String grantType)

      The type of the grant through which the license was received. Valid values:

      • BuyerGrant - Grants you the entitlement to use the license.

      • DelegateGrant - Gives you read-only visibility into the licenses and grants distributed to buyers, with no entitlement to use them.

      Parameters:
      grantType - The type of the grant through which the license was received. Valid values:

      • BuyerGrant - Grants you the entitlement to use the license.

      • DelegateGrant - Gives you read-only visibility into the licenses and grants distributed to buyers, with no entitlement to use them.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • grantType

      ReceivedMetadata.Builder grantType(GrantType grantType)

      The type of the grant through which the license was received. Valid values:

      • BuyerGrant - Grants you the entitlement to use the license.

      • DelegateGrant - Gives you read-only visibility into the licenses and grants distributed to buyers, with no entitlement to use them.

      Parameters:
      grantType - The type of the grant through which the license was received. Valid values:

      • BuyerGrant - Grants you the entitlement to use the license.

      • DelegateGrant - Gives you read-only visibility into the licenses and grants distributed to buyers, with no entitlement to use them.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: