@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateActionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateActionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateActionRequest |
addPropertiesEntry(String key,
String value)
Add a single Properties entry
|
CreateActionRequest |
clearPropertiesEntries()
Removes all the entries added into Properties.
|
CreateActionRequest |
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.
|
String |
getActionType()
The action type.
|
String |
getDescription()
The description of the action.
|
MetadataProperties |
getMetadataProperties() |
Map<String,String> |
getProperties()
A list of properties to add to the action.
|
ActionSource |
getSource()
The source type, ID, and URI.
|
String |
getStatus()
The status of the action.
|
List<Tag> |
getTags()
A list of tags to apply to the action.
|
int |
hashCode() |
void |
setActionName(String actionName)
The name of the action.
|
void |
setActionType(String actionType)
The action type.
|
void |
setDescription(String description)
The description of the action.
|
void |
setMetadataProperties(MetadataProperties metadataProperties) |
void |
setProperties(Map<String,String> properties)
A list of properties to add to the action.
|
void |
setSource(ActionSource source)
The source type, ID, and URI.
|
void |
setStatus(String status)
The status of the action.
|
void |
setTags(Collection<Tag> tags)
A list of tags to apply to the action.
|
String |
toString()
Returns a string representation of this object.
|
CreateActionRequest |
withActionName(String actionName)
The name of the action.
|
CreateActionRequest |
withActionType(String actionType)
The action type.
|
CreateActionRequest |
withDescription(String description)
The description of the action.
|
CreateActionRequest |
withMetadataProperties(MetadataProperties metadataProperties) |
CreateActionRequest |
withProperties(Map<String,String> properties)
A list of properties to add to the action.
|
CreateActionRequest |
withSource(ActionSource source)
The source type, ID, and URI.
|
CreateActionRequest |
withStatus(ActionStatus status)
The status of the action.
|
CreateActionRequest |
withStatus(String status)
The status of the action.
|
CreateActionRequest |
withTags(Collection<Tag> tags)
A list of tags to apply to the action.
|
CreateActionRequest |
withTags(Tag... tags)
A list of tags to apply to 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. Must be unique to your account in an Amazon Web Services Region.
actionName
- The name of the action. Must be unique to your account in an Amazon Web Services Region.public String getActionName()
The name of the action. Must be unique to your account in an Amazon Web Services Region.
public CreateActionRequest withActionName(String actionName)
The name of the action. Must be unique to your account in an Amazon Web Services Region.
actionName
- The name of the action. Must be unique to your account in an Amazon Web Services Region.public void setSource(ActionSource source)
The source type, ID, and URI.
source
- The source type, ID, and URI.public ActionSource getSource()
The source type, ID, and URI.
public CreateActionRequest withSource(ActionSource source)
The source type, ID, and URI.
source
- The source type, ID, and URI.public void setActionType(String actionType)
The action type.
actionType
- The action type.public String getActionType()
The action type.
public CreateActionRequest withActionType(String actionType)
The action type.
actionType
- The action type.public void setDescription(String description)
The description of the action.
description
- The description of the action.public String getDescription()
The description of the action.
public CreateActionRequest withDescription(String description)
The description of the action.
description
- The description of the action.public void setStatus(String status)
The status of the action.
status
- The status of the action.ActionStatus
public String getStatus()
The status of the action.
ActionStatus
public CreateActionRequest withStatus(String status)
The status of the action.
status
- The status of the action.ActionStatus
public CreateActionRequest withStatus(ActionStatus status)
The status of the action.
status
- The status of the action.ActionStatus
public Map<String,String> getProperties()
A list of properties to add to the action.
public void setProperties(Map<String,String> properties)
A list of properties to add to the action.
properties
- A list of properties to add to the action.public CreateActionRequest withProperties(Map<String,String> properties)
A list of properties to add to the action.
properties
- A list of properties to add to the action.public CreateActionRequest addPropertiesEntry(String key, String value)
public CreateActionRequest clearPropertiesEntries()
public void setMetadataProperties(MetadataProperties metadataProperties)
metadataProperties
- public MetadataProperties getMetadataProperties()
public CreateActionRequest withMetadataProperties(MetadataProperties metadataProperties)
metadataProperties
- public List<Tag> getTags()
A list of tags to apply to the action.
public void setTags(Collection<Tag> tags)
A list of tags to apply to the action.
tags
- A list of tags to apply to the action.public CreateActionRequest withTags(Tag... tags)
A list of tags to apply to the action.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of tags to apply to the action.public CreateActionRequest withTags(Collection<Tag> tags)
A list of tags to apply to the action.
tags
- A list of tags to apply to the action.public String toString()
toString
in class Object
Object.toString()
public CreateActionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()