Struct aws_sdk_codeartifact::model::package_version_description::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for PackageVersionDescription
Implementations
The format of the package version. The valid package formats are:
-
npm
: A Node Package Manager (npm) package. -
pypi
: A Python Package Index (PyPI) package. -
maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
The format of the package version. The valid package formats are:
-
npm
: A Node Package Manager (npm) package. -
pypi
: A Python Package Index (PyPI) package. -
maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
The namespace of the package. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package is its
groupId
. -
The namespace of an npm package is its
scope
. -
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
The namespace of the package. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package is its
groupId
. -
The namespace of an npm package is its
scope
. -
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
The name of the requested package.
The name of the requested package.
The name of the package that is displayed. The displayName
varies depending
on the package version's format. For example, if an npm package is named ui
,
is in the namespace vue
, and has the format npm
, then
the displayName
is @vue/ui
.
The name of the package that is displayed. The displayName
varies depending
on the package version's format. For example, if an npm package is named ui
,
is in the namespace vue
, and has the format npm
, then
the displayName
is @vue/ui
.
The version of the package.
A summary of the package version. The summary is extracted from the package. The information in and detail level of the summary depends on the package version's format.
A summary of the package version. The summary is extracted from the package. The information in and detail level of the summary depends on the package version's format.
The homepage associated with the package.
The homepage associated with the package.
The repository for the source code in the package version, or the source code used to build it.
The repository for the source code in the package version, or the source code used to build it.
A timestamp that contains the date and time the package version was published.
A timestamp that contains the date and time the package version was published.
Appends an item to licenses
.
To override the contents of this collection use set_licenses
.
Information about licenses associated with the package version.
Information about licenses associated with the package version.
The revision of the package version.
A string that contains the status of the package version. It can be one of the following:
-
Published
-
Unfinished
-
Unlisted
-
Archived
-
Disposed
A string that contains the status of the package version. It can be one of the following:
-
Published
-
Unfinished
-
Unlisted
-
Archived
-
Disposed
Consumes the builder and constructs a PackageVersionDescription
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more