public static interface Diagnostics.Builder extends CopyableBuilder<Diagnostics.Builder,Diagnostics>
Modifier and Type | Method and Description |
---|---|
Diagnostics.Builder |
errorCode(LifecycleErrorCode errorCode)
The associated error code:
|
Diagnostics.Builder |
errorCode(String errorCode)
The associated error code:
|
Diagnostics.Builder |
logTail(String logTail)
The last portion of the diagnostic log.
|
Diagnostics.Builder |
message(String message)
The message associated with the error.
|
Diagnostics.Builder |
scriptName(String scriptName)
The name of the script.
|
copy
apply, build
Diagnostics.Builder errorCode(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.
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.
LifecycleErrorCode
,
LifecycleErrorCode
Diagnostics.Builder errorCode(LifecycleErrorCode 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.
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.
LifecycleErrorCode
,
LifecycleErrorCode
Diagnostics.Builder scriptName(String scriptName)
The name of the script.
scriptName
- The name of the script.Diagnostics.Builder message(String message)
The message associated with the error.
message
- The message associated with the error.Diagnostics.Builder logTail(String logTail)
The last portion of the diagnostic log.
If available, AWS CodeDeploy returns up to the last 4 KB of the diagnostic log.
logTail
- The last portion of the diagnostic log.
If available, AWS CodeDeploy returns up to the last 4 KB of the diagnostic log.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.