Interface SubscribedAsset.Builder

    • Method Detail

      • assetId

        SubscribedAsset.Builder assetId​(String assetId)

        The identifier of the asset for which the subscription grant is created.

        Parameters:
        assetId - The identifier of the asset for which the subscription grant is created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • assetRevision

        SubscribedAsset.Builder assetRevision​(String assetRevision)

        The revision of the asset for which the subscription grant is created.

        Parameters:
        assetRevision - The revision of the asset for which the subscription grant is created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failureCause

        SubscribedAsset.Builder failureCause​(FailureCause failureCause)

        The failure cause included in the details of the asset for which the subscription grant is created.

        Parameters:
        failureCause - The failure cause included in the details of the asset for which the subscription grant is created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failureTimestamp

        SubscribedAsset.Builder failureTimestamp​(Instant failureTimestamp)

        The failure timestamp included in the details of the asset for which the subscription grant is created.

        Parameters:
        failureTimestamp - The failure timestamp included in the details of the asset for which the subscription grant is created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • grantedTimestamp

        SubscribedAsset.Builder grantedTimestamp​(Instant grantedTimestamp)

        The timestamp of when the subscription grant to the asset is created.

        Parameters:
        grantedTimestamp - The timestamp of when the subscription grant to the asset is created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • targetName

        SubscribedAsset.Builder targetName​(String targetName)

        The target name of the asset for which the subscription grant is created.

        Parameters:
        targetName - The target name of the asset for which the subscription grant is created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.