Interface Diagnostics.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Diagnostics.Builder,Diagnostics>,SdkBuilder<Diagnostics.Builder,Diagnostics>,SdkPojo
- Enclosing class:
- Diagnostics
public static interface Diagnostics.Builder extends SdkPojo, CopyableBuilder<Diagnostics.Builder,Diagnostics>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Diagnostics.BuildererrorCode(String errorCode)The associated error code:Diagnostics.BuildererrorCode(LifecycleErrorCode errorCode)The associated error code:Diagnostics.BuilderlogTail(String logTail)The last portion of the diagnostic log.Diagnostics.Buildermessage(String message)The message associated with the error.Diagnostics.BuilderscriptName(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
errorCode
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.
- 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:
LifecycleErrorCode,LifecycleErrorCode
-
-
errorCode
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.
- 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:
LifecycleErrorCode,LifecycleErrorCode
-
-
scriptName
Diagnostics.Builder scriptName(String 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
Diagnostics.Builder message(String 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
Diagnostics.Builder logTail(String 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.
-
-