Interface CreatePackageResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreatePackageResponse.Builder,
,CreatePackageResponse> PanoramaResponse.Builder
,SdkBuilder<CreatePackageResponse.Builder,
,CreatePackageResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreatePackageResponse
public static interface CreatePackageResponse.Builder
extends PanoramaResponse.Builder, SdkPojo, CopyableBuilder<CreatePackageResponse.Builder,CreatePackageResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe package's ARN.The package's ID.default CreatePackageResponse.Builder
storageLocation
(Consumer<StorageLocation.Builder> storageLocation) The package's storage location.storageLocation
(StorageLocation storageLocation) The package's storage location.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.panorama.model.PanoramaResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
arn
The package's ARN.
- Parameters:
arn
- The package's ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageId
The package's ID.
- Parameters:
packageId
- The package's ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageLocation
The package's storage location.
- Parameters:
storageLocation
- The package's storage location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageLocation
default CreatePackageResponse.Builder storageLocation(Consumer<StorageLocation.Builder> storageLocation) The package's storage location.
This is a convenience method that creates an instance of theStorageLocation.Builder
avoiding the need to create one manually viaStorageLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostorageLocation(StorageLocation)
.- Parameters:
storageLocation
- a consumer that will call methods onStorageLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-