public class UpdateApplicationVersionRequest extends AmazonWebServiceRequest implements Serializable
UpdateApplicationVersion operation
.
Updates the specified application version to have the specified properties.
NOTE: If a property (for example, description) is not provided, the value remains unchanged. To clear properties, specify an empty string.
NOOP
Constructor and Description |
---|
UpdateApplicationVersionRequest()
Default constructor for a new UpdateApplicationVersionRequest object.
|
UpdateApplicationVersionRequest(String applicationName,
String versionLabel)
Constructs a new UpdateApplicationVersionRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getApplicationName()
The name of the application associated with this version.
|
String |
getDescription()
A new description for this release.
|
String |
getVersionLabel()
The name of the version to update.
|
int |
hashCode() |
void |
setApplicationName(String applicationName)
The name of the application associated with this version.
|
void |
setDescription(String description)
A new description for this release.
|
void |
setVersionLabel(String versionLabel)
The name of the version to update.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateApplicationVersionRequest |
withApplicationName(String applicationName)
The name of the application associated with this version.
|
UpdateApplicationVersionRequest |
withDescription(String description)
A new description for this release.
|
UpdateApplicationVersionRequest |
withVersionLabel(String versionLabel)
The name of the version to update.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public UpdateApplicationVersionRequest()
public UpdateApplicationVersionRequest(String applicationName, String versionLabel)
applicationName
- The name of the application associated with
this version. If no application is found with this name,
UpdateApplication
returns an
InvalidParameterValue
error.
versionLabel
- The name of the version to update. If no
application version is found with this label,
UpdateApplication
returns an
InvalidParameterValue
error.
public String getApplicationName()
If no
application is found with this name, UpdateApplication
returns an InvalidParameterValue
error.
Constraints:
Length: 1 - 100
If no
application is found with this name, UpdateApplication
returns an InvalidParameterValue
error.
public void setApplicationName(String applicationName)
If no
application is found with this name, UpdateApplication
returns an InvalidParameterValue
error.
Constraints:
Length: 1 - 100
applicationName
- The name of the application associated with this version. If no
application is found with this name, UpdateApplication
returns an InvalidParameterValue
error.
public UpdateApplicationVersionRequest withApplicationName(String applicationName)
If no
application is found with this name, UpdateApplication
returns an InvalidParameterValue
error.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
applicationName
- The name of the application associated with this version. If no
application is found with this name, UpdateApplication
returns an InvalidParameterValue
error.
public String getVersionLabel()
If no application version is
found with this label, UpdateApplication
returns an
InvalidParameterValue
error.
Constraints:
Length: 1 - 100
If no application version is
found with this label, UpdateApplication
returns an
InvalidParameterValue
error.
public void setVersionLabel(String versionLabel)
If no application version is
found with this label, UpdateApplication
returns an
InvalidParameterValue
error.
Constraints:
Length: 1 - 100
versionLabel
- The name of the version to update. If no application version is
found with this label, UpdateApplication
returns an
InvalidParameterValue
error.
public UpdateApplicationVersionRequest withVersionLabel(String versionLabel)
If no application version is
found with this label, UpdateApplication
returns an
InvalidParameterValue
error.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
versionLabel
- The name of the version to update. If no application version is
found with this label, UpdateApplication
returns an
InvalidParameterValue
error.
public String getDescription()
Constraints:
Length: 0 - 200
public void setDescription(String description)
Constraints:
Length: 0 - 200
description
- A new description for this release.public UpdateApplicationVersionRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 200
description
- A new description for this release.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.