@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePackageVersionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreatePackageVersionResult() |
Modifier and Type | Method and Description |
---|---|
CreatePackageVersionResult |
addAttributesEntry(String key,
String value)
Add a single Attributes entry
|
CreatePackageVersionResult |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
CreatePackageVersionResult |
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.
|
String |
getDescription()
The package version description.
|
String |
getErrorReason()
Error reason for a package version failure during creation or update.
|
String |
getPackageName()
The name of the associated software package.
|
String |
getPackageVersionArn()
The Amazon Resource Name (ARN) for the package.
|
String |
getStatus()
The status of the package version.
|
String |
getVersionName()
The name of the new 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 |
setDescription(String description)
The package version description.
|
void |
setErrorReason(String errorReason)
Error reason for a package version failure during creation or update.
|
void |
setPackageName(String packageName)
The name of the associated software package.
|
void |
setPackageVersionArn(String packageVersionArn)
The Amazon Resource Name (ARN) for the package.
|
void |
setStatus(String status)
The status of the package version.
|
void |
setVersionName(String versionName)
The name of the new package version.
|
String |
toString()
Returns a string representation of this object.
|
CreatePackageVersionResult |
withAttributes(Map<String,String> attributes)
Metadata that were added to the package version that can be used to define a package version’s configuration.
|
CreatePackageVersionResult |
withDescription(String description)
The package version description.
|
CreatePackageVersionResult |
withErrorReason(String errorReason)
Error reason for a package version failure during creation or update.
|
CreatePackageVersionResult |
withPackageName(String packageName)
The name of the associated software package.
|
CreatePackageVersionResult |
withPackageVersionArn(String packageVersionArn)
The Amazon Resource Name (ARN) for the package.
|
CreatePackageVersionResult |
withStatus(PackageVersionStatus status)
The status of the package version.
|
CreatePackageVersionResult |
withStatus(String status)
The status of the package version.
|
CreatePackageVersionResult |
withVersionName(String versionName)
The name of the new package version.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPackageVersionArn(String packageVersionArn)
The Amazon Resource Name (ARN) for the package.
packageVersionArn
- The Amazon Resource Name (ARN) for the package.public String getPackageVersionArn()
The Amazon Resource Name (ARN) for the package.
public CreatePackageVersionResult withPackageVersionArn(String packageVersionArn)
The Amazon Resource Name (ARN) for the package.
packageVersionArn
- The Amazon Resource Name (ARN) for the package.public void setPackageName(String packageName)
The name of the associated software package.
packageName
- The name of the associated software package.public String getPackageName()
The name of the associated software package.
public CreatePackageVersionResult withPackageName(String packageName)
The name of the associated software package.
packageName
- The name of the associated software package.public void setVersionName(String versionName)
The name of the new package version.
versionName
- The name of the new package version.public String getVersionName()
The name of the new package version.
public CreatePackageVersionResult withVersionName(String versionName)
The name of the new package version.
versionName
- The name of the new package version.public void setDescription(String description)
The package version description.
description
- The package version description.public String getDescription()
The package version description.
public CreatePackageVersionResult 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 CreatePackageVersionResult 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 CreatePackageVersionResult addAttributesEntry(String key, String value)
public CreatePackageVersionResult clearAttributesEntries()
public void setStatus(String status)
The status of the package version. For more information, see Package version lifecycle.
status
- The status of the package version. For more information, see Package version lifecycle.PackageVersionStatus
public String getStatus()
The status of the package version. For more information, see Package version lifecycle.
PackageVersionStatus
public CreatePackageVersionResult withStatus(String status)
The status of the package version. For more information, see Package version lifecycle.
status
- The status of the package version. For more information, see Package version lifecycle.PackageVersionStatus
public CreatePackageVersionResult withStatus(PackageVersionStatus status)
The status of the package version. For more information, see Package version lifecycle.
status
- The status of 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 CreatePackageVersionResult 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 String toString()
toString
in class Object
Object.toString()
public CreatePackageVersionResult clone()