@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FreeTrialInfoError extends Object implements Serializable, Cloneable, StructuredPojo
Information about an error received while accessing free trail data for an account.
| Constructor and Description |
|---|
FreeTrialInfoError() |
| Modifier and Type | Method and Description |
|---|---|
FreeTrialInfoError |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The account associated with the Amazon Inspector free trial information.
|
String |
getCode()
The error code.
|
String |
getMessage()
The error message returned.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAccountId(String accountId)
The account associated with the Amazon Inspector free trial information.
|
void |
setCode(String code)
The error code.
|
void |
setMessage(String message)
The error message returned.
|
String |
toString()
Returns a string representation of this object.
|
FreeTrialInfoError |
withAccountId(String accountId)
The account associated with the Amazon Inspector free trial information.
|
FreeTrialInfoError |
withCode(FreeTrialInfoErrorCode code)
The error code.
|
FreeTrialInfoError |
withCode(String code)
The error code.
|
FreeTrialInfoError |
withMessage(String message)
The error message returned.
|
public void setAccountId(String accountId)
The account associated with the Amazon Inspector free trial information.
accountId - The account associated with the Amazon Inspector free trial information.public String getAccountId()
The account associated with the Amazon Inspector free trial information.
public FreeTrialInfoError withAccountId(String accountId)
The account associated with the Amazon Inspector free trial information.
accountId - The account associated with the Amazon Inspector free trial information.public void setCode(String code)
The error code.
code - The error code.FreeTrialInfoErrorCodepublic String getCode()
The error code.
FreeTrialInfoErrorCodepublic FreeTrialInfoError withCode(String code)
The error code.
code - The error code.FreeTrialInfoErrorCodepublic FreeTrialInfoError withCode(FreeTrialInfoErrorCode code)
The error code.
code - The error code.FreeTrialInfoErrorCodepublic void setMessage(String message)
The error message returned.
message - The error message returned.public String getMessage()
The error message returned.
public FreeTrialInfoError withMessage(String message)
The error message returned.
message - The error message returned.public String toString()
toString in class ObjectObject.toString()public FreeTrialInfoError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.