@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 whose versions are to be deleted.
|
List<String> |
getRecipeVersions()
An array of version identifiers, for the recipe versions to be deleted.
|
int |
hashCode() |
void |
setName(String name)
The name of the recipe whose versions are to be deleted.
|
void |
setRecipeVersions(Collection<String> recipeVersions)
An array of version identifiers, for the recipe versions to be deleted.
|
String |
toString()
Returns a string representation of this object.
|
BatchDeleteRecipeVersionRequest |
withName(String name)
The name of the recipe whose versions are to be deleted.
|
BatchDeleteRecipeVersionRequest |
withRecipeVersions(Collection<String> recipeVersions)
An array of version identifiers, for the recipe versions to be deleted.
|
BatchDeleteRecipeVersionRequest |
withRecipeVersions(String... recipeVersions)
An array of version identifiers, for the recipe versions 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, withSdkRequestTimeout
public void setName(String name)
The name of the recipe whose versions are to be deleted.
name
- The name of the recipe whose versions are to be deleted.public String getName()
The name of the recipe whose versions are to be deleted.
public BatchDeleteRecipeVersionRequest withName(String name)
The name of the recipe whose versions are to be deleted.
name
- The name of the recipe whose versions are to be deleted.public List<String> getRecipeVersions()
An array of version identifiers, for the recipe versions to be deleted. You can specify numeric versions (
X.Y
) or LATEST_WORKING
. LATEST_PUBLISHED
is not supported.
X.Y
) or LATEST_WORKING
. LATEST_PUBLISHED
is not supported.public void setRecipeVersions(Collection<String> recipeVersions)
An array of version identifiers, for the recipe versions to be deleted. You can specify numeric versions (
X.Y
) or LATEST_WORKING
. LATEST_PUBLISHED
is not supported.
recipeVersions
- An array of version identifiers, for the recipe versions to be deleted. You can specify numeric versions (
X.Y
) or LATEST_WORKING
. LATEST_PUBLISHED
is not supported.public BatchDeleteRecipeVersionRequest withRecipeVersions(String... recipeVersions)
An array of version identifiers, for the recipe versions to be deleted. You can specify numeric versions (
X.Y
) or LATEST_WORKING
. LATEST_PUBLISHED
is not supported.
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, for the recipe versions to be deleted. You can specify numeric versions (
X.Y
) or LATEST_WORKING
. LATEST_PUBLISHED
is not supported.public BatchDeleteRecipeVersionRequest withRecipeVersions(Collection<String> recipeVersions)
An array of version identifiers, for the recipe versions to be deleted. You can specify numeric versions (
X.Y
) or LATEST_WORKING
. LATEST_PUBLISHED
is not supported.
recipeVersions
- An array of version identifiers, for the recipe versions to be deleted. You can specify numeric versions (
X.Y
) or LATEST_WORKING
. LATEST_PUBLISHED
is not supported.public String toString()
toString
in class Object
Object.toString()
public BatchDeleteRecipeVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()