JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.codeartifact.model

Class PackageVersionDescription

    • Constructor Detail

      • PackageVersionDescription

        public PackageVersionDescription()
    • Method Detail

      • setFormat

        public void setFormat(String format)

        The format of the package version.

        Parameters:
        format - The format of the package version.
        See Also:
        PackageFormat
      • getFormat

        public String getFormat()

        The format of the package version.

        Returns:
        The format of the package version.
        See Also:
        PackageFormat
      • withFormat

        public PackageVersionDescription withFormat(String format)

        The format of the package version.

        Parameters:
        format - The format of the package version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PackageFormat
      • withFormat

        public PackageVersionDescription withFormat(PackageFormat format)

        The format of the package version.

        Parameters:
        format - The format of the package version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PackageFormat
      • setNamespace

        public void setNamespace(String namespace)

        The namespace of the package version. The package component that specifies its namespace depends on its type. For example:

        • The namespace of a Maven package version is its groupId.

        • The namespace of an npm or Swift package version is its scope.

        • The namespace of a generic package is its namespace.

        • Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

        Parameters:
        namespace - The namespace of the package version. The package component that specifies its namespace depends on its type. For example:

        • The namespace of a Maven package version is its groupId.

        • The namespace of an npm or Swift package version is its scope.

        • The namespace of a generic package is its namespace.

        • Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

      • getNamespace

        public String getNamespace()

        The namespace of the package version. The package component that specifies its namespace depends on its type. For example:

        • The namespace of a Maven package version is its groupId.

        • The namespace of an npm or Swift package version is its scope.

        • The namespace of a generic package is its namespace.

        • Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

        Returns:
        The namespace of the package version. The package component that specifies its namespace depends on its type. For example:

        • The namespace of a Maven package version is its groupId.

        • The namespace of an npm or Swift package version is its scope.

        • The namespace of a generic package is its namespace.

        • Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

      • withNamespace

        public PackageVersionDescription withNamespace(String namespace)

        The namespace of the package version. The package component that specifies its namespace depends on its type. For example:

        • The namespace of a Maven package version is its groupId.

        • The namespace of an npm or Swift package version is its scope.

        • The namespace of a generic package is its namespace.

        • Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

        Parameters:
        namespace - The namespace of the package version. The package component that specifies its namespace depends on its type. For example:

        • The namespace of a Maven package version is its groupId.

        • The namespace of an npm or Swift package version is its scope.

        • The namespace of a generic package is its namespace.

        • Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPackageName

        public void setPackageName(String packageName)

        The name of the requested package.

        Parameters:
        packageName - The name of the requested package.
      • getPackageName

        public String getPackageName()

        The name of the requested package.

        Returns:
        The name of the requested package.
      • withPackageName

        public PackageVersionDescription withPackageName(String packageName)

        The name of the requested package.

        Parameters:
        packageName - The name of the requested package.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDisplayName

        public void setDisplayName(String displayName)

        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.

        Parameters:
        displayName - 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.
      • getDisplayName

        public String getDisplayName()

        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.

        Returns:
        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.
      • withDisplayName

        public PackageVersionDescription withDisplayName(String displayName)

        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.

        Parameters:
        displayName - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setVersion

        public void setVersion(String version)

        The version of the package.

        Parameters:
        version - The version of the package.
      • getVersion

        public String getVersion()

        The version of the package.

        Returns:
        The version of the package.
      • withVersion

        public PackageVersionDescription withVersion(String version)

        The version of the package.

        Parameters:
        version - The version of the package.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSummary

        public void setSummary(String summary)

        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.

        Parameters:
        summary - 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.
      • getSummary

        public String getSummary()

        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.

        Returns:
        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.
      • withSummary

        public PackageVersionDescription withSummary(String summary)

        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.

        Parameters:
        summary - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setHomePage

        public void setHomePage(String homePage)

        The homepage associated with the package.

        Parameters:
        homePage - The homepage associated with the package.
      • getHomePage

        public String getHomePage()

        The homepage associated with the package.

        Returns:
        The homepage associated with the package.
      • withHomePage

        public PackageVersionDescription withHomePage(String homePage)

        The homepage associated with the package.

        Parameters:
        homePage - The homepage associated with the package.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSourceCodeRepository

        public void setSourceCodeRepository(String sourceCodeRepository)

        The repository for the source code in the package version, or the source code used to build it.

        Parameters:
        sourceCodeRepository - The repository for the source code in the package version, or the source code used to build it.
      • getSourceCodeRepository

        public String getSourceCodeRepository()

        The repository for the source code in the package version, or the source code used to build it.

        Returns:
        The repository for the source code in the package version, or the source code used to build it.
      • withSourceCodeRepository

        public PackageVersionDescription withSourceCodeRepository(String sourceCodeRepository)

        The repository for the source code in the package version, or the source code used to build it.

        Parameters:
        sourceCodeRepository - The repository for the source code in the package version, or the source code used to build it.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPublishedTime

        public void setPublishedTime(Date publishedTime)

        A timestamp that contains the date and time the package version was published.

        Parameters:
        publishedTime - A timestamp that contains the date and time the package version was published.
      • getPublishedTime

        public Date getPublishedTime()

        A timestamp that contains the date and time the package version was published.

        Returns:
        A timestamp that contains the date and time the package version was published.
      • withPublishedTime

        public PackageVersionDescription withPublishedTime(Date publishedTime)

        A timestamp that contains the date and time the package version was published.

        Parameters:
        publishedTime - A timestamp that contains the date and time the package version was published.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getLicenses

        public List<LicenseInfo> getLicenses()

        Information about licenses associated with the package version.

        Returns:
        Information about licenses associated with the package version.
      • setLicenses

        public void setLicenses(Collection<LicenseInfo> licenses)

        Information about licenses associated with the package version.

        Parameters:
        licenses - Information about licenses associated with the package version.
      • withLicenses

        public PackageVersionDescription withLicenses(LicenseInfo... licenses)

        Information about licenses associated with the package version.

        NOTE: This method appends the values to the existing list (if any). Use setLicenses(java.util.Collection) or withLicenses(java.util.Collection) if you want to override the existing values.

        Parameters:
        licenses - Information about licenses associated with the package version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withLicenses

        public PackageVersionDescription withLicenses(Collection<LicenseInfo> licenses)

        Information about licenses associated with the package version.

        Parameters:
        licenses - Information about licenses associated with the package version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRevision

        public void setRevision(String revision)

        The revision of the package version.

        Parameters:
        revision - The revision of the package version.
      • getRevision

        public String getRevision()

        The revision of the package version.

        Returns:
        The revision of the package version.
      • withRevision

        public PackageVersionDescription withRevision(String revision)

        The revision of the package version.

        Parameters:
        revision - The revision of the package version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStatus

        public void setStatus(String status)

        A string that contains the status of the package version.

        Parameters:
        status - A string that contains the status of the package version.
        See Also:
        PackageVersionStatus
      • getStatus

        public String getStatus()

        A string that contains the status of the package version.

        Returns:
        A string that contains the status of the package version.
        See Also:
        PackageVersionStatus
      • withStatus

        public PackageVersionDescription withStatus(String status)

        A string that contains the status of the package version.

        Parameters:
        status - A string that contains the status of the package version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PackageVersionStatus
      • withStatus

        public PackageVersionDescription withStatus(PackageVersionStatus status)

        A string that contains the status of the package version.

        Parameters:
        status - A string that contains the status of the package version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PackageVersionStatus
      • setOrigin

        public void setOrigin(PackageVersionOrigin 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.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /