Interface UpdateAssetOwnerResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateAssetOwnerResponse.Builder,,UpdateAssetOwnerResponse> DataZoneResponse.Builder,SdkBuilder<UpdateAssetOwnerResponse.Builder,,UpdateAssetOwnerResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateAssetOwnerResponse
@Mutable
@NotThreadSafe
public static interface UpdateAssetOwnerResponse.Builder
extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<UpdateAssetOwnerResponse.Builder,UpdateAssetOwnerResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the asset.default UpdateAssetOwnerResponse.BuilderownershipTransfer(Consumer<AssetOwnershipTransfer.Builder> ownershipTransfer) The state of the ownership transfer that the request started.ownershipTransfer(AssetOwnershipTransfer ownershipTransfer) The state of the ownership transfer that the request started.The revision of the asset that was created when the transfer started.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
id
The ID of the asset.
- Parameters:
id- The ID of the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revision
The revision of the asset that was created when the transfer started.
- Parameters:
revision- The revision of the asset that was created when the transfer started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownershipTransfer
The state of the ownership transfer that the request started.
- Parameters:
ownershipTransfer- The state of the ownership transfer that the request started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownershipTransfer
default UpdateAssetOwnerResponse.Builder ownershipTransfer(Consumer<AssetOwnershipTransfer.Builder> ownershipTransfer) The state of the ownership transfer that the request started.
This is a convenience method that creates an instance of theAssetOwnershipTransfer.Builderavoiding the need to create one manually viaAssetOwnershipTransfer.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toownershipTransfer(AssetOwnershipTransfer).- Parameters:
ownershipTransfer- a consumer that will call methods onAssetOwnershipTransfer.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-