Interface GetIpamDiscoveredAccountsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetIpamDiscoveredAccountsRequest.Builder,
,GetIpamDiscoveredAccountsRequest> Ec2Request.Builder
,SdkBuilder<GetIpamDiscoveredAccountsRequest.Builder,
,GetIpamDiscoveredAccountsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetIpamDiscoveredAccountsRequest
-
Method Summary
Modifier and TypeMethodDescriptiondiscoveryRegion
(String discoveryRegion) The Amazon Web Services Region that the account information is returned from.A check for whether you have the required permissions for the action without actually making the request and provides an error response.filters
(Collection<Filter> filters) Discovered account filters.filters
(Consumer<Filter.Builder>... filters) Discovered account filters.Discovered account filters.ipamResourceDiscoveryId
(String ipamResourceDiscoveryId) A resource discovery ID.maxResults
(Integer maxResults) The maximum number of discovered accounts to return in one page of results.Specify the pagination token from a previous request to retrieve the next page of results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.ec2.model.Ec2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
dryRun
A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Parameters:
dryRun
- A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipamResourceDiscoveryId
A resource discovery ID.
- Parameters:
ipamResourceDiscoveryId
- A resource discovery ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
discoveryRegion
The Amazon Web Services Region that the account information is returned from.
- Parameters:
discoveryRegion
- The Amazon Web Services Region that the account information is returned from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Discovered account filters.
- Parameters:
filters
- Discovered account filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Discovered account filters.
- Parameters:
filters
- Discovered account filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Discovered account filters.
This is a convenience method that creates an instance of theFilter.Builder
avoiding the need to create one manually viaFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<Filter>)
.- Parameters:
filters
- a consumer that will call methods onFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Specify the pagination token from a previous request to retrieve the next page of results.
- Parameters:
nextToken
- Specify the pagination token from a previous request to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of discovered accounts to return in one page of results.
- Parameters:
maxResults
- The maximum number of discovered accounts to return in one page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetIpamDiscoveredAccountsRequest.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
GetIpamDiscoveredAccountsRequest.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.
-