@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 version.
|
PackageVersionOrigin |
getOrigin()
A
PackageVersionOrigin object that contains information about how the package version was added to the
repository.
|
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 version.
|
void |
setOrigin(PackageVersionOrigin origin)
A
PackageVersionOrigin object that contains information about how the package version was added to the
repository.
|
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 version.
|
PackageVersionDescription |
withOrigin(PackageVersionOrigin origin)
A
PackageVersionOrigin object that contains information about how the package version was added to the
repository.
|
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.
format
- The format of the package version.PackageFormat
public String getFormat()
The format of the package version.
PackageFormat
public PackageVersionDescription withFormat(String format)
The format of the package version.
format
- The format of the package version.PackageFormat
public PackageVersionDescription withFormat(PackageFormat format)
The format of the package version.
format
- The format of the package version.PackageFormat
public void setNamespace(String namespace)
The namespace of the package version. The package version 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 package version is its scope
.
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
namespace
- The namespace of the package version. The package version 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 package version is its scope
.
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
public String getNamespace()
The namespace of the package version. The package version 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 package version is its scope
.
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of a Maven package version is its groupId
.
The namespace of an npm package version is its scope
.
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
public PackageVersionDescription withNamespace(String namespace)
The namespace of the package version. The package version 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 package version is its scope
.
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
namespace
- The namespace of the package version. The package version 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 package version is its scope
.
Python and NuGet package versions do not contain a corresponding component, package versions of those formats 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.
status
- A string that contains the status of the package version.PackageVersionStatus
public String getStatus()
A string that contains the status of the package version.
PackageVersionStatus
public PackageVersionDescription withStatus(String status)
A string that contains the status of the package version.
status
- A string that contains the status of the package version.PackageVersionStatus
public PackageVersionDescription withStatus(PackageVersionStatus status)
A string that contains the status of the package version.
status
- A string that contains the status of the package version.PackageVersionStatus
public void setOrigin(PackageVersionOrigin origin)
A PackageVersionOrigin object that contains information about how the package version was added to the repository.
origin
- A
PackageVersionOrigin object that contains information about how the package version was added to the
repository.public PackageVersionOrigin getOrigin()
A PackageVersionOrigin object that contains information about how the package version was added to the repository.
public PackageVersionDescription withOrigin(PackageVersionOrigin origin)
A PackageVersionOrigin object that contains information about how the package version was added to the repository.
origin
- A
PackageVersionOrigin object that contains information about how the package version was added to the
repository.public String toString()
toString
in class Object
Object.toString()
public PackageVersionDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.