@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPackageVersionAssetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListPackageVersionAssetsResult() |
Modifier and Type | Method and Description |
---|---|
ListPackageVersionAssetsResult |
clone() |
boolean |
equals(Object obj) |
List<AssetSummary> |
getAssets()
The returned list of
AssetSummary objects. |
String |
getFormat()
The format of the package that contains the returned package version assets.
|
String |
getNamespace()
The namespace of the package.
|
String |
getNextToken()
If there are additional results, this is the token for the next set of results.
|
String |
getPackage()
The name of the package that contains the returned package version assets.
|
String |
getVersion()
The version of the package associated with the returned assets.
|
String |
getVersionRevision()
The current revision associated with the package version.
|
int |
hashCode() |
void |
setAssets(Collection<AssetSummary> assets)
The returned list of
AssetSummary objects. |
void |
setFormat(String format)
The format of the package that contains the returned package version assets.
|
void |
setNamespace(String namespace)
The namespace of the package.
|
void |
setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
void |
setPackage(String packageValue)
The name of the package that contains the returned package version assets.
|
void |
setVersion(String version)
The version of the package associated with the returned assets.
|
void |
setVersionRevision(String versionRevision)
The current revision associated with the package version.
|
String |
toString()
Returns a string representation of this object.
|
ListPackageVersionAssetsResult |
withAssets(AssetSummary... assets)
The returned list of
AssetSummary objects. |
ListPackageVersionAssetsResult |
withAssets(Collection<AssetSummary> assets)
The returned list of
AssetSummary objects. |
ListPackageVersionAssetsResult |
withFormat(PackageFormat format)
The format of the package that contains the returned package version assets.
|
ListPackageVersionAssetsResult |
withFormat(String format)
The format of the package that contains the returned package version assets.
|
ListPackageVersionAssetsResult |
withNamespace(String namespace)
The namespace of the package.
|
ListPackageVersionAssetsResult |
withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
ListPackageVersionAssetsResult |
withPackage(String packageValue)
The name of the package that contains the returned package version assets.
|
ListPackageVersionAssetsResult |
withVersion(String version)
The version of the package associated with the returned assets.
|
ListPackageVersionAssetsResult |
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 that contains the returned package version assets.
format
- The format of the package that contains the returned package version assets.PackageFormat
public String getFormat()
The format of the package that contains the returned package version assets.
PackageFormat
public ListPackageVersionAssetsResult withFormat(String format)
The format of the package that contains the returned package version assets.
format
- The format of the package that contains the returned package version assets.PackageFormat
public ListPackageVersionAssetsResult withFormat(PackageFormat format)
The format of the package that contains the returned package version assets.
format
- The format of the package that contains the returned package version assets.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 ListPackageVersionAssetsResult 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 package version assets.
packageValue
- The name of the package that contains the returned package version assets.public String getPackage()
The name of the package that contains the returned package version assets.
public ListPackageVersionAssetsResult withPackage(String packageValue)
The name of the package that contains the returned package version assets.
packageValue
- The name of the package that contains the returned package version assets.public void setVersion(String version)
The version of the package associated with the returned assets.
version
- The version of the package associated with the returned assets.public String getVersion()
The version of the package associated with the returned assets.
public ListPackageVersionAssetsResult withVersion(String version)
The version of the package associated with the returned assets.
version
- The version of the package associated with the returned assets.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 ListPackageVersionAssetsResult withVersionRevision(String versionRevision)
The current revision associated with the package version.
versionRevision
- The current revision associated with the package version.public void setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken
- If there are additional results, this is the token for the next set of results.public String getNextToken()
If there are additional results, this is the token for the next set of results.
public ListPackageVersionAssetsResult withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken
- If there are additional results, this is the token for the next set of results.public List<AssetSummary> getAssets()
The returned list of
AssetSummary
objects.
AssetSummary
objects.public void setAssets(Collection<AssetSummary> assets)
The returned list of
AssetSummary
objects.
assets
- The returned list of
AssetSummary
objects.public ListPackageVersionAssetsResult withAssets(AssetSummary... assets)
The returned list of
AssetSummary
objects.
NOTE: This method appends the values to the existing list (if any). Use
setAssets(java.util.Collection)
or withAssets(java.util.Collection)
if you want to override the
existing values.
assets
- The returned list of
AssetSummary
objects.public ListPackageVersionAssetsResult withAssets(Collection<AssetSummary> assets)
The returned list of
AssetSummary
objects.
assets
- The returned list of
AssetSummary
objects.public String toString()
toString
in class Object
Object.toString()
public ListPackageVersionAssetsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.