@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPackageVersionReadmeResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetPackageVersionReadmeResult() |
Modifier and Type | Method and Description |
---|---|
GetPackageVersionReadmeResult |
clone() |
boolean |
equals(Object obj) |
String |
getFormat()
The format of the package with the requested readme file.
|
String |
getNamespace()
The namespace of the package.
|
String |
getPackage()
The name of the package that contains the returned readme file.
|
String |
getReadme()
The text of the returned readme file.
|
String |
getVersion()
The version of the package with the requested readme file.
|
String |
getVersionRevision()
The current revision associated with the package version.
|
int |
hashCode() |
void |
setFormat(String format)
The format of the package with the requested readme file.
|
void |
setNamespace(String namespace)
The namespace of the package.
|
void |
setPackage(String packageValue)
The name of the package that contains the returned readme file.
|
void |
setReadme(String readme)
The text of the returned readme file.
|
void |
setVersion(String version)
The version of the package with the requested readme file.
|
void |
setVersionRevision(String versionRevision)
The current revision associated with the package version.
|
String |
toString()
Returns a string representation of this object.
|
GetPackageVersionReadmeResult |
withFormat(PackageFormat format)
The format of the package with the requested readme file.
|
GetPackageVersionReadmeResult |
withFormat(String format)
The format of the package with the requested readme file.
|
GetPackageVersionReadmeResult |
withNamespace(String namespace)
The namespace of the package.
|
GetPackageVersionReadmeResult |
withPackage(String packageValue)
The name of the package that contains the returned readme file.
|
GetPackageVersionReadmeResult |
withReadme(String readme)
The text of the returned readme file.
|
GetPackageVersionReadmeResult |
withVersion(String version)
The version of the package with the requested readme file.
|
GetPackageVersionReadmeResult |
withVersionRevision(String versionRevision)
The current revision associated with the package version.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setFormat(String format)
The format of the package with the requested readme file. Valid format types are:
npm
pypi
maven
format
- The format of the package with the requested readme file. Valid format types are:
npm
pypi
maven
PackageFormat
public String getFormat()
The format of the package with the requested readme file. Valid format types are:
npm
pypi
maven
npm
pypi
maven
PackageFormat
public GetPackageVersionReadmeResult withFormat(String format)
The format of the package with the requested readme file. Valid format types are:
npm
pypi
maven
format
- The format of the package with the requested readme file. Valid format types are:
npm
pypi
maven
PackageFormat
public GetPackageVersionReadmeResult withFormat(PackageFormat format)
The format of the package with the requested readme file. Valid format types are:
npm
pypi
maven
format
- The format of the package with the requested readme file. Valid format types are:
npm
pypi
maven
PackageFormat
public 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 GetPackageVersionReadmeResult 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 setPackage(String packageValue)
The name of the package that contains the returned readme file.
packageValue
- The name of the package that contains the returned readme file.public String getPackage()
The name of the package that contains the returned readme file.
public GetPackageVersionReadmeResult withPackage(String packageValue)
The name of the package that contains the returned readme file.
packageValue
- The name of the package that contains the returned readme file.public void setVersion(String version)
The version of the package with the requested readme file.
version
- The version of the package with the requested readme file.public String getVersion()
The version of the package with the requested readme file.
public GetPackageVersionReadmeResult withVersion(String version)
The version of the package with the requested readme file.
version
- The version of the package with the requested readme file.public void setVersionRevision(String versionRevision)
The current revision associated with the package version.
versionRevision
- The current revision associated with the package version.public String getVersionRevision()
The current revision associated with the package version.
public GetPackageVersionReadmeResult withVersionRevision(String versionRevision)
The current revision associated with the package version.
versionRevision
- The current revision associated with the package version.public void setReadme(String readme)
The text of the returned readme file.
readme
- The text of the returned readme file.public String getReadme()
The text of the returned readme file.
public GetPackageVersionReadmeResult withReadme(String readme)
The text of the returned readme file.
readme
- The text of the returned readme file.public String toString()
toString
in class Object
Object.toString()
public GetPackageVersionReadmeResult clone()