@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdatePackageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdatePackageRequest() |
Modifier and Type | Method and Description |
---|---|
UpdatePackageRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
String |
getDefaultVersionName()
The name of the default package version.
|
String |
getDescription()
The package description.
|
String |
getPackageName()
The name of the target software package.
|
Boolean |
getUnsetDefaultVersion()
Indicates whether you want to remove the named default package version from the software package.
|
int |
hashCode() |
Boolean |
isUnsetDefaultVersion()
Indicates whether you want to remove the named default package version from the software package.
|
void |
setClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
void |
setDefaultVersionName(String defaultVersionName)
The name of the default package version.
|
void |
setDescription(String description)
The package description.
|
void |
setPackageName(String packageName)
The name of the target software package.
|
void |
setUnsetDefaultVersion(Boolean unsetDefaultVersion)
Indicates whether you want to remove the named default package version from the software package.
|
String |
toString()
Returns a string representation of this object.
|
UpdatePackageRequest |
withClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
UpdatePackageRequest |
withDefaultVersionName(String defaultVersionName)
The name of the default package version.
|
UpdatePackageRequest |
withDescription(String description)
The package description.
|
UpdatePackageRequest |
withPackageName(String packageName)
The name of the target software package.
|
UpdatePackageRequest |
withUnsetDefaultVersion(Boolean unsetDefaultVersion)
Indicates whether you want to remove the named default package version from the software package.
|
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 setPackageName(String packageName)
The name of the target software package.
packageName
- The name of the target software package.public String getPackageName()
The name of the target software package.
public UpdatePackageRequest withPackageName(String packageName)
The name of the target software package.
packageName
- The name of the target software package.public void setDescription(String description)
The package description.
description
- The package description.public String getDescription()
The package description.
public UpdatePackageRequest withDescription(String description)
The package description.
description
- The package description.public void setDefaultVersionName(String defaultVersionName)
The name of the default package version.
Note: You cannot name a defaultVersion
and set unsetDefaultVersion
equal to
true
at the same time.
defaultVersionName
- The name of the default package version.
Note: You cannot name a defaultVersion
and set unsetDefaultVersion
equal
to true
at the same time.
public String getDefaultVersionName()
The name of the default package version.
Note: You cannot name a defaultVersion
and set unsetDefaultVersion
equal to
true
at the same time.
Note: You cannot name a defaultVersion
and set unsetDefaultVersion
equal
to true
at the same time.
public UpdatePackageRequest withDefaultVersionName(String defaultVersionName)
The name of the default package version.
Note: You cannot name a defaultVersion
and set unsetDefaultVersion
equal to
true
at the same time.
defaultVersionName
- The name of the default package version.
Note: You cannot name a defaultVersion
and set unsetDefaultVersion
equal
to true
at the same time.
public void setUnsetDefaultVersion(Boolean unsetDefaultVersion)
Indicates whether you want to remove the named default package version from the software package. Set as
true
to remove the default package version.
Note: You cannot name a defaultVersion
and set unsetDefaultVersion
equal to
true
at the same time.
unsetDefaultVersion
- Indicates whether you want to remove the named default package version from the software package. Set as
true
to remove the default package version.
Note: You cannot name a defaultVersion
and set unsetDefaultVersion
equal
to true
at the same time.
public Boolean getUnsetDefaultVersion()
Indicates whether you want to remove the named default package version from the software package. Set as
true
to remove the default package version.
Note: You cannot name a defaultVersion
and set unsetDefaultVersion
equal to
true
at the same time.
true
to remove the default package version.
Note: You cannot name a defaultVersion
and set unsetDefaultVersion
equal
to true
at the same time.
public UpdatePackageRequest withUnsetDefaultVersion(Boolean unsetDefaultVersion)
Indicates whether you want to remove the named default package version from the software package. Set as
true
to remove the default package version.
Note: You cannot name a defaultVersion
and set unsetDefaultVersion
equal to
true
at the same time.
unsetDefaultVersion
- Indicates whether you want to remove the named default package version from the software package. Set as
true
to remove the default package version.
Note: You cannot name a defaultVersion
and set unsetDefaultVersion
equal
to true
at the same time.
public Boolean isUnsetDefaultVersion()
Indicates whether you want to remove the named default package version from the software package. Set as
true
to remove the default package version.
Note: You cannot name a defaultVersion
and set unsetDefaultVersion
equal to
true
at the same time.
true
to remove the default package version.
Note: You cannot name a defaultVersion
and set unsetDefaultVersion
equal
to true
at the same time.
public void setClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
clientToken
- A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't
reuse this client token if a new idempotent request is required.public String getClientToken()
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
public UpdatePackageRequest withClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
clientToken
- A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't
reuse this client token if a new idempotent request is required.public String toString()
toString
in class Object
Object.toString()
public UpdatePackageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()