Interface CapabilityHealth.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CapabilityHealth.Builder,,CapabilityHealth> SdkBuilder<CapabilityHealth.Builder,,CapabilityHealth> SdkPojo
- Enclosing class:
CapabilityHealth
@Mutable
@NotThreadSafe
public static interface CapabilityHealth.Builder
extends SdkPojo, CopyableBuilder<CapabilityHealth.Builder,CapabilityHealth>
-
Method Summary
Modifier and TypeMethodDescriptionissues(Collection<CapabilityIssue> issues) A list of issues affecting the capability.issues(Consumer<CapabilityIssue.Builder>... issues) A list of issues affecting the capability.issues(CapabilityIssue... issues) A list of issues affecting the capability.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
-
issues
A list of issues affecting the capability. If this list is empty, the capability is healthy.
- Parameters:
issues- A list of issues affecting the capability. If this list is empty, the capability is healthy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issues
A list of issues affecting the capability. If this list is empty, the capability is healthy.
- Parameters:
issues- A list of issues affecting the capability. If this list is empty, the capability is healthy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issues
A list of issues affecting the capability. If this list is empty, the capability is healthy.
This is a convenience method that creates an instance of theCapabilityIssue.Builderavoiding the need to create one manually viaCapabilityIssue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toissues(List<CapabilityIssue>).- Parameters:
issues- a consumer that will call methods onCapabilityIssue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-