@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdatePackageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Container for request parameters to the UpdatePackage operation.
NOOP| Constructor and Description |
|---|
UpdatePackageRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdatePackageRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCommitMessage()
A commit message for the new version which is shown as part of
GetPackageVersionHistoryResponse. |
String |
getPackageDescription()
A new description of the package.
|
String |
getPackageID()
The unique identifier for the package.
|
PackageSource |
getPackageSource() |
int |
hashCode() |
void |
setCommitMessage(String commitMessage)
A commit message for the new version which is shown as part of
GetPackageVersionHistoryResponse. |
void |
setPackageDescription(String packageDescription)
A new description of the package.
|
void |
setPackageID(String packageID)
The unique identifier for the package.
|
void |
setPackageSource(PackageSource packageSource) |
String |
toString()
Returns a string representation of this object.
|
UpdatePackageRequest |
withCommitMessage(String commitMessage)
A commit message for the new version which is shown as part of
GetPackageVersionHistoryResponse. |
UpdatePackageRequest |
withPackageDescription(String packageDescription)
A new description of the package.
|
UpdatePackageRequest |
withPackageID(String packageID)
The unique identifier for the package.
|
UpdatePackageRequest |
withPackageSource(PackageSource packageSource) |
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setPackageID(String packageID)
The unique identifier for the package.
packageID - The unique identifier for the package.public String getPackageID()
The unique identifier for the package.
public UpdatePackageRequest withPackageID(String packageID)
The unique identifier for the package.
packageID - The unique identifier for the package.public void setPackageSource(PackageSource packageSource)
packageSource - public PackageSource getPackageSource()
public UpdatePackageRequest withPackageSource(PackageSource packageSource)
packageSource - public void setPackageDescription(String packageDescription)
A new description of the package.
packageDescription - A new description of the package.public String getPackageDescription()
A new description of the package.
public UpdatePackageRequest withPackageDescription(String packageDescription)
A new description of the package.
packageDescription - A new description of the package.public void setCommitMessage(String commitMessage)
A commit message for the new version which is shown as part of GetPackageVersionHistoryResponse.
commitMessage - A commit message for the new version which is shown as part of
GetPackageVersionHistoryResponse.public String getCommitMessage()
A commit message for the new version which is shown as part of GetPackageVersionHistoryResponse.
GetPackageVersionHistoryResponse.public UpdatePackageRequest withCommitMessage(String commitMessage)
A commit message for the new version which is shown as part of GetPackageVersionHistoryResponse.
commitMessage - A commit message for the new version which is shown as part of
GetPackageVersionHistoryResponse.public String toString()
toString in class ObjectObject.toString()public UpdatePackageRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.