Interface ResourceErrorsDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceErrorsDetails.Builder,
,ResourceErrorsDetails> SdkBuilder<ResourceErrorsDetails.Builder,
,ResourceErrorsDetails> SdkPojo
- Enclosing class:
ResourceErrorsDetails
@Mutable
@NotThreadSafe
public static interface ResourceErrorsDetails.Builder
extends SdkPojo, CopyableBuilder<ResourceErrorsDetails.Builder,ResourceErrorsDetails>
-
Method Summary
Modifier and TypeMethodDescriptionhasMoreErrors
(Boolean hasMoreErrors) This indicates if there are more errors not listed in theresourceErrors
list.resourceErrors
(Collection<ResourceError> resourceErrors) A list of errors retrieving an application's resources.resourceErrors
(Consumer<ResourceError.Builder>... resourceErrors) A list of errors retrieving an application's resources.resourceErrors
(ResourceError... resourceErrors) A list of errors retrieving an application's resources.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, sdkFieldNameToField, sdkFields
-
Method Details
-
hasMoreErrors
This indicates if there are more errors not listed in the
resourceErrors
list.- Parameters:
hasMoreErrors
- This indicates if there are more errors not listed in theresourceErrors
list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceErrors
A list of errors retrieving an application's resources.
- Parameters:
resourceErrors
- A list of errors retrieving an application's resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceErrors
A list of errors retrieving an application's resources.
- Parameters:
resourceErrors
- A list of errors retrieving an application's resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceErrors
A list of errors retrieving an application's resources.
This is a convenience method that creates an instance of theResourceError.Builder
avoiding the need to create one manually viaResourceError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceErrors(List<ResourceError>)
.- Parameters:
resourceErrors
- a consumer that will call methods onResourceError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-