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 aMaxResults
setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns aNextToken
value 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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.fms.model.FmsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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
NextToken
value 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 aNextToken
value 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
MaxResults
setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns aNextToken
value 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 aMaxResults
setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns aNextToken
value 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-