Interface ResourceErrorsDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceErrorsDetails.Builder,,ResourceErrorsDetails> SdkBuilder<ResourceErrorsDetails.Builder,,ResourceErrorsDetails> SdkPojo
- Enclosing class:
ResourceErrorsDetails
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 theresourceErrorslist.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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
hasMoreErrors
This indicates if there are more errors not listed in the
resourceErrorslist.- Parameters:
hasMoreErrors- This indicates if there are more errors not listed in theresourceErrorslist.- 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.Builderavoiding the need to create one manually viaResourceError.builder().When the
Consumercompletes,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:
-