@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 version with the requested readme file.
|
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 version with the requested readme file.
|
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 version with the requested readme file.
|
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.
format
- The format of the package with the requested readme file.PackageFormat
public String getFormat()
The format of the package with the requested readme file.
PackageFormat
public GetPackageVersionReadmeResult withFormat(String format)
The format of the package with the requested readme file.
format
- The format of the package with the requested readme file.PackageFormat
public GetPackageVersionReadmeResult withFormat(PackageFormat format)
The format of the package with the requested readme file.
format
- The format of the package with the requested readme file.PackageFormat
public void setNamespace(String namespace)
The namespace of the package version with the requested readme file. 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.
namespace
- The namespace of the package version with the requested readme file. 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.
public String getNamespace()
The namespace of the package version with the requested readme file. 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.
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.
public GetPackageVersionReadmeResult withNamespace(String namespace)
The namespace of the package version with the requested readme file. 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.
namespace
- The namespace of the package version with the requested readme file. 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.
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()