Interface ConnectionFailure.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConnectionFailure.Builder,,ConnectionFailure> SdkBuilder<ConnectionFailure.Builder,,ConnectionFailure> SdkPojo
- Enclosing class:
ConnectionFailure
-
Method Summary
Modifier and TypeMethodDescriptionA code that identifies why the connection failed.code(ConnectionFailureCode code) A code that identifies why the connection failed.The failure message.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
code
A code that identifies why the connection failed. Codes include the following:
-
GLUE_CONNECTION_UNAVAILABLE- The AWS Glue connection failed AWS Glue validation or no longer exists, or AWS Context couldn't provision catalog synchronization. Check the AWS Glue connection in the AWS Glue console, and then create the connection again.
New codes can be added, so handle a code that you don't recognize. Use
code, notmessage, to decide how to respond.- Parameters:
code- A code that identifies why the connection failed. Codes include the following:-
GLUE_CONNECTION_UNAVAILABLE- The AWS Glue connection failed AWS Glue validation or no longer exists, or AWS Context couldn't provision catalog synchronization. Check the AWS Glue connection in the AWS Glue console, and then create the connection again.
New codes can be added, so handle a code that you don't recognize. Use
code, notmessage, to decide how to respond.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
code
A code that identifies why the connection failed. Codes include the following:
-
GLUE_CONNECTION_UNAVAILABLE- The AWS Glue connection failed AWS Glue validation or no longer exists, or AWS Context couldn't provision catalog synchronization. Check the AWS Glue connection in the AWS Glue console, and then create the connection again.
New codes can be added, so handle a code that you don't recognize. Use
code, notmessage, to decide how to respond.- Parameters:
code- A code that identifies why the connection failed. Codes include the following:-
GLUE_CONNECTION_UNAVAILABLE- The AWS Glue connection failed AWS Glue validation or no longer exists, or AWS Context couldn't provision catalog synchronization. Check the AWS Glue connection in the AWS Glue console, and then create the connection again.
New codes can be added, so handle a code that you don't recognize. Use
code, notmessage, to decide how to respond.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
message
The failure message. For an AWS Glue connection that failed validation, this is the StatusReason from AWS Glue. Otherwise, it is a message from AWS Context.
- Parameters:
message- The failure message. For an AWS Glue connection that failed validation, this is the StatusReason from AWS Glue. Otherwise, it is a message from AWS Context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-