Interface ListDiscoveredResourcesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListDiscoveredResourcesRequest.Builder,,ListDiscoveredResourcesRequest> FmsRequest.Builder,SdkBuilder<ListDiscoveredResourcesRequest.Builder,,ListDiscoveredResourcesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListDiscoveredResourcesRequest
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) The maximum number of objects that you want Firewall Manager to return for this request.memberAccountIds(String... memberAccountIds) The Amazon Web Services account IDs to discover resources in.memberAccountIds(Collection<String> memberAccountIds) The Amazon Web Services account IDs to discover resources in.When you request a list of objects with aMaxResultssetting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns aNextTokenvalue in the response.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceType(String resourceType) The type of resources to discover.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.fms.model.FmsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
memberAccountIds
The Amazon Web Services account IDs to discover resources in. Only one account is supported per request. The account must be a member of your organization.
- Parameters:
memberAccountIds- The Amazon Web Services account IDs to discover resources in. Only one account is supported per request. The account must be a member of your organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberAccountIds
The Amazon Web Services account IDs to discover resources in. Only one account is supported per request. The account must be a member of your organization.
- Parameters:
memberAccountIds- The Amazon Web Services account IDs to discover resources in. Only one account is supported per request. The account must be a member of your organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The type of resources to discover.
- Parameters:
resourceType- The type of resources to discover.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of objects that you want Firewall Manager to return for this request. If more objects are available, in the response, Firewall Manager provides a
NextTokenvalue that you can use in a subsequent call to get the next batch of objects.- Parameters:
maxResults- The maximum number of objects that you want Firewall Manager to return for this request. If more objects are available, in the response, Firewall Manager provides aNextTokenvalue that you can use in a subsequent call to get the next batch of objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
When you request a list of objects with a
MaxResultssetting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns aNextTokenvalue in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.- Parameters:
nextToken- When you request a list of objects with aMaxResultssetting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns aNextTokenvalue in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListDiscoveredResourcesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListDiscoveredResourcesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-