Class PhaseContext
- java.lang.Object
-
- software.amazon.awssdk.services.codebuild.model.PhaseContext
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PhaseContext.Builder,PhaseContext>
@Generated("software.amazon.awssdk:codegen") public final class PhaseContext extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PhaseContext.Builder,PhaseContext>
Additional information about a build phase that has an error. You can use this information for troubleshooting.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePhaseContext.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PhaseContext.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmessage()An explanation of the build phase's context.List<SdkField<?>>sdkFields()static Class<? extends PhaseContext.Builder>serializableBuilderClass()StringstatusCode()The status code for the context of the build phase.PhaseContext.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
statusCode
public final String statusCode()
The status code for the context of the build phase.
- Returns:
- The status code for the context of the build phase.
-
message
public final String message()
An explanation of the build phase's context. This might include a command ID and an exit code.
- Returns:
- An explanation of the build phase's context. This might include a command ID and an exit code.
-
toBuilder
public PhaseContext.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PhaseContext.Builder,PhaseContext>
-
builder
public static PhaseContext.Builder builder()
-
serializableBuilderClass
public static Class<? extends PhaseContext.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-