Interface HealthCheck.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HealthCheck.Builder,,HealthCheck> SdkBuilder<HealthCheck.Builder,,HealthCheck> SdkPojo
- Enclosing class:
HealthCheck
@Mutable
@NotThreadSafe
public static interface HealthCheck.Builder
extends SdkPojo, CopyableBuilder<HealthCheck.Builder,HealthCheck>
-
Method Summary
Modifier and TypeMethodDescriptionconnectorStatus(String connectorStatus) The status of the connectorV2.connectorStatus(ConnectorStatus connectorStatus) The status of the connectorV2.issues(Collection<HealthIssue> issues) A list of health issues associated with the connector, including error codes and messages.issues(Consumer<HealthIssue.Builder>... issues) A list of health issues associated with the connector, including error codes and messages.issues(HealthIssue... issues) A list of health issues associated with the connector, including error codes and messages.lastCheckedAt(Instant lastCheckedAt) ISO 8601 UTC timestamp for the time check the health status of the connectorV2.The message for the reason of connectorStatus change.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
-
connectorStatus
The status of the connectorV2.
- Parameters:
connectorStatus- The status of the connectorV2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectorStatus
The status of the connectorV2.
- Parameters:
connectorStatus- The status of the connectorV2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
The message for the reason of connectorStatus change.
- Parameters:
message- The message for the reason of connectorStatus change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastCheckedAt
ISO 8601 UTC timestamp for the time check the health status of the connectorV2.
- Parameters:
lastCheckedAt- ISO 8601 UTC timestamp for the time check the health status of the connectorV2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issues
A list of health issues associated with the connector, including error codes and messages.
- Parameters:
issues- A list of health issues associated with the connector, including error codes and messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issues
A list of health issues associated with the connector, including error codes and messages.
- Parameters:
issues- A list of health issues associated with the connector, including error codes and messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issues
A list of health issues associated with the connector, including error codes and messages.
This is a convenience method that creates an instance of theHealthIssue.Builderavoiding the need to create one manually viaHealthIssue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toissues(List<HealthIssue>).- Parameters:
issues- a consumer that will call methods onHealthIssue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-