Interface PackageVersionSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PackageVersionSummary.Builder,
,PackageVersionSummary> SdkBuilder<PackageVersionSummary.Builder,
,PackageVersionSummary> SdkPojo
- Enclosing class:
PackageVersionSummary
public static interface PackageVersionSummary.Builder
extends SdkPojo, CopyableBuilder<PackageVersionSummary.Builder,PackageVersionSummary>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PackageVersionSummary.Builder
origin
(Consumer<PackageVersionOrigin.Builder> origin) A PackageVersionOrigin object that contains information about how the package version was added to the repository.origin
(PackageVersionOrigin origin) A PackageVersionOrigin object that contains information about how the package version was added to the repository.The revision associated with a package version.A string that contains the status of the package version.status
(PackageVersionStatus status) A string that contains the status of the package version.Information about a package version.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
version
Information about a package version.
- Parameters:
version
- Information about a package version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revision
The revision associated with a package version.
- Parameters:
revision
- The revision associated with a package version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
A string that contains the status of the package version. It can be one of the following:
- Parameters:
status
- A string that contains the status of the package version. It can be one of the following:- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
A string that contains the status of the package version. It can be one of the following:
- Parameters:
status
- A string that contains the status of the package version. It can be one of the following:- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
origin
A PackageVersionOrigin object that contains information about how the package version was added to the repository.
- Parameters:
origin
- A PackageVersionOrigin object that contains information about how the package version was added to the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
origin
A PackageVersionOrigin object that contains information about how the package version was added to the repository.
This is a convenience method that creates an instance of thePackageVersionOrigin.Builder
avoiding the need to create one manually viaPackageVersionOrigin.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toorigin(PackageVersionOrigin)
.- Parameters:
origin
- a consumer that will call methods onPackageVersionOrigin.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-