@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPackageResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetPackageResult() |
Modifier and Type | Method and Description |
---|---|
GetPackageResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDate()
The date the package was created.
|
String |
getDefaultVersionName()
The name of the default package version.
|
String |
getDescription()
The package description.
|
Date |
getLastModifiedDate()
The date when the package was last updated.
|
String |
getPackageArn()
The ARN for the package.
|
String |
getPackageName()
The name of the software package.
|
int |
hashCode() |
void |
setCreationDate(Date creationDate)
The date the package was created.
|
void |
setDefaultVersionName(String defaultVersionName)
The name of the default package version.
|
void |
setDescription(String description)
The package description.
|
void |
setLastModifiedDate(Date lastModifiedDate)
The date when the package was last updated.
|
void |
setPackageArn(String packageArn)
The ARN for the package.
|
void |
setPackageName(String packageName)
The name of the software package.
|
String |
toString()
Returns a string representation of this object.
|
GetPackageResult |
withCreationDate(Date creationDate)
The date the package was created.
|
GetPackageResult |
withDefaultVersionName(String defaultVersionName)
The name of the default package version.
|
GetPackageResult |
withDescription(String description)
The package description.
|
GetPackageResult |
withLastModifiedDate(Date lastModifiedDate)
The date when the package was last updated.
|
GetPackageResult |
withPackageArn(String packageArn)
The ARN for the package.
|
GetPackageResult |
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 GetPackageResult withPackageName(String packageName)
The name of the software package.
packageName
- The name of the software package.public void setPackageArn(String packageArn)
The ARN for the package.
packageArn
- The ARN for the package.public String getPackageArn()
The ARN for the package.
public GetPackageResult withPackageArn(String packageArn)
The ARN for the package.
packageArn
- The ARN for the package.public void setDescription(String description)
The package description.
description
- The package description.public String getDescription()
The package description.
public GetPackageResult withDescription(String description)
The package description.
description
- The package description.public void setDefaultVersionName(String defaultVersionName)
The name of the default package version.
defaultVersionName
- The name of the default package version.public String getDefaultVersionName()
The name of the default package version.
public GetPackageResult withDefaultVersionName(String defaultVersionName)
The name of the default package version.
defaultVersionName
- The name of the default package version.public void setCreationDate(Date creationDate)
The date the package was created.
creationDate
- The date the package was created.public Date getCreationDate()
The date the package was created.
public GetPackageResult withCreationDate(Date creationDate)
The date the package was created.
creationDate
- The date the package was created.public void setLastModifiedDate(Date lastModifiedDate)
The date when the package was last updated.
lastModifiedDate
- The date when the package was last updated.public Date getLastModifiedDate()
The date when the package was last updated.
public GetPackageResult withLastModifiedDate(Date lastModifiedDate)
The date when the package was last updated.
lastModifiedDate
- The date when the package was last updated.public String toString()
toString
in class Object
Object.toString()
public GetPackageResult clone()