Interface ListCoverageResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCoverageResponse.Builder,,ListCoverageResponse> Inspector2Response.Builder,SdkBuilder<ListCoverageResponse.Builder,,ListCoverageResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCoverageResponse
public static interface ListCoverageResponse.Builder
extends Inspector2Response.Builder, SdkPojo, CopyableBuilder<ListCoverageResponse.Builder,ListCoverageResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncoveredResources(Collection<CoveredResource> coveredResources) An object that contains details on the covered resources in your environment.coveredResources(Consumer<CoveredResource.Builder>... coveredResources) An object that contains details on the covered resources in your environment.coveredResources(CoveredResource... coveredResources) An object that contains details on the covered resources in your environment.A token to use for paginating results that are returned in the response.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
coveredResources
An object that contains details on the covered resources in your environment.
- Parameters:
coveredResources- An object that contains details on the covered resources in your environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coveredResources
An object that contains details on the covered resources in your environment.
- Parameters:
coveredResources- An object that contains details on the covered resources in your environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coveredResources
ListCoverageResponse.Builder coveredResources(Consumer<CoveredResource.Builder>... coveredResources) An object that contains details on the covered resources in your environment.
This is a convenience method that creates an instance of theCoveredResource.Builderavoiding the need to create one manually viaCoveredResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocoveredResources(List<CoveredResource>).- Parameters:
coveredResources- a consumer that will call methods onCoveredResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the
NextTokenvalue returned from the previous request to continue listing results after the first page.- Parameters:
nextToken- A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use theNextTokenvalue returned from the previous request to continue listing results after the first page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-