Interface GetPackageVersionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetPackageVersionResponse.Builder,
,GetPackageVersionResponse> IotResponse.Builder
,SdkBuilder<GetPackageVersionResponse.Builder,
,GetPackageVersionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetPackageVersionResponse
-
Method Summary
Modifier and TypeMethodDescriptionartifact
(Consumer<PackageVersionArtifact.Builder> artifact) The various components that make up a software package version.artifact
(PackageVersionArtifact artifact) The various components that make up a software package version.attributes
(Map<String, String> attributes) Metadata that were added to the package version that can be used to define a package version’s configuration.creationDate
(Instant creationDate) The date when the package version was created.description
(String description) The package version description.errorReason
(String errorReason) Error reason for a package version failure during creation or update.lastModifiedDate
(Instant lastModifiedDate) The date when the package version was last updated.packageName
(String packageName) The name of the software package.packageVersionArn
(String packageVersionArn) The ARN for the package version.The inline job document associated with a software package version used for a quick job deployment.sbom
(Consumer<Sbom.Builder> sbom) The software bill of materials for a software package version.The software bill of materials for a software package version.sbomValidationStatus
(String sbomValidationStatus) The status of the validation for a new software bill of materials added to a software package version.sbomValidationStatus
(SbomValidationStatus sbomValidationStatus) The status of the validation for a new software bill of materials added to a software package version.The status associated to the package version.status
(PackageVersionStatus status) The status associated to the package version.versionName
(String versionName) The name of the package version.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.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
-
packageVersionArn
The ARN for the package version.
- Parameters:
packageVersionArn
- The ARN for the package version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageName
The name of the software package.
- Parameters:
packageName
- The name of the software package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionName
The name of the package version.
- Parameters:
versionName
- The name of the package version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The package version description.
- Parameters:
description
- The package version description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
Metadata that were added to the package version that can be used to define a package version’s configuration.
- Parameters:
attributes
- Metadata that were added to the package version that can be used to define a package version’s configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifact
The various components that make up a software package version.
- Parameters:
artifact
- The various components that make up a software package version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifact
default GetPackageVersionResponse.Builder artifact(Consumer<PackageVersionArtifact.Builder> artifact) The various components that make up a software package version.
This is a convenience method that creates an instance of thePackageVersionArtifact.Builder
avoiding the need to create one manually viaPackageVersionArtifact.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toartifact(PackageVersionArtifact)
.- Parameters:
artifact
- a consumer that will call methods onPackageVersionArtifact.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status associated to the package version. For more information, see Package version lifecycle.
- Parameters:
status
- The status associated to the package version. For more information, see Package version lifecycle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status associated to the package version. For more information, see Package version lifecycle.
- Parameters:
status
- The status associated to the package version. For more information, see Package version lifecycle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorReason
Error reason for a package version failure during creation or update.
- Parameters:
errorReason
- Error reason for a package version failure during creation or update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDate
The date when the package version was created.
- Parameters:
creationDate
- The date when the package version was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedDate
The date when the package version was last updated.
- Parameters:
lastModifiedDate
- The date when the package version was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sbom
The software bill of materials for a software package version.
- Parameters:
sbom
- The software bill of materials for a software package version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sbom
The software bill of materials for a software package version.
This is a convenience method that creates an instance of theSbom.Builder
avoiding the need to create one manually viaSbom.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosbom(Sbom)
.- Parameters:
sbom
- a consumer that will call methods onSbom.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sbomValidationStatus
The status of the validation for a new software bill of materials added to a software package version.
- Parameters:
sbomValidationStatus
- The status of the validation for a new software bill of materials added to a software package version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sbomValidationStatus
The status of the validation for a new software bill of materials added to a software package version.
- Parameters:
sbomValidationStatus
- The status of the validation for a new software bill of materials added to a software package version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recipe
The inline job document associated with a software package version used for a quick job deployment.
- Parameters:
recipe
- The inline job document associated with a software package version used for a quick job deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-