Interface ListCoverageResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListCoverageResponse.Builder,
,ListCoverageResponse> GuardDutyResponse.Builder
,SdkBuilder<ListCoverageResponse.Builder,
,ListCoverageResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListCoverageResponse
public static interface ListCoverageResponse.Builder
extends GuardDutyResponse.Builder, SdkPojo, CopyableBuilder<ListCoverageResponse.Builder,ListCoverageResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination parameter to be used on the next list operation to retrieve more items.resources
(Collection<CoverageResource> resources) A list of resources and their attributes providing cluster details.resources
(Consumer<CoverageResource.Builder>... resources) A list of resources and their attributes providing cluster details.resources
(CoverageResource... resources) A list of resources and their attributes providing cluster details.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
resources
A list of resources and their attributes providing cluster details.
- Parameters:
resources
- A list of resources and their attributes providing cluster details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
A list of resources and their attributes providing cluster details.
- Parameters:
resources
- A list of resources and their attributes providing cluster details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
A list of resources and their attributes providing cluster details.
This is a convenience method that creates an instance of theCoverageResource.Builder
avoiding the need to create one manually viaCoverageResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresources(List<CoverageResource>)
.- Parameters:
resources
- a consumer that will call methods onCoverageResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination parameter to be used on the next list operation to retrieve more items.
- Parameters:
nextToken
- The pagination parameter to be used on the next list operation to retrieve more items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-