@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateActionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateActionRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateActionRequest |
addPropertiesEntry(String key,
String value)
Add a single Properties entry
|
UpdateActionRequest |
clearPropertiesEntries()
Removes all the entries added into Properties.
|
UpdateActionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getActionName()
The name of the action to update.
|
String |
getDescription()
The new description for the action.
|
Map<String,String> |
getProperties()
The new list of properties.
|
List<String> |
getPropertiesToRemove()
A list of properties to remove.
|
String |
getStatus()
The new status for the action.
|
int |
hashCode() |
void |
setActionName(String actionName)
The name of the action to update.
|
void |
setDescription(String description)
The new description for the action.
|
void |
setProperties(Map<String,String> properties)
The new list of properties.
|
void |
setPropertiesToRemove(Collection<String> propertiesToRemove)
A list of properties to remove.
|
void |
setStatus(String status)
The new status for the action.
|
String |
toString()
Returns a string representation of this object.
|
UpdateActionRequest |
withActionName(String actionName)
The name of the action to update.
|
UpdateActionRequest |
withDescription(String description)
The new description for the action.
|
UpdateActionRequest |
withProperties(Map<String,String> properties)
The new list of properties.
|
UpdateActionRequest |
withPropertiesToRemove(Collection<String> propertiesToRemove)
A list of properties to remove.
|
UpdateActionRequest |
withPropertiesToRemove(String... propertiesToRemove)
A list of properties to remove.
|
UpdateActionRequest |
withStatus(ActionStatus status)
The new status for the action.
|
UpdateActionRequest |
withStatus(String status)
The new status for the action.
|
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 setActionName(String actionName)
The name of the action to update.
actionName
- The name of the action to update.public String getActionName()
The name of the action to update.
public UpdateActionRequest withActionName(String actionName)
The name of the action to update.
actionName
- The name of the action to update.public void setDescription(String description)
The new description for the action.
description
- The new description for the action.public String getDescription()
The new description for the action.
public UpdateActionRequest withDescription(String description)
The new description for the action.
description
- The new description for the action.public void setStatus(String status)
The new status for the action.
status
- The new status for the action.ActionStatus
public String getStatus()
The new status for the action.
ActionStatus
public UpdateActionRequest withStatus(String status)
The new status for the action.
status
- The new status for the action.ActionStatus
public UpdateActionRequest withStatus(ActionStatus status)
The new status for the action.
status
- The new status for the action.ActionStatus
public Map<String,String> getProperties()
The new list of properties. Overwrites the current property list.
public void setProperties(Map<String,String> properties)
The new list of properties. Overwrites the current property list.
properties
- The new list of properties. Overwrites the current property list.public UpdateActionRequest withProperties(Map<String,String> properties)
The new list of properties. Overwrites the current property list.
properties
- The new list of properties. Overwrites the current property list.public UpdateActionRequest addPropertiesEntry(String key, String value)
public UpdateActionRequest clearPropertiesEntries()
public List<String> getPropertiesToRemove()
A list of properties to remove.
public void setPropertiesToRemove(Collection<String> propertiesToRemove)
A list of properties to remove.
propertiesToRemove
- A list of properties to remove.public UpdateActionRequest withPropertiesToRemove(String... propertiesToRemove)
A list of properties to remove.
NOTE: This method appends the values to the existing list (if any). Use
setPropertiesToRemove(java.util.Collection)
or withPropertiesToRemove(java.util.Collection)
if
you want to override the existing values.
propertiesToRemove
- A list of properties to remove.public UpdateActionRequest withPropertiesToRemove(Collection<String> propertiesToRemove)
A list of properties to remove.
propertiesToRemove
- A list of properties to remove.public String toString()
toString
in class Object
Object.toString()
public UpdateActionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()