@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PackageVersionDescription extends Object implements Serializable, Cloneable, StructuredPojo
Details about a package version.
| Constructor and Description | 
|---|
| PackageVersionDescription() | 
| Modifier and Type | Method and Description | 
|---|---|
| PackageVersionDescription | clone() | 
| boolean | equals(Object obj) | 
| String | getDisplayName()
 The name of the package that is displayed. | 
| String | getFormat()
 The format of the package version. | 
| String | getHomePage()
 The homepage associated with the package. | 
| List<LicenseInfo> | getLicenses()
 Information about licenses associated with the package version. | 
| String | getNamespace()
 The namespace of the package. | 
| String | getPackageName()
 The name of the requested package. | 
| Date | getPublishedTime()
 A timestamp that contains the date and time the package version was published. | 
| String | getRevision()
 The revision of the package version. | 
| String | getSourceCodeRepository()
 The repository for the source code in the package version, or the source code used to build it. | 
| String | getStatus()
 A string that contains the status of the package version. | 
| String | getSummary()
 A summary of the package version. | 
| String | getVersion()
 The version of the package. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setDisplayName(String displayName)
 The name of the package that is displayed. | 
| void | setFormat(String format)
 The format of the package version. | 
| void | setHomePage(String homePage)
 The homepage associated with the package. | 
| void | setLicenses(Collection<LicenseInfo> licenses)
 Information about licenses associated with the package version. | 
| void | setNamespace(String namespace)
 The namespace of the package. | 
| void | setPackageName(String packageName)
 The name of the requested package. | 
| void | setPublishedTime(Date publishedTime)
 A timestamp that contains the date and time the package version was published. | 
| void | setRevision(String revision)
 The revision of the package version. | 
| void | setSourceCodeRepository(String sourceCodeRepository)
 The repository for the source code in the package version, or the source code used to build it. | 
| void | setStatus(String status)
 A string that contains the status of the package version. | 
| void | setSummary(String summary)
 A summary of the package version. | 
| void | setVersion(String version)
 The version of the package. | 
| String | toString()Returns a string representation of this object. | 
| PackageVersionDescription | withDisplayName(String displayName)
 The name of the package that is displayed. | 
| PackageVersionDescription | withFormat(PackageFormat format)
 The format of the package version. | 
| PackageVersionDescription | withFormat(String format)
 The format of the package version. | 
| PackageVersionDescription | withHomePage(String homePage)
 The homepage associated with the package. | 
| PackageVersionDescription | withLicenses(Collection<LicenseInfo> licenses)
 Information about licenses associated with the package version. | 
| PackageVersionDescription | withLicenses(LicenseInfo... licenses)
 Information about licenses associated with the package version. | 
| PackageVersionDescription | withNamespace(String namespace)
 The namespace of the package. | 
| PackageVersionDescription | withPackageName(String packageName)
 The name of the requested package. | 
| PackageVersionDescription | withPublishedTime(Date publishedTime)
 A timestamp that contains the date and time the package version was published. | 
| PackageVersionDescription | withRevision(String revision)
 The revision of the package version. | 
| PackageVersionDescription | withSourceCodeRepository(String sourceCodeRepository)
 The repository for the source code in the package version, or the source code used to build it. | 
| PackageVersionDescription | withStatus(PackageVersionStatus status)
 A string that contains the status of the package version. | 
| PackageVersionDescription | withStatus(String status)
 A string that contains the status of the package version. | 
| PackageVersionDescription | withSummary(String summary)
 A summary of the package version. | 
| PackageVersionDescription | withVersion(String version)
 The version of the package. | 
public void setFormat(String format)
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.
 
format - 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.
        
PackageFormatpublic String getFormat()
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.
 
         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.
         
PackageFormatpublic PackageVersionDescription withFormat(String format)
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.
 
format - 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.
        
PackageFormatpublic PackageVersionDescription withFormat(PackageFormat format)
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.
 
format - 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.
        
PackageFormatpublic void setNamespace(String 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.
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.
public String getNamespace()
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 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.
public PackageVersionDescription withNamespace(String 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.
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.
public void setPackageName(String packageName)
The name of the requested package.
packageName - The name of the requested package.public String getPackageName()
The name of the requested package.
public PackageVersionDescription withPackageName(String packageName)
The name of the requested package.
packageName - The name of the requested package.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.
 
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.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.
 
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.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.
 
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.public void setVersion(String version)
The version of the package.
version - The version of the package.public String getVersion()
The version of the package.
public PackageVersionDescription withVersion(String version)
The version of the package.
version - The version of the package.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.
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.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.
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.
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.public void setHomePage(String homePage)
The homepage associated with the package.
homePage - The homepage associated with the package.public String getHomePage()
The homepage associated with the package.
public PackageVersionDescription withHomePage(String homePage)
The homepage associated with the package.
homePage - The homepage associated with the package.public void setSourceCodeRepository(String sourceCodeRepository)
The repository for the source code in the package version, or the source code used to build it.
sourceCodeRepository - The repository for the source code in the package version, or the source code used to build it.public String getSourceCodeRepository()
The repository for the source code in the package version, or the source code used to build it.
public PackageVersionDescription withSourceCodeRepository(String sourceCodeRepository)
The repository for the source code in the package version, or the source code used to build it.
sourceCodeRepository - The repository for the source code in the package version, or the source code used to build it.public void setPublishedTime(Date publishedTime)
A timestamp that contains the date and time the package version was published.
publishedTime - A timestamp that contains the date and time the package version was published.public Date getPublishedTime()
A timestamp that contains the date and time the package version was published.
public PackageVersionDescription withPublishedTime(Date publishedTime)
A timestamp that contains the date and time the package version was published.
publishedTime - A timestamp that contains the date and time the package version was published.public List<LicenseInfo> getLicenses()
Information about licenses associated with the package version.
public void setLicenses(Collection<LicenseInfo> licenses)
Information about licenses associated with the package version.
licenses - Information about licenses associated with the package version.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.
 
licenses - Information about licenses associated with the package version.public PackageVersionDescription withLicenses(Collection<LicenseInfo> licenses)
Information about licenses associated with the package version.
licenses - Information about licenses associated with the package version.public void setRevision(String revision)
The revision of the package version.
revision - The revision of the package version.public String getRevision()
The revision of the package version.
public PackageVersionDescription withRevision(String revision)
The revision of the package version.
revision - The revision of the package version.public void setStatus(String status)
A string that contains the status of the package version. It can be one of the following:
 Published
 
 Unfinished
 
 Unlisted
 
 Archived
 
 Disposed
 
status - A string that contains the status of the package version. It can be one of the following: 
        
        Published
        
        Unfinished
        
        Unlisted
        
        Archived
        
        Disposed
        
PackageVersionStatuspublic String getStatus()
A string that contains the status of the package version. It can be one of the following:
 Published
 
 Unfinished
 
 Unlisted
 
 Archived
 
 Disposed
 
         Published
         
         Unfinished
         
         Unlisted
         
         Archived
         
         Disposed
         
PackageVersionStatuspublic PackageVersionDescription withStatus(String status)
A string that contains the status of the package version. It can be one of the following:
 Published
 
 Unfinished
 
 Unlisted
 
 Archived
 
 Disposed
 
status - A string that contains the status of the package version. It can be one of the following: 
        
        Published
        
        Unfinished
        
        Unlisted
        
        Archived
        
        Disposed
        
PackageVersionStatuspublic PackageVersionDescription withStatus(PackageVersionStatus status)
A string that contains the status of the package version. It can be one of the following:
 Published
 
 Unfinished
 
 Unlisted
 
 Archived
 
 Disposed
 
status - A string that contains the status of the package version. It can be one of the following: 
        
        Published
        
        Unfinished
        
        Unlisted
        
        Archived
        
        Disposed
        
PackageVersionStatuspublic String toString()
toString in class ObjectObject.toString()public PackageVersionDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.