Interface ListDiscoveredResourcesResponse.Builder
- All Superinterfaces:
AssuranceResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListDiscoveredResourcesResponse.Builder,,ListDiscoveredResourcesResponse> SdkBuilder<ListDiscoveredResourcesResponse.Builder,,ListDiscoveredResourcesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDiscoveredResourcesResponse
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies whether the environment's resource inventory has finished loading.coverage(CoverageStatus coverage) Specifies whether the environment's resource inventory has finished loading.The pagination token returned by a previous request.resourceIdentifiers(Collection<DiscoveredResource> resourceIdentifiers) The resources for this page of results.resourceIdentifiers(Consumer<DiscoveredResource.Builder>... resourceIdentifiers) The resources for this page of results.resourceIdentifiers(DiscoveredResource... resourceIdentifiers) The resources for this page of results.Methods inherited from interface software.amazon.awssdk.services.assurance.model.AssuranceResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
resourceIdentifiers
ListDiscoveredResourcesResponse.Builder resourceIdentifiers(Collection<DiscoveredResource> resourceIdentifiers) The resources for this page of results.
- Parameters:
resourceIdentifiers- The resources for this page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIdentifiers
ListDiscoveredResourcesResponse.Builder resourceIdentifiers(DiscoveredResource... resourceIdentifiers) The resources for this page of results.
- Parameters:
resourceIdentifiers- The resources for this page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIdentifiers
ListDiscoveredResourcesResponse.Builder resourceIdentifiers(Consumer<DiscoveredResource.Builder>... resourceIdentifiers) The resources for this page of results.
This is a convenience method that creates an instance of theDiscoveredResource.Builderavoiding the need to create one manually viaDiscoveredResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceIdentifiers(List<DiscoveredResource>).- Parameters:
resourceIdentifiers- a consumer that will call methods onDiscoveredResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
coverage
Specifies whether the environment's resource inventory has finished loading. When the value is absent, treat it as
COMPLETE. Valid values:-
COMPLETE– The inventory has finished loading. -
PARTIAL– The inventory is still loading after the environment was created, so the list can be missing resources that a later call returns.
- Parameters:
coverage- Specifies whether the environment's resource inventory has finished loading. When the value is absent, treat it asCOMPLETE. Valid values:-
COMPLETE– The inventory has finished loading. -
PARTIAL– The inventory is still loading after the environment was created, so the list can be missing resources that a later call returns.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
coverage
Specifies whether the environment's resource inventory has finished loading. When the value is absent, treat it as
COMPLETE. Valid values:-
COMPLETE– The inventory has finished loading. -
PARTIAL– The inventory is still loading after the environment was created, so the list can be missing resources that a later call returns.
- Parameters:
coverage- Specifies whether the environment's resource inventory has finished loading. When the value is absent, treat it asCOMPLETE. Valid values:-
COMPLETE– The inventory has finished loading. -
PARTIAL– The inventory is still loading after the environment was created, so the list can be missing resources that a later call returns.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
nextToken
The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.
- Parameters:
nextToken- The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-