@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateRecommendationResourceExclusionError extends Object implements Serializable, Cloneable, StructuredPojo
The error entry for Recommendation Resource exclusion. Each entry is a combination of Recommendation Resource ARN, error code and error message
Constructor and Description |
---|
UpdateRecommendationResourceExclusionError() |
Modifier and Type | Method and Description |
---|---|
UpdateRecommendationResourceExclusionError |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the Recommendation Resource
|
String |
getErrorCode()
The error code
|
String |
getErrorMessage()
The error message
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the Recommendation Resource
|
void |
setErrorCode(String errorCode)
The error code
|
void |
setErrorMessage(String errorMessage)
The error message
|
String |
toString()
Returns a string representation of this object.
|
UpdateRecommendationResourceExclusionError |
withArn(String arn)
The ARN of the Recommendation Resource
|
UpdateRecommendationResourceExclusionError |
withErrorCode(String errorCode)
The error code
|
UpdateRecommendationResourceExclusionError |
withErrorMessage(String errorMessage)
The error message
|
public UpdateRecommendationResourceExclusionError()
public void setArn(String arn)
The ARN of the Recommendation Resource
arn
- The ARN of the Recommendation Resourcepublic String getArn()
The ARN of the Recommendation Resource
public UpdateRecommendationResourceExclusionError withArn(String arn)
The ARN of the Recommendation Resource
arn
- The ARN of the Recommendation Resourcepublic void setErrorCode(String errorCode)
The error code
errorCode
- The error codepublic String getErrorCode()
The error code
public UpdateRecommendationResourceExclusionError withErrorCode(String errorCode)
The error code
errorCode
- The error codepublic void setErrorMessage(String errorMessage)
The error message
errorMessage
- The error messagepublic String getErrorMessage()
The error message
public UpdateRecommendationResourceExclusionError withErrorMessage(String errorMessage)
The error message
errorMessage
- The error messagepublic String toString()
toString
in class Object
Object.toString()
public UpdateRecommendationResourceExclusionError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.