@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnvironmentDetailsError extends Object implements Serializable, Cloneable, StructuredPojo
The error details for the environment.
Constructor and Description |
---|
EnvironmentDetailsError() |
Modifier and Type | Method and Description |
---|---|
EnvironmentDetailsError |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The error code.
|
String |
getEnvironmentId()
The environment ID.
|
String |
getJobId()
The job ID.
|
String |
getMessage()
The error message detailing the error's cause.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCode(String code)
The error code.
|
void |
setEnvironmentId(String environmentId)
The environment ID.
|
void |
setJobId(String jobId)
The job ID.
|
void |
setMessage(String message)
The error message detailing the error's cause.
|
String |
toString()
Returns a string representation of this object.
|
EnvironmentDetailsError |
withCode(JobEntityErrorCode code)
The error code.
|
EnvironmentDetailsError |
withCode(String code)
The error code.
|
EnvironmentDetailsError |
withEnvironmentId(String environmentId)
The environment ID.
|
EnvironmentDetailsError |
withJobId(String jobId)
The job ID.
|
EnvironmentDetailsError |
withMessage(String message)
The error message detailing the error's cause.
|
public void setCode(String code)
The error code.
code
- The error code.JobEntityErrorCode
public String getCode()
The error code.
JobEntityErrorCode
public EnvironmentDetailsError withCode(String code)
The error code.
code
- The error code.JobEntityErrorCode
public EnvironmentDetailsError withCode(JobEntityErrorCode code)
The error code.
code
- The error code.JobEntityErrorCode
public void setEnvironmentId(String environmentId)
The environment ID.
environmentId
- The environment ID.public String getEnvironmentId()
The environment ID.
public EnvironmentDetailsError withEnvironmentId(String environmentId)
The environment ID.
environmentId
- The environment ID.public void setJobId(String jobId)
The job ID.
jobId
- The job ID.public String getJobId()
The job ID.
public EnvironmentDetailsError withJobId(String jobId)
The job ID.
jobId
- The job ID.public void setMessage(String message)
The error message detailing the error's cause.
message
- The error message detailing the error's cause.public String getMessage()
The error message detailing the error's cause.
public EnvironmentDetailsError withMessage(String message)
The error message detailing the error's cause.
message
- The error message detailing the error's cause.public String toString()
toString
in class Object
Object.toString()
public EnvironmentDetailsError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.