@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisterPackageVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RegisterPackageVersionRequest() |
Modifier and Type | Method and Description |
---|---|
RegisterPackageVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getMarkLatest()
Whether to mark the new version as the latest version.
|
String |
getOwnerAccount()
An owner account.
|
String |
getPackageId()
A package ID.
|
String |
getPackageVersion()
A package version.
|
String |
getPatchVersion()
A patch version.
|
int |
hashCode() |
Boolean |
isMarkLatest()
Whether to mark the new version as the latest version.
|
void |
setMarkLatest(Boolean markLatest)
Whether to mark the new version as the latest version.
|
void |
setOwnerAccount(String ownerAccount)
An owner account.
|
void |
setPackageId(String packageId)
A package ID.
|
void |
setPackageVersion(String packageVersion)
A package version.
|
void |
setPatchVersion(String patchVersion)
A patch version.
|
String |
toString()
Returns a string representation of this object.
|
RegisterPackageVersionRequest |
withMarkLatest(Boolean markLatest)
Whether to mark the new version as the latest version.
|
RegisterPackageVersionRequest |
withOwnerAccount(String ownerAccount)
An owner account.
|
RegisterPackageVersionRequest |
withPackageId(String packageId)
A package ID.
|
RegisterPackageVersionRequest |
withPackageVersion(String packageVersion)
A package version.
|
RegisterPackageVersionRequest |
withPatchVersion(String patchVersion)
A patch version.
|
addHandlerContext, 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, withSdkRequestTimeout
public void setMarkLatest(Boolean markLatest)
Whether to mark the new version as the latest version.
markLatest
- Whether to mark the new version as the latest version.public Boolean getMarkLatest()
Whether to mark the new version as the latest version.
public RegisterPackageVersionRequest withMarkLatest(Boolean markLatest)
Whether to mark the new version as the latest version.
markLatest
- Whether to mark the new version as the latest version.public Boolean isMarkLatest()
Whether to mark the new version as the latest version.
public void setOwnerAccount(String ownerAccount)
An owner account.
ownerAccount
- An owner account.public String getOwnerAccount()
An owner account.
public RegisterPackageVersionRequest withOwnerAccount(String ownerAccount)
An owner account.
ownerAccount
- An owner account.public void setPackageId(String packageId)
A package ID.
packageId
- A package ID.public String getPackageId()
A package ID.
public RegisterPackageVersionRequest withPackageId(String packageId)
A package ID.
packageId
- A package ID.public void setPackageVersion(String packageVersion)
A package version.
packageVersion
- A package version.public String getPackageVersion()
A package version.
public RegisterPackageVersionRequest withPackageVersion(String packageVersion)
A package version.
packageVersion
- A package version.public void setPatchVersion(String patchVersion)
A patch version.
patchVersion
- A patch version.public String getPatchVersion()
A patch version.
public RegisterPackageVersionRequest withPatchVersion(String patchVersion)
A patch version.
patchVersion
- A patch version.public String toString()
toString
in class Object
Object.toString()
public RegisterPackageVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()