StructuredPojo
, ToCopyableBuilder<Diagnostics.Builder,Diagnostics>
@Generated("software.amazon.awssdk:codegen") public class Diagnostics extends Object implements StructuredPojo, ToCopyableBuilder<Diagnostics.Builder,Diagnostics>
Diagnostic information about executable scripts that are part of a deployment.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Diagnostics.Builder |
Modifier and Type | Method | 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) |
Marshalls this structured data using the given
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() |
Take this object and create a builder that contains all of the current property values of this object.
|
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.
LifecycleErrorCode
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Diagnostics.Builder,Diagnostics>
public static Diagnostics.Builder builder()
public static Class<? extends Diagnostics.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.