@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClusterIssue extends Object implements Serializable, Cloneable, StructuredPojo
An issue with your Amazon EKS cluster.
Constructor and Description |
---|
ClusterIssue() |
Modifier and Type | Method and Description |
---|---|
ClusterIssue |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The error code of the issue.
|
String |
getMessage()
A description of the issue.
|
List<String> |
getResourceIds()
The resource IDs that the issue relates to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCode(String code)
The error code of the issue.
|
void |
setMessage(String message)
A description of the issue.
|
void |
setResourceIds(Collection<String> resourceIds)
The resource IDs that the issue relates to.
|
String |
toString()
Returns a string representation of this object.
|
ClusterIssue |
withCode(ClusterIssueCode code)
The error code of the issue.
|
ClusterIssue |
withCode(String code)
The error code of the issue.
|
ClusterIssue |
withMessage(String message)
A description of the issue.
|
ClusterIssue |
withResourceIds(Collection<String> resourceIds)
The resource IDs that the issue relates to.
|
ClusterIssue |
withResourceIds(String... resourceIds)
The resource IDs that the issue relates to.
|
public void setCode(String code)
The error code of the issue.
code
- The error code of the issue.ClusterIssueCode
public String getCode()
The error code of the issue.
ClusterIssueCode
public ClusterIssue withCode(String code)
The error code of the issue.
code
- The error code of the issue.ClusterIssueCode
public ClusterIssue withCode(ClusterIssueCode code)
The error code of the issue.
code
- The error code of the issue.ClusterIssueCode
public void setMessage(String message)
A description of the issue.
message
- A description of the issue.public String getMessage()
A description of the issue.
public ClusterIssue withMessage(String message)
A description of the issue.
message
- A description of the issue.public List<String> getResourceIds()
The resource IDs that the issue relates to.
public void setResourceIds(Collection<String> resourceIds)
The resource IDs that the issue relates to.
resourceIds
- The resource IDs that the issue relates to.public ClusterIssue withResourceIds(String... resourceIds)
The resource IDs that the issue relates to.
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 that the issue relates to.public ClusterIssue withResourceIds(Collection<String> resourceIds)
The resource IDs that the issue relates to.
resourceIds
- The resource IDs that the issue relates to.public String toString()
toString
in class Object
Object.toString()
public ClusterIssue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.