public static interface DescribePackageResponse.Builder extends PanoramaResponse.Builder, SdkPojo, CopyableBuilder<DescribePackageResponse.Builder,DescribePackageResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribePackageResponse.Builder |
arn(String arn)
The package's ARN.
|
DescribePackageResponse.Builder |
createdTime(Instant createdTime)
When the package was created.
|
DescribePackageResponse.Builder |
packageId(String packageId)
The package's ID.
|
DescribePackageResponse.Builder |
packageName(String packageName)
The package's name.
|
DescribePackageResponse.Builder |
readAccessPrincipalArns(Collection<String> readAccessPrincipalArns)
ARNs of accounts that have read access to the package.
|
DescribePackageResponse.Builder |
readAccessPrincipalArns(String... readAccessPrincipalArns)
ARNs of accounts that have read access to the package.
|
default DescribePackageResponse.Builder |
storageLocation(Consumer<StorageLocation.Builder> storageLocation)
The package's storage location.
|
DescribePackageResponse.Builder |
storageLocation(StorageLocation storageLocation)
The package's storage location.
|
DescribePackageResponse.Builder |
tags(Map<String,String> tags)
The package's tags.
|
DescribePackageResponse.Builder |
writeAccessPrincipalArns(Collection<String> writeAccessPrincipalArns)
ARNs of accounts that have write access to the package.
|
DescribePackageResponse.Builder |
writeAccessPrincipalArns(String... writeAccessPrincipalArns)
ARNs of accounts that have write access to the package.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribePackageResponse.Builder arn(String arn)
The package's ARN.
arn - The package's ARN.DescribePackageResponse.Builder createdTime(Instant createdTime)
When the package was created.
createdTime - When the package was created.DescribePackageResponse.Builder packageId(String packageId)
The package's ID.
packageId - The package's ID.DescribePackageResponse.Builder packageName(String packageName)
The package's name.
packageName - The package's name.DescribePackageResponse.Builder readAccessPrincipalArns(Collection<String> readAccessPrincipalArns)
ARNs of accounts that have read access to the package.
readAccessPrincipalArns - ARNs of accounts that have read access to the package.DescribePackageResponse.Builder readAccessPrincipalArns(String... readAccessPrincipalArns)
ARNs of accounts that have read access to the package.
readAccessPrincipalArns - ARNs of accounts that have read access to the package.DescribePackageResponse.Builder storageLocation(StorageLocation storageLocation)
The package's storage location.
storageLocation - The package's storage location.default DescribePackageResponse.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 via StorageLocation.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to storageLocation(StorageLocation).
storageLocation - a consumer that will call methods on StorageLocation.BuilderstorageLocation(StorageLocation)DescribePackageResponse.Builder tags(Map<String,String> tags)
The package's tags.
tags - The package's tags.DescribePackageResponse.Builder writeAccessPrincipalArns(Collection<String> writeAccessPrincipalArns)
ARNs of accounts that have write access to the package.
writeAccessPrincipalArns - ARNs of accounts that have write access to the package.DescribePackageResponse.Builder writeAccessPrincipalArns(String... writeAccessPrincipalArns)
ARNs of accounts that have write access to the package.
writeAccessPrincipalArns - ARNs of accounts that have write access to the package.Copyright © 2022. All rights reserved.