Interface Diagnostics.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Diagnostics.Builder,
,Diagnostics> SdkBuilder<Diagnostics.Builder,
,Diagnostics> SdkPojo
- Enclosing class:
Diagnostics
-
Method Summary
Modifier and TypeMethodDescriptionThe associated error code:errorCode
(LifecycleErrorCode errorCode) The associated error code:The last portion of the diagnostic log.The message associated with the error.scriptName
(String scriptName) The name of the script.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
scriptName
The name of the script.
- Parameters:
scriptName
- The name of the script.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
The message associated with the error.
- Parameters:
message
- The message associated with the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logTail
The last portion of the diagnostic log.
If available, CodeDeploy returns up to the last 4 KB of the diagnostic log.
- Parameters:
logTail
- The last portion of the diagnostic log.If available, CodeDeploy returns up to the last 4 KB of the diagnostic log.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-