@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PhaseContext extends Object implements Serializable, Cloneable, StructuredPojo
Additional information about a build phase that has an error. You can use this information to help troubleshoot a failed build.
Constructor and Description |
---|
PhaseContext() |
Modifier and Type | Method and Description |
---|---|
PhaseContext |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
An explanation of the build phase's context.
|
String |
getStatusCode()
The status code for the context of the build phase.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMessage(String message)
An explanation of the build phase's context.
|
void |
setStatusCode(String statusCode)
The status code for the context of the build phase.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PhaseContext |
withMessage(String message)
An explanation of the build phase's context.
|
PhaseContext |
withStatusCode(String statusCode)
The status code for the context of the build phase.
|
public void setStatusCode(String statusCode)
The status code for the context of the build phase.
statusCode
- The status code for the context of the build phase.public String getStatusCode()
The status code for the context of the build phase.
public PhaseContext withStatusCode(String statusCode)
The status code for the context of the build phase.
statusCode
- The status code for the context of the build phase.public void setMessage(String message)
An explanation of the build phase's context. This explanation might include a command ID and an exit code.
message
- An explanation of the build phase's context. This explanation might include a command ID and an exit code.public String getMessage()
An explanation of the build phase's context. This explanation might include a command ID and an exit code.
public PhaseContext withMessage(String message)
An explanation of the build phase's context. This explanation might include a command ID and an exit code.
message
- An explanation of the build phase's context. This explanation might include a command ID and an exit code.public String toString()
toString
in class Object
Object.toString()
public PhaseContext clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.