Interface CspmHealthCheck.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CspmHealthCheck.Builder,,CspmHealthCheck> SdkBuilder<CspmHealthCheck.Builder,,CspmHealthCheck> SdkPojo
- Enclosing class:
CspmHealthCheck
@Mutable
@NotThreadSafe
public static interface CspmHealthCheck.Builder
extends SdkPojo, CopyableBuilder<CspmHealthCheck.Builder,CspmHealthCheck>
-
Method Summary
Modifier and TypeMethodDescriptionconnectorStatus(String connectorStatus) The connectivity status of the connector.connectorStatus(CspmConnectorStatus connectorStatus) The connectivity status of the connector.issues(Collection<HealthIssue> issues) A list of health issues associated with the connector.issues(Consumer<HealthIssue.Builder>... issues) A list of health issues associated with the connector.issues(HealthIssue... issues) A list of health issues associated with the connector.lastCheckedAt(Instant lastCheckedAt) The ISO 8601 UTC timestamp indicating when the health status was last checked.A message describing the reason for the current connector status.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 connectivity status of the connector.
- Parameters:
connectorStatus- The connectivity status of the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectorStatus
The connectivity status of the connector.
- Parameters:
connectorStatus- The connectivity status of the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
A message describing the reason for the current connector status.
- Parameters:
message- A message describing the reason for the current connector status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastCheckedAt
The ISO 8601 UTC timestamp indicating when the health status was last checked.
- Parameters:
lastCheckedAt- The ISO 8601 UTC timestamp indicating when the health status was last checked.- 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.
- Parameters:
issues- A list of health issues associated with the connector.- 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.
- Parameters:
issues- A list of health issues associated with the connector.- 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.
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:
-