@Generated(value="software.amazon.awssdk:codegen") public class Diagnostics extends Object implements StructuredPojo, software.amazon.awssdk.utils.builder.ToCopyableBuilder<Diagnostics.Builder,Diagnostics>
Diagnostic information about executable scripts that are part of a deployment.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Diagnostics.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Diagnostics.Builder |
builder() |
boolean |
equals(Object obj) |
String |
errorCode()
The associated error code:
|
int |
hashCode() |
String |
logTail()
The last portion of the diagnostic log.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
String |
message()
The message associated with the error.
|
String |
scriptName()
The name of the script.
|
static Class<? extends Diagnostics.Builder> |
serializableBuilderClass() |
Diagnostics.Builder |
toBuilder() |
String |
toString() |
public String errorCode()
The associated error code:
Success: The specified script ran.
ScriptMissing: The specified script was not found in the specified location.
ScriptNotExecutable: The specified script is not a recognized executable file type.
ScriptTimedOut: The specified script did not finish running in the specified time period.
ScriptFailed: The specified script failed to run as expected.
UnknownError: The specified script did not run for an unknown reason.
Success: The specified script ran.
ScriptMissing: The specified script was not found in the specified location.
ScriptNotExecutable: The specified script is not a recognized executable file type.
ScriptTimedOut: The specified script did not finish running in the specified time period.
ScriptFailed: The specified script failed to run as expected.
UnknownError: The specified script did not run for an unknown reason.
LifecycleErrorCodepublic String scriptName()
The name of the script.
public String message()
The message associated with the error.
public String logTail()
The last portion of the diagnostic log.
If available, AWS CodeDeploy returns up to the last 4 KB of the diagnostic log.
If available, AWS CodeDeploy returns up to the last 4 KB of the diagnostic log.
public Diagnostics.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<Diagnostics.Builder,Diagnostics>public static Diagnostics.Builder builder()
public static Class<? extends Diagnostics.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2017. All rights reserved.