@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()
Identifier of the logical resource.
|
String |
getPhysicalResourceId()
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)
Identifier of the logical resource.
|
void |
setPhysicalResourceId(String physicalResourceId)
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)
Identifier of the logical resource.
|
ResourceError |
withPhysicalResourceId(String physicalResourceId)
Identifier of the physical resource.
|
ResourceError |
withReason(String reason)
This is the error message.
|
public void setLogicalResourceId(String logicalResourceId)
Identifier of the logical resource.
logicalResourceId
- Identifier of the logical resource.public String getLogicalResourceId()
Identifier of the logical resource.
public ResourceError withLogicalResourceId(String logicalResourceId)
Identifier of the logical resource.
logicalResourceId
- Identifier of the logical resource.public void setPhysicalResourceId(String physicalResourceId)
Identifier of the physical resource.
physicalResourceId
- Identifier of the physical resource.public String getPhysicalResourceId()
Identifier of the physical resource.
public ResourceError withPhysicalResourceId(String physicalResourceId)
Identifier of the physical resource.
physicalResourceId
- 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.