Interface DescribePackageResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribePackageResponse.Builder,
,DescribePackageResponse> PanoramaResponse.Builder
,SdkBuilder<DescribePackageResponse.Builder,
,DescribePackageResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribePackageResponse
@Mutable
@NotThreadSafe
public static interface DescribePackageResponse.Builder
extends PanoramaResponse.Builder, SdkPojo, CopyableBuilder<DescribePackageResponse.Builder,DescribePackageResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe package's ARN.createdTime
(Instant createdTime) When the package was created.The package's ID.packageName
(String packageName) The package's name.readAccessPrincipalArns
(String... readAccessPrincipalArns) ARNs of accounts that have read access to the package.readAccessPrincipalArns
(Collection<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.storageLocation
(StorageLocation storageLocation) The package's storage location.The package's tags.writeAccessPrincipalArns
(String... writeAccessPrincipalArns) ARNs of accounts that have write access to the package.writeAccessPrincipalArns
(Collection<String> writeAccessPrincipalArns) ARNs of accounts that have write access to the package.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, sdkFieldNameToField, 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.
-
createdTime
When the package was created.
- Parameters:
createdTime
- When the package was created.- 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.
-
packageName
The package's name.
- Parameters:
packageName
- The package's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readAccessPrincipalArns
ARNs of accounts that have read access to the package.
- Parameters:
readAccessPrincipalArns
- ARNs of accounts that have read access to the package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readAccessPrincipalArns
ARNs of accounts that have read access to the package.
- Parameters:
readAccessPrincipalArns
- ARNs of accounts that have read access to the package.- 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 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 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:
-
tags
The package's tags.
- Parameters:
tags
- The package's tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
writeAccessPrincipalArns
DescribePackageResponse.Builder writeAccessPrincipalArns(Collection<String> writeAccessPrincipalArns) ARNs of accounts that have write access to the package.
- Parameters:
writeAccessPrincipalArns
- ARNs of accounts that have write access to the package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
writeAccessPrincipalArns
ARNs of accounts that have write access to the package.
- Parameters:
writeAccessPrincipalArns
- ARNs of accounts that have write access to the package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-