@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FargateProfileIssue extends Object implements Serializable, Cloneable, StructuredPojo
An issue that is associated with the Fargate profile.
| Constructor and Description |
|---|
FargateProfileIssue() |
| Modifier and Type | Method and Description |
|---|---|
FargateProfileIssue |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
A brief description of the error.
|
String |
getMessage()
The error message associated with the issue.
|
List<String> |
getResourceIds()
The Amazon Web Services resources that are affected by this issue.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCode(String code)
A brief description of the error.
|
void |
setMessage(String message)
The error message associated with the issue.
|
void |
setResourceIds(Collection<String> resourceIds)
The Amazon Web Services resources that are affected by this issue.
|
String |
toString()
Returns a string representation of this object.
|
FargateProfileIssue |
withCode(FargateProfileIssueCode code)
A brief description of the error.
|
FargateProfileIssue |
withCode(String code)
A brief description of the error.
|
FargateProfileIssue |
withMessage(String message)
The error message associated with the issue.
|
FargateProfileIssue |
withResourceIds(Collection<String> resourceIds)
The Amazon Web Services resources that are affected by this issue.
|
FargateProfileIssue |
withResourceIds(String... resourceIds)
The Amazon Web Services resources that are affected by this issue.
|
public void setCode(String code)
A brief description of the error.
code - A brief description of the error.FargateProfileIssueCodepublic String getCode()
A brief description of the error.
FargateProfileIssueCodepublic FargateProfileIssue withCode(String code)
A brief description of the error.
code - A brief description of the error.FargateProfileIssueCodepublic FargateProfileIssue withCode(FargateProfileIssueCode code)
A brief description of the error.
code - A brief description of the error.FargateProfileIssueCodepublic void setMessage(String message)
The error message associated with the issue.
message - The error message associated with the issue.public String getMessage()
The error message associated with the issue.
public FargateProfileIssue withMessage(String message)
The error message associated with the issue.
message - The error message associated with the issue.public List<String> getResourceIds()
The Amazon Web Services resources that are affected by this issue.
public void setResourceIds(Collection<String> resourceIds)
The Amazon Web Services resources that are affected by this issue.
resourceIds - The Amazon Web Services resources that are affected by this issue.public FargateProfileIssue withResourceIds(String... resourceIds)
The Amazon Web Services resources that are affected by this 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 Amazon Web Services resources that are affected by this issue.public FargateProfileIssue withResourceIds(Collection<String> resourceIds)
The Amazon Web Services resources that are affected by this issue.
resourceIds - The Amazon Web Services resources that are affected by this issue.public String toString()
toString in class ObjectObject.toString()public FargateProfileIssue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.