@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddonIssue extends Object implements Serializable, Cloneable, StructuredPojo
An issue related to an add-on.
Constructor and Description |
---|
AddonIssue() |
Modifier and Type | Method and Description |
---|---|
AddonIssue |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
A code that describes the type of issue.
|
String |
getMessage()
A message that provides details about the issue and what might cause it.
|
List<String> |
getResourceIds()
The resource IDs of the issue.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCode(String code)
A code that describes the type of issue.
|
void |
setMessage(String message)
A message that provides details about the issue and what might cause it.
|
void |
setResourceIds(Collection<String> resourceIds)
The resource IDs of the issue.
|
String |
toString()
Returns a string representation of this object.
|
AddonIssue |
withCode(AddonIssueCode code)
A code that describes the type of issue.
|
AddonIssue |
withCode(String code)
A code that describes the type of issue.
|
AddonIssue |
withMessage(String message)
A message that provides details about the issue and what might cause it.
|
AddonIssue |
withResourceIds(Collection<String> resourceIds)
The resource IDs of the issue.
|
AddonIssue |
withResourceIds(String... resourceIds)
The resource IDs of the issue.
|
public void setCode(String code)
A code that describes the type of issue.
code
- A code that describes the type of issue.AddonIssueCode
public String getCode()
A code that describes the type of issue.
AddonIssueCode
public AddonIssue withCode(String code)
A code that describes the type of issue.
code
- A code that describes the type of issue.AddonIssueCode
public AddonIssue withCode(AddonIssueCode code)
A code that describes the type of issue.
code
- A code that describes the type of issue.AddonIssueCode
public void setMessage(String message)
A message that provides details about the issue and what might cause it.
message
- A message that provides details about the issue and what might cause it.public String getMessage()
A message that provides details about the issue and what might cause it.
public AddonIssue withMessage(String message)
A message that provides details about the issue and what might cause it.
message
- A message that provides details about the issue and what might cause it.public List<String> getResourceIds()
The resource IDs of the issue.
public void setResourceIds(Collection<String> resourceIds)
The resource IDs of the issue.
resourceIds
- The resource IDs of the issue.public AddonIssue withResourceIds(String... resourceIds)
The resource IDs of the issue.
NOTE: This method appends the values to the existing list (if any). Use
setResourceIds(java.util.Collection)
or withResourceIds(java.util.Collection)
if you want to
override the existing values.
resourceIds
- The resource IDs of the issue.public AddonIssue withResourceIds(Collection<String> resourceIds)
The resource IDs of the issue.
resourceIds
- The resource IDs of the issue.public String toString()
toString
in class Object
Object.toString()
public AddonIssue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.