@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPackageVersionAssetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetPackageVersionAssetRequest() |
Modifier and Type | Method and Description |
---|---|
GetPackageVersionAssetRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAsset()
The name of the requested asset.
|
String |
getDomain()
The name of the domain that contains the repository that contains the package version with the requested asset.
|
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 asset file.
|
String |
getNamespace()
The namespace of the package version with the requested asset file.
|
String |
getPackage()
The name of the package that contains the requested asset.
|
String |
getPackageVersion()
A string that contains the package version (for example,
3.5.2 ). |
String |
getPackageVersionRevision()
The name of the package version revision that contains the requested asset.
|
String |
getRepository()
The repository that contains the package version with the requested asset.
|
int |
hashCode() |
void |
setAsset(String asset)
The name of the requested asset.
|
void |
setDomain(String domain)
The name of the domain that contains the repository that contains the package version with the requested asset.
|
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 asset file.
|
void |
setNamespace(String namespace)
The namespace of the package version with the requested asset file.
|
void |
setPackage(String packageValue)
The name of the package that contains the requested asset.
|
void |
setPackageVersion(String packageVersion)
A string that contains the package version (for example,
3.5.2 ). |
void |
setPackageVersionRevision(String packageVersionRevision)
The name of the package version revision that contains the requested asset.
|
void |
setRepository(String repository)
The repository that contains the package version with the requested asset.
|
String |
toString()
Returns a string representation of this object.
|
GetPackageVersionAssetRequest |
withAsset(String asset)
The name of the requested asset.
|
GetPackageVersionAssetRequest |
withDomain(String domain)
The name of the domain that contains the repository that contains the package version with the requested asset.
|
GetPackageVersionAssetRequest |
withDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
GetPackageVersionAssetRequest |
withFormat(PackageFormat format)
A format that specifies the type of the package version with the requested asset file.
|
GetPackageVersionAssetRequest |
withFormat(String format)
A format that specifies the type of the package version with the requested asset file.
|
GetPackageVersionAssetRequest |
withNamespace(String namespace)
The namespace of the package version with the requested asset file.
|
GetPackageVersionAssetRequest |
withPackage(String packageValue)
The name of the package that contains the requested asset.
|
GetPackageVersionAssetRequest |
withPackageVersion(String packageVersion)
A string that contains the package version (for example,
3.5.2 ). |
GetPackageVersionAssetRequest |
withPackageVersionRevision(String packageVersionRevision)
The name of the package version revision that contains the requested asset.
|
GetPackageVersionAssetRequest |
withRepository(String repository)
The repository that contains the package version with the requested asset.
|
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 asset.
domain
- The name of the domain that contains the repository that contains the package version with the requested
asset.public String getDomain()
The name of the domain that contains the repository that contains the package version with the requested asset.
public GetPackageVersionAssetRequest withDomain(String domain)
The name of the domain that contains the repository that contains the package version with the requested asset.
domain
- The name of the domain that contains the repository that contains the package version with the requested
asset.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 GetPackageVersionAssetRequest 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 version with the requested asset.
repository
- The repository that contains the package version with the requested asset.public String getRepository()
The repository that contains the package version with the requested asset.
public GetPackageVersionAssetRequest withRepository(String repository)
The repository that contains the package version with the requested asset.
repository
- The repository that contains the package version with the requested asset.public void setFormat(String format)
A format that specifies the type of the package version with the requested asset file.
format
- A format that specifies the type of the package version with the requested asset file.PackageFormat
public String getFormat()
A format that specifies the type of the package version with the requested asset file.
PackageFormat
public GetPackageVersionAssetRequest withFormat(String format)
A format that specifies the type of the package version with the requested asset file.
format
- A format that specifies the type of the package version with the requested asset file.PackageFormat
public GetPackageVersionAssetRequest withFormat(PackageFormat format)
A format that specifies the type of the package version with the requested asset file.
format
- A format that specifies the type of the package version with the requested asset file.PackageFormat
public void setNamespace(String namespace)
The namespace of the package version with the requested asset file. The package component that specifies its namespace depends on its type. For example:
The namespace is required when requesting assets 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 asset file. The package component that specifies
its namespace depends on its type. For example: The namespace is required when requesting assets 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 asset file. The package component that specifies its namespace depends on its type. For example:
The namespace is required when requesting assets 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 assets 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 GetPackageVersionAssetRequest withNamespace(String namespace)
The namespace of the package version with the requested asset file. The package component that specifies its namespace depends on its type. For example:
The namespace is required when requesting assets 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 asset file. The package component that specifies
its namespace depends on its type. For example: The namespace is required when requesting assets 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 that contains the requested asset.
packageValue
- The name of the package that contains the requested asset.public String getPackage()
The name of the package that contains the requested asset.
public GetPackageVersionAssetRequest withPackage(String packageValue)
The name of the package that contains the requested asset.
packageValue
- The name of the package that contains the requested asset.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 GetPackageVersionAssetRequest 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 void setAsset(String asset)
The name of the requested asset.
asset
- The name of the requested asset.public String getAsset()
The name of the requested asset.
public GetPackageVersionAssetRequest withAsset(String asset)
The name of the requested asset.
asset
- The name of the requested asset.public void setPackageVersionRevision(String packageVersionRevision)
The name of the package version revision that contains the requested asset.
packageVersionRevision
- The name of the package version revision that contains the requested asset.public String getPackageVersionRevision()
The name of the package version revision that contains the requested asset.
public GetPackageVersionAssetRequest withPackageVersionRevision(String packageVersionRevision)
The name of the package version revision that contains the requested asset.
packageVersionRevision
- The name of the package version revision that contains the requested asset.public String toString()
toString
in class Object
Object.toString()
public GetPackageVersionAssetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()