@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRecipeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateRecipeRequest() |
Modifier and Type | Method and Description |
---|---|
CreateRecipeRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateRecipeRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateRecipeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
A description for the recipe.
|
String |
getName()
A unique name for the recipe.
|
List<RecipeStep> |
getSteps()
An array containing the steps to be performed by the recipe.
|
Map<String,String> |
getTags()
Metadata tags to apply to this recipe.
|
int |
hashCode() |
void |
setDescription(String description)
A description for the recipe.
|
void |
setName(String name)
A unique name for the recipe.
|
void |
setSteps(Collection<RecipeStep> steps)
An array containing the steps to be performed by the recipe.
|
void |
setTags(Map<String,String> tags)
Metadata tags to apply to this recipe.
|
String |
toString()
Returns a string representation of this object.
|
CreateRecipeRequest |
withDescription(String description)
A description for the recipe.
|
CreateRecipeRequest |
withName(String name)
A unique name for the recipe.
|
CreateRecipeRequest |
withSteps(Collection<RecipeStep> steps)
An array containing the steps to be performed by the recipe.
|
CreateRecipeRequest |
withSteps(RecipeStep... steps)
An array containing the steps to be performed by the recipe.
|
CreateRecipeRequest |
withTags(Map<String,String> tags)
Metadata tags to apply to this recipe.
|
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 setDescription(String description)
A description for the recipe.
description
- A description for the recipe.public String getDescription()
A description for the recipe.
public CreateRecipeRequest withDescription(String description)
A description for the recipe.
description
- A description for the recipe.public void setName(String name)
A unique name for the recipe. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
name
- A unique name for the recipe. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.),
and space.public String getName()
A unique name for the recipe. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
public CreateRecipeRequest withName(String name)
A unique name for the recipe. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
name
- A unique name for the recipe. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.),
and space.public List<RecipeStep> getSteps()
An array containing the steps to be performed by the recipe. Each recipe step consists of one recipe action and (optionally) an array of condition expressions.
public void setSteps(Collection<RecipeStep> steps)
An array containing the steps to be performed by the recipe. Each recipe step consists of one recipe action and (optionally) an array of condition expressions.
steps
- An array containing the steps to be performed by the recipe. Each recipe step consists of one recipe
action and (optionally) an array of condition expressions.public CreateRecipeRequest withSteps(RecipeStep... steps)
An array containing the steps to be performed by the recipe. Each recipe step consists of one recipe action and (optionally) an array of condition expressions.
NOTE: This method appends the values to the existing list (if any). Use
setSteps(java.util.Collection)
or withSteps(java.util.Collection)
if you want to override the
existing values.
steps
- An array containing the steps to be performed by the recipe. Each recipe step consists of one recipe
action and (optionally) an array of condition expressions.public CreateRecipeRequest withSteps(Collection<RecipeStep> steps)
An array containing the steps to be performed by the recipe. Each recipe step consists of one recipe action and (optionally) an array of condition expressions.
steps
- An array containing the steps to be performed by the recipe. Each recipe step consists of one recipe
action and (optionally) an array of condition expressions.public Map<String,String> getTags()
Metadata tags to apply to this recipe.
public void setTags(Map<String,String> tags)
Metadata tags to apply to this recipe.
tags
- Metadata tags to apply to this recipe.public CreateRecipeRequest withTags(Map<String,String> tags)
Metadata tags to apply to this recipe.
tags
- Metadata tags to apply to this recipe.public CreateRecipeRequest addTagsEntry(String key, String value)
public CreateRecipeRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateRecipeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Privacy | Site terms | Cookie preferences | © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.