@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPackageVersionAssetResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetPackageVersionAssetResult() |
Modifier and Type | Method and Description |
---|---|
GetPackageVersionAssetResult |
clone() |
boolean |
equals(Object obj) |
InputStream |
getAsset()
The binary file, or asset, that is downloaded.
|
String |
getAssetName()
The name of the asset that is downloaded.
|
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 downloaded asset.
|
int |
hashCode() |
void |
setAsset(InputStream asset)
The binary file, or asset, that is downloaded.
|
void |
setAssetName(String assetName)
The name of the asset that is downloaded.
|
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 downloaded asset.
|
String |
toString()
Returns a string representation of this object.
|
GetPackageVersionAssetResult |
withAsset(InputStream asset)
The binary file, or asset, that is downloaded.
|
GetPackageVersionAssetResult |
withAssetName(String assetName)
The name of the asset that is downloaded.
|
GetPackageVersionAssetResult |
withPackageVersion(String packageVersion)
A string that contains the package version (for example,
3.5.2 ). |
GetPackageVersionAssetResult |
withPackageVersionRevision(String packageVersionRevision)
The name of the package version revision that contains the downloaded asset.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAsset(InputStream asset)
The binary file, or asset, that is downloaded.
asset
- The binary file, or asset, that is downloaded.public InputStream getAsset()
The binary file, or asset, that is downloaded.
public GetPackageVersionAssetResult withAsset(InputStream asset)
The binary file, or asset, that is downloaded.
asset
- The binary file, or asset, that is downloaded.public void setAssetName(String assetName)
The name of the asset that is downloaded.
assetName
- The name of the asset that is downloaded.public String getAssetName()
The name of the asset that is downloaded.
public GetPackageVersionAssetResult withAssetName(String assetName)
The name of the asset that is downloaded.
assetName
- The name of the asset that is downloaded.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 GetPackageVersionAssetResult 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 setPackageVersionRevision(String packageVersionRevision)
The name of the package version revision that contains the downloaded asset.
packageVersionRevision
- The name of the package version revision that contains the downloaded asset.public String getPackageVersionRevision()
The name of the package version revision that contains the downloaded asset.
public GetPackageVersionAssetResult withPackageVersionRevision(String packageVersionRevision)
The name of the package version revision that contains the downloaded asset.
packageVersionRevision
- The name of the package version revision that contains the downloaded asset.public String toString()
toString
in class Object
Object.toString()
public GetPackageVersionAssetResult clone()