@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPackageVersionReadmeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetPackageVersionReadmeRequest() |
Modifier and Type | Method and Description |
---|---|
GetPackageVersionReadmeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDomain()
The name of the domain that contains the repository that contains the package version with the requested readme
file.
|
String |
getDomainOwner()
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
String |
getFormat()
A format that specifies the type of the package version 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 version that contains the requested readme file.
|
String |
getPackageVersion()
A string that contains the package version (for example,
3.5.2 ). |
String |
getRepository()
The repository that contains the package with the requested readme file.
|
int |
hashCode() |
void |
setDomain(String domain)
The name of the domain that contains the repository that contains the package version with the requested readme
file.
|
void |
setDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
void |
setFormat(String format)
A format that specifies the type of the package version 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 version that contains the requested readme file.
|
void |
setPackageVersion(String packageVersion)
A string that contains the package version (for example,
3.5.2 ). |
void |
setRepository(String repository)
The repository that contains the package with the requested readme file.
|
String |
toString()
Returns a string representation of this object.
|
GetPackageVersionReadmeRequest |
withDomain(String domain)
The name of the domain that contains the repository that contains the package version with the requested readme
file.
|
GetPackageVersionReadmeRequest |
withDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
GetPackageVersionReadmeRequest |
withFormat(PackageFormat format)
A format that specifies the type of the package version with the requested readme file.
|
GetPackageVersionReadmeRequest |
withFormat(String format)
A format that specifies the type of the package version with the requested readme file.
|
GetPackageVersionReadmeRequest |
withNamespace(String namespace)
The namespace of the package version with the requested readme file.
|
GetPackageVersionReadmeRequest |
withPackage(String packageValue)
The name of the package version that contains the requested readme file.
|
GetPackageVersionReadmeRequest |
withPackageVersion(String packageVersion)
A string that contains the package version (for example,
3.5.2 ). |
GetPackageVersionReadmeRequest |
withRepository(String repository)
The repository that contains the package with the requested readme file.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDomain(String domain)
The name of the domain that contains the repository that contains the package version with the requested readme file.
domain
- The name of the domain that contains the repository that contains the package version with the requested
readme file.public String getDomain()
The name of the domain that contains the repository that contains the package version with the requested readme file.
public GetPackageVersionReadmeRequest withDomain(String domain)
The name of the domain that contains the repository that contains the package version with the requested readme file.
domain
- The name of the domain that contains the repository that contains the package version with the requested
readme file.public void setDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
domainOwner
- The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
dashes or spaces.public String getDomainOwner()
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
public GetPackageVersionReadmeRequest withDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
domainOwner
- The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
dashes or spaces.public void setRepository(String repository)
The repository that contains the package with the requested readme file.
repository
- The repository that contains the package with the requested readme file.public String getRepository()
The repository that contains the package with the requested readme file.
public GetPackageVersionReadmeRequest withRepository(String repository)
The repository that contains the package with the requested readme file.
repository
- The repository that contains the package with the requested readme file.public void setFormat(String format)
A format that specifies the type of the package version with the requested readme file.
format
- A format that specifies the type of the package version with the requested readme file.PackageFormat
public String getFormat()
A format that specifies the type of the package version with the requested readme file.
PackageFormat
public GetPackageVersionReadmeRequest withFormat(String format)
A format that specifies the type of the package version with the requested readme file.
format
- A format that specifies the type of the package version with the requested readme file.PackageFormat
public GetPackageVersionReadmeRequest withFormat(PackageFormat format)
A format that specifies the type of the package version with the requested readme file.
format
- A format that specifies the type of the package version 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 is required when requesting the readme from package versions of the following formats:
Maven
Swift
generic
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 is required when requesting the readme from package versions of the following formats:
Maven
Swift
generic
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 is required when requesting the readme from package versions of the following formats:
Maven
Swift
generic
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 is required when requesting the readme from package versions of the following formats:
Maven
Swift
generic
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 GetPackageVersionReadmeRequest 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 is required when requesting the readme from package versions of the following formats:
Maven
Swift
generic
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 is required when requesting the readme from package versions of the following formats:
Maven
Swift
generic
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 version that contains the requested readme file.
packageValue
- The name of the package version that contains the requested readme file.public String getPackage()
The name of the package version that contains the requested readme file.
public GetPackageVersionReadmeRequest withPackage(String packageValue)
The name of the package version that contains the requested readme file.
packageValue
- The name of the package version that contains the requested readme file.public void setPackageVersion(String packageVersion)
A string that contains the package version (for example, 3.5.2
).
packageVersion
- A string that contains the package version (for example, 3.5.2
).public String getPackageVersion()
A string that contains the package version (for example, 3.5.2
).
3.5.2
).public GetPackageVersionReadmeRequest withPackageVersion(String packageVersion)
A string that contains the package version (for example, 3.5.2
).
packageVersion
- A string that contains the package version (for example, 3.5.2
).public String toString()
toString
in class Object
Object.toString()
public GetPackageVersionReadmeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()