@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPackageVersionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetPackageVersionResult() |
Modifier and Type | Method and Description |
---|---|
GetPackageVersionResult |
addAttributesEntry(String key,
String value)
Add a single Attributes entry
|
GetPackageVersionResult |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
GetPackageVersionResult |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAttributes()
Metadata that were added to the package version that can be used to define a package version’s configuration.
|
Date |
getCreationDate()
The date when the package version was created.
|
String |
getDescription()
The package version description.
|
String |
getErrorReason()
Error reason for a package version failure during creation or update.
|
Date |
getLastModifiedDate()
The date when the package version was last updated.
|
String |
getPackageName()
The name of the software package.
|
String |
getPackageVersionArn()
The ARN for the package version.
|
String |
getStatus()
The status associated to the package version.
|
String |
getVersionName()
The name of the package version.
|
int |
hashCode() |
void |
setAttributes(Map<String,String> attributes)
Metadata that were added to the package version that can be used to define a package version’s configuration.
|
void |
setCreationDate(Date creationDate)
The date when the package version was created.
|
void |
setDescription(String description)
The package version description.
|
void |
setErrorReason(String errorReason)
Error reason for a package version failure during creation or update.
|
void |
setLastModifiedDate(Date lastModifiedDate)
The date when the package version was last updated.
|
void |
setPackageName(String packageName)
The name of the software package.
|
void |
setPackageVersionArn(String packageVersionArn)
The ARN for the package version.
|
void |
setStatus(String status)
The status associated to the package version.
|
void |
setVersionName(String versionName)
The name of the package version.
|
String |
toString()
Returns a string representation of this object.
|
GetPackageVersionResult |
withAttributes(Map<String,String> attributes)
Metadata that were added to the package version that can be used to define a package version’s configuration.
|
GetPackageVersionResult |
withCreationDate(Date creationDate)
The date when the package version was created.
|
GetPackageVersionResult |
withDescription(String description)
The package version description.
|
GetPackageVersionResult |
withErrorReason(String errorReason)
Error reason for a package version failure during creation or update.
|
GetPackageVersionResult |
withLastModifiedDate(Date lastModifiedDate)
The date when the package version was last updated.
|
GetPackageVersionResult |
withPackageName(String packageName)
The name of the software package.
|
GetPackageVersionResult |
withPackageVersionArn(String packageVersionArn)
The ARN for the package version.
|
GetPackageVersionResult |
withStatus(PackageVersionStatus status)
The status associated to the package version.
|
GetPackageVersionResult |
withStatus(String status)
The status associated to the package version.
|
GetPackageVersionResult |
withVersionName(String versionName)
The name of the package version.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPackageVersionArn(String packageVersionArn)
The ARN for the package version.
packageVersionArn
- The ARN for the package version.public String getPackageVersionArn()
The ARN for the package version.
public GetPackageVersionResult withPackageVersionArn(String packageVersionArn)
The ARN for the package version.
packageVersionArn
- The ARN for the package version.public void setPackageName(String packageName)
The name of the software package.
packageName
- The name of the software package.public String getPackageName()
The name of the software package.
public GetPackageVersionResult withPackageName(String packageName)
The name of the software package.
packageName
- The name of the software package.public void setVersionName(String versionName)
The name of the package version.
versionName
- The name of the package version.public String getVersionName()
The name of the package version.
public GetPackageVersionResult withVersionName(String versionName)
The name of the package version.
versionName
- The name of the package version.public void setDescription(String description)
The package version description.
description
- The package version description.public String getDescription()
The package version description.
public GetPackageVersionResult withDescription(String description)
The package version description.
description
- The package version description.public Map<String,String> getAttributes()
Metadata that were added to the package version that can be used to define a package version’s configuration.
public void setAttributes(Map<String,String> attributes)
Metadata that were added to the package version that can be used to define a package version’s configuration.
attributes
- Metadata that were added to the package version that can be used to define a package version’s
configuration.public GetPackageVersionResult withAttributes(Map<String,String> attributes)
Metadata that were added to the package version that can be used to define a package version’s configuration.
attributes
- Metadata that were added to the package version that can be used to define a package version’s
configuration.public GetPackageVersionResult addAttributesEntry(String key, String value)
public GetPackageVersionResult clearAttributesEntries()
public void setStatus(String status)
The status associated to the package version. For more information, see Package version lifecycle.
status
- The status associated to the package version. For more information, see Package version lifecycle.PackageVersionStatus
public String getStatus()
The status associated to the package version. For more information, see Package version lifecycle.
PackageVersionStatus
public GetPackageVersionResult withStatus(String status)
The status associated to the package version. For more information, see Package version lifecycle.
status
- The status associated to the package version. For more information, see Package version lifecycle.PackageVersionStatus
public GetPackageVersionResult withStatus(PackageVersionStatus status)
The status associated to the package version. For more information, see Package version lifecycle.
status
- The status associated to the package version. For more information, see Package version lifecycle.PackageVersionStatus
public void setErrorReason(String errorReason)
Error reason for a package version failure during creation or update.
errorReason
- Error reason for a package version failure during creation or update.public String getErrorReason()
Error reason for a package version failure during creation or update.
public GetPackageVersionResult withErrorReason(String errorReason)
Error reason for a package version failure during creation or update.
errorReason
- Error reason for a package version failure during creation or update.public void setCreationDate(Date creationDate)
The date when the package version was created.
creationDate
- The date when the package version was created.public Date getCreationDate()
The date when the package version was created.
public GetPackageVersionResult withCreationDate(Date creationDate)
The date when the package version was created.
creationDate
- The date when the package version was created.public void setLastModifiedDate(Date lastModifiedDate)
The date when the package version was last updated.
lastModifiedDate
- The date when the package version was last updated.public Date getLastModifiedDate()
The date when the package version was last updated.
public GetPackageVersionResult withLastModifiedDate(Date lastModifiedDate)
The date when the package version was last updated.
lastModifiedDate
- The date when the package version was last updated.public String toString()
toString
in class Object
Object.toString()
public GetPackageVersionResult clone()