Interface CreatePackageResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreatePackageResponse.Builder,,CreatePackageResponse> PanoramaResponse.Builder,SdkBuilder<CreatePackageResponse.Builder,,CreatePackageResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreatePackageResponse
@Mutable
@NotThreadSafe
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.BuilderstorageLocation(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
copyMethods inherited from interface software.amazon.awssdk.services.panorama.model.PanoramaResponse.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
-
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.Builderavoiding the need to create one manually viaStorageLocation.builder().When the
Consumercompletes,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:
-