@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePackageResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreatePackageResult() |
Modifier and Type | Method and Description |
---|---|
CreatePackageResult |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The package description.
|
String |
getPackageArn()
The Amazon Resource Name (ARN) for the package.
|
String |
getPackageName()
The name of the software package.
|
int |
hashCode() |
void |
setDescription(String description)
The package description.
|
void |
setPackageArn(String packageArn)
The Amazon Resource Name (ARN) for the package.
|
void |
setPackageName(String packageName)
The name of the software package.
|
String |
toString()
Returns a string representation of this object.
|
CreatePackageResult |
withDescription(String description)
The package description.
|
CreatePackageResult |
withPackageArn(String packageArn)
The Amazon Resource Name (ARN) for the package.
|
CreatePackageResult |
withPackageName(String packageName)
The name of the software package.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 CreatePackageResult withPackageName(String packageName)
The name of the software package.
packageName
- The name of the software package.public void setPackageArn(String packageArn)
The Amazon Resource Name (ARN) for the package.
packageArn
- The Amazon Resource Name (ARN) for the package.public String getPackageArn()
The Amazon Resource Name (ARN) for the package.
public CreatePackageResult withPackageArn(String packageArn)
The Amazon Resource Name (ARN) for the package.
packageArn
- The Amazon Resource Name (ARN) for the package.public void setDescription(String description)
The package description.
description
- The package description.public String getDescription()
The package description.
public CreatePackageResult withDescription(String description)
The package description.
description
- The package description.public String toString()
toString
in class Object
Object.toString()
public CreatePackageResult clone()