@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceError extends Object implements Serializable, Cloneable, StructuredPojo
Defines application resource errors.
Constructor and Description |
---|
ResourceError() |
Modifier and Type | Method and Description |
---|---|
ResourceError |
clone() |
boolean |
equals(Object obj) |
String |
getLogicalResourceId()
This is the identifier of the resource.
|
String |
getPhysicalResourceId()
This is the identifier of the physical resource.
|
String |
getReason()
This is the error message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLogicalResourceId(String logicalResourceId)
This is the identifier of the resource.
|
void |
setPhysicalResourceId(String physicalResourceId)
This is the identifier of the physical resource.
|
void |
setReason(String reason)
This is the error message.
|
String |
toString()
Returns a string representation of this object.
|
ResourceError |
withLogicalResourceId(String logicalResourceId)
This is the identifier of the resource.
|
ResourceError |
withPhysicalResourceId(String physicalResourceId)
This is the identifier of the physical resource.
|
ResourceError |
withReason(String reason)
This is the error message.
|
public void setLogicalResourceId(String logicalResourceId)
This is the identifier of the resource.
logicalResourceId
- This is the identifier of the resource.public String getLogicalResourceId()
This is the identifier of the resource.
public ResourceError withLogicalResourceId(String logicalResourceId)
This is the identifier of the resource.
logicalResourceId
- This is the identifier of the resource.public void setPhysicalResourceId(String physicalResourceId)
This is the identifier of the physical resource.
physicalResourceId
- This is the identifier of the physical resource.public String getPhysicalResourceId()
This is the identifier of the physical resource.
public ResourceError withPhysicalResourceId(String physicalResourceId)
This is the identifier of the physical resource.
physicalResourceId
- This is the identifier of the physical resource.public void setReason(String reason)
This is the error message.
reason
- This is the error message.public String getReason()
This is the error message.
public ResourceError withReason(String reason)
This is the error message.
reason
- This is the error message.public String toString()
toString
in class Object
Object.toString()
public ResourceError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.