public static interface SubscribedAsset.Builder extends SdkPojo, CopyableBuilder<SubscribedAsset.Builder,SubscribedAsset>
| Modifier and Type | Method and Description |
|---|---|
SubscribedAsset.Builder |
assetId(String assetId)
The identifier of the asset for which the subscription grant is created.
|
SubscribedAsset.Builder |
assetRevision(String assetRevision)
The revision of the asset for which the subscription grant is created.
|
default SubscribedAsset.Builder |
failureCause(Consumer<FailureCause.Builder> failureCause)
The failure cause included in the details of the asset for which the subscription grant is created.
|
SubscribedAsset.Builder |
failureCause(FailureCause failureCause)
The failure cause included in the details of the asset for which the subscription grant is created.
|
SubscribedAsset.Builder |
failureTimestamp(Instant failureTimestamp)
The failure timestamp included in the details of the asset for which the subscription grant is created.
|
SubscribedAsset.Builder |
grantedTimestamp(Instant grantedTimestamp)
The timestamp of when the subscription grant to the asset is created.
|
SubscribedAsset.Builder |
status(String status)
The status of the asset for which the subscription grant is created.
|
SubscribedAsset.Builder |
status(SubscriptionGrantStatus status)
The status of the asset for which the subscription grant is created.
|
SubscribedAsset.Builder |
targetName(String targetName)
The target name of the asset for which the subscription grant is created.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSubscribedAsset.Builder assetId(String assetId)
The identifier of the asset for which the subscription grant is created.
assetId - The identifier of the asset for which the subscription grant is created.SubscribedAsset.Builder assetRevision(String assetRevision)
The revision of the asset for which the subscription grant is created.
assetRevision - The revision of the asset for which the subscription grant is created.SubscribedAsset.Builder failureCause(FailureCause failureCause)
The failure cause included in the details of the asset for which the subscription grant is created.
failureCause - The failure cause included in the details of the asset for which the subscription grant is created.default SubscribedAsset.Builder failureCause(Consumer<FailureCause.Builder> failureCause)
The failure cause included in the details of the asset for which the subscription grant is created.
This is a convenience method that creates an instance of theFailureCause.Builder avoiding the need
to create one manually via FailureCause.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to failureCause(FailureCause).
failureCause - a consumer that will call methods on FailureCause.BuilderfailureCause(FailureCause)SubscribedAsset.Builder failureTimestamp(Instant failureTimestamp)
The failure timestamp included in the details of the asset for which the subscription grant is created.
failureTimestamp - The failure timestamp included in the details of the asset for which the subscription grant is
created.SubscribedAsset.Builder grantedTimestamp(Instant grantedTimestamp)
The timestamp of when the subscription grant to the asset is created.
grantedTimestamp - The timestamp of when the subscription grant to the asset is created.SubscribedAsset.Builder status(String status)
The status of the asset for which the subscription grant is created.
status - The status of the asset for which the subscription grant is created.SubscriptionGrantStatus,
SubscriptionGrantStatusSubscribedAsset.Builder status(SubscriptionGrantStatus status)
The status of the asset for which the subscription grant is created.
status - The status of the asset for which the subscription grant is created.SubscriptionGrantStatus,
SubscriptionGrantStatusSubscribedAsset.Builder targetName(String targetName)
The target name of the asset for which the subscription grant is created.
targetName - The target name of the asset for which the subscription grant is created.Copyright © 2023. All rights reserved.