Interface ListControlResourcesResponse.Builder
- All Superinterfaces:
AssuranceResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListControlResourcesResponse.Builder,,ListControlResourcesResponse> SdkBuilder<ListControlResourcesResponse.Builder,,ListControlResourcesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListControlResourcesResponse
@Mutable
@NotThreadSafe
public static interface ListControlResourcesResponse.Builder
extends AssuranceResponse.Builder, SdkPojo, CopyableBuilder<ListControlResourcesResponse.Builder,ListControlResourcesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token for the next page of results.resources(Collection<DiscoveredResource> resources) The discovered resources that are in scope for the control.resources(Consumer<DiscoveredResource.Builder>... resources) The discovered resources that are in scope for the control.resources(DiscoveredResource... resources) The discovered resources that are in scope for the control.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
-
resources
The discovered resources that are in scope for the control.
- Parameters:
resources- The discovered resources that are in scope for the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
The discovered resources that are in scope for the control.
- Parameters:
resources- The discovered resources that are in scope for the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
The discovered resources that are in scope for the control.
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 toresources(List<DiscoveredResource>).- Parameters:
resources- 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:
-
nextToken
The pagination token for the next page of results. If the value is null, there are no more results to return.
- Parameters:
nextToken- The pagination token for 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.
-