Interface AddonHealth.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AddonHealth.Builder,
,AddonHealth> SdkBuilder<AddonHealth.Builder,
,AddonHealth> SdkPojo
- Enclosing class:
AddonHealth
public static interface AddonHealth.Builder
extends SdkPojo, CopyableBuilder<AddonHealth.Builder,AddonHealth>
-
Method Summary
Modifier and TypeMethodDescriptionissues
(Collection<AddonIssue> issues) An object representing the health issues for an add-on.issues
(Consumer<AddonIssue.Builder>... issues) An object representing the health issues for an add-on.issues
(AddonIssue... issues) An object representing the health issues for an add-on.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, sdkFields
-
Method Details
-
issues
An object representing the health issues for an add-on.
- Parameters:
issues
- An object representing the health issues for an add-on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issues
An object representing the health issues for an add-on.
- Parameters:
issues
- An object representing the health issues for an add-on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issues
An object representing the health issues for an add-on.
This is a convenience method that creates an instance of theAddonIssue.Builder
avoiding the need to create one manually viaAddonIssue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toissues(List<AddonIssue>)
.- Parameters:
issues
- a consumer that will call methods onAddonIssue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-