@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecipeVersionErrorDetail extends Object implements Serializable, Cloneable, StructuredPojo
Represents any errors encountered when attempting to delete multiple recipe versions.
Constructor and Description |
---|
RecipeVersionErrorDetail() |
Modifier and Type | Method and Description |
---|---|
RecipeVersionErrorDetail |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The HTTP status code for the error.
|
String |
getErrorMessage()
The text of the error message.
|
String |
getRecipeVersion()
The identifier for the recipe version associated with this error.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(String errorCode)
The HTTP status code for the error.
|
void |
setErrorMessage(String errorMessage)
The text of the error message.
|
void |
setRecipeVersion(String recipeVersion)
The identifier for the recipe version associated with this error.
|
String |
toString()
Returns a string representation of this object.
|
RecipeVersionErrorDetail |
withErrorCode(String errorCode)
The HTTP status code for the error.
|
RecipeVersionErrorDetail |
withErrorMessage(String errorMessage)
The text of the error message.
|
RecipeVersionErrorDetail |
withRecipeVersion(String recipeVersion)
The identifier for the recipe version associated with this error.
|
public void setErrorCode(String errorCode)
The HTTP status code for the error.
errorCode
- The HTTP status code for the error.public String getErrorCode()
The HTTP status code for the error.
public RecipeVersionErrorDetail withErrorCode(String errorCode)
The HTTP status code for the error.
errorCode
- The HTTP status code for the error.public void setErrorMessage(String errorMessage)
The text of the error message.
errorMessage
- The text of the error message.public String getErrorMessage()
The text of the error message.
public RecipeVersionErrorDetail withErrorMessage(String errorMessage)
The text of the error message.
errorMessage
- The text of the error message.public void setRecipeVersion(String recipeVersion)
The identifier for the recipe version associated with this error.
recipeVersion
- The identifier for the recipe version associated with this error.public String getRecipeVersion()
The identifier for the recipe version associated with this error.
public RecipeVersionErrorDetail withRecipeVersion(String recipeVersion)
The identifier for the recipe version associated with this error.
recipeVersion
- The identifier for the recipe version associated with this error.public String toString()
toString
in class Object
Object.toString()
public RecipeVersionErrorDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.