@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetErrorDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains error details for the requested associate project asset action.
| Constructor and Description |
|---|
AssetErrorDetails() |
| Modifier and Type | Method and Description |
|---|---|
AssetErrorDetails |
clone() |
boolean |
equals(Object obj) |
String |
getAssetId()
The ID of the asset, in UUID format.
|
String |
getCode()
The error code.
|
String |
getMessage()
The error message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAssetId(String assetId)
The ID of the asset, in UUID format.
|
void |
setCode(String code)
The error code.
|
void |
setMessage(String message)
The error message.
|
String |
toString()
Returns a string representation of this object.
|
AssetErrorDetails |
withAssetId(String assetId)
The ID of the asset, in UUID format.
|
AssetErrorDetails |
withCode(AssetErrorCode code)
The error code.
|
AssetErrorDetails |
withCode(String code)
The error code.
|
AssetErrorDetails |
withMessage(String message)
The error message.
|
public void setAssetId(String assetId)
The ID of the asset, in UUID format.
assetId - The ID of the asset, in UUID format.public String getAssetId()
The ID of the asset, in UUID format.
public AssetErrorDetails withAssetId(String assetId)
The ID of the asset, in UUID format.
assetId - The ID of the asset, in UUID format.public void setCode(String code)
The error code.
code - The error code.AssetErrorCodepublic String getCode()
The error code.
AssetErrorCodepublic AssetErrorDetails withCode(String code)
The error code.
code - The error code.AssetErrorCodepublic AssetErrorDetails withCode(AssetErrorCode code)
The error code.
code - The error code.AssetErrorCodepublic void setMessage(String message)
The error message.
message - The error message.public String getMessage()
The error message.
public AssetErrorDetails withMessage(String message)
The error message.
message - The error message.public String toString()
toString in class ObjectObject.toString()public AssetErrorDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.