@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchDeleteRecipeVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
BatchDeleteRecipeVersionRequest() |
| Modifier and Type | Method and Description |
|---|---|
BatchDeleteRecipeVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getName()
The name of the recipe to be modified.
|
List<String> |
getRecipeVersions()
An array of version identifiers to be deleted.
|
int |
hashCode() |
void |
setName(String name)
The name of the recipe to be modified.
|
void |
setRecipeVersions(Collection<String> recipeVersions)
An array of version identifiers to be deleted.
|
String |
toString()
Returns a string representation of this object.
|
BatchDeleteRecipeVersionRequest |
withName(String name)
The name of the recipe to be modified.
|
BatchDeleteRecipeVersionRequest |
withRecipeVersions(Collection<String> recipeVersions)
An array of version identifiers to be deleted.
|
BatchDeleteRecipeVersionRequest |
withRecipeVersions(String... recipeVersions)
An array of version identifiers to be deleted.
|
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, withSdkRequestTimeoutpublic void setName(String name)
The name of the recipe to be modified.
name - The name of the recipe to be modified.public String getName()
The name of the recipe to be modified.
public BatchDeleteRecipeVersionRequest withName(String name)
The name of the recipe to be modified.
name - The name of the recipe to be modified.public List<String> getRecipeVersions()
An array of version identifiers to be deleted.
public void setRecipeVersions(Collection<String> recipeVersions)
An array of version identifiers to be deleted.
recipeVersions - An array of version identifiers to be deleted.public BatchDeleteRecipeVersionRequest withRecipeVersions(String... recipeVersions)
An array of version identifiers to be deleted.
NOTE: This method appends the values to the existing list (if any). Use
setRecipeVersions(java.util.Collection) or withRecipeVersions(java.util.Collection) if you want
to override the existing values.
recipeVersions - An array of version identifiers to be deleted.public BatchDeleteRecipeVersionRequest withRecipeVersions(Collection<String> recipeVersions)
An array of version identifiers to be deleted.
recipeVersions - An array of version identifiers to be deleted.public String toString()
toString in class ObjectObject.toString()public BatchDeleteRecipeVersionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()