@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.
|
String |
getCode()
The error code.
|
String |
getMessage()
The error message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAssetId(String assetId)
The ID of the asset.
|
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.
|
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.
assetId - The ID of the asset.public String getAssetId()
The ID of the asset.
public AssetErrorDetails withAssetId(String assetId)
The ID of the asset.
assetId - The ID of the asset.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)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.