Interface SubscribedAsset.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<SubscribedAsset.Builder,,- SubscribedAsset> - SdkBuilder<SubscribedAsset.Builder,,- SubscribedAsset> - SdkPojo
- Enclosing class:
- SubscribedAsset
- 
Method SummaryModifier and TypeMethodDescriptionThe identifier of the asset for which the subscription grant is created.assetRevision(String assetRevision) The revision of the asset for which the subscription grant is created.default SubscribedAsset.BuilderassetScope(Consumer<AssetScope.Builder> assetScope) The asset scope of the subscribed asset.assetScope(AssetScope assetScope) The asset scope of the subscribed asset.default SubscribedAsset.BuilderfailureCause(Consumer<FailureCause.Builder> failureCause) The failure cause included in the details of the asset for which the subscription grant is created.failureCause(FailureCause failureCause) The failure cause included in the details of the asset for which the subscription grant is created.failureTimestamp(Instant failureTimestamp) The failure timestamp included in the details of the asset for which the subscription grant is created.grantedTimestamp(Instant grantedTimestamp) The timestamp of when the subscription grant to the asset is created.The status of the asset for which the subscription grant is created.status(SubscriptionGrantStatus status) The status of the asset for which the subscription grant is created.targetName(String targetName) The target name of the asset for which the subscription grant is created.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
assetIdThe 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.
 
- 
assetRevisionThe 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.
 
- 
assetScopeThe asset scope of the subscribed asset. - Parameters:
- assetScope- The asset scope of the subscribed asset.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
assetScopeThe asset scope of the subscribed asset. This is a convenience method that creates an instance of theAssetScope.Builderavoiding the need to create one manually viaAssetScope.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassetScope(AssetScope).- Parameters:
- assetScope- a consumer that will call methods on- AssetScope.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
failureCauseThe 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.
 
- 
failureCauseThe 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.Builderavoiding the need to create one manually viaFailureCause.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailureCause(FailureCause).- Parameters:
- failureCause- a consumer that will call methods on- FailureCause.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
failureTimestampThe 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.
 
- 
grantedTimestampThe 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.
 
- 
statusThe status of the asset for which the subscription grant is created. - Parameters:
- status- The status 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.
- See Also:
 
- 
statusThe status of the asset for which the subscription grant is created. - Parameters:
- status- The status 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.
- See Also:
 
- 
targetNameThe 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.
 
 
-