Interface ListLogSourcesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListLogSourcesRequest.Builder,,ListLogSourcesRequest> SdkBuilder<ListLogSourcesRequest.Builder,,ListLogSourcesRequest> SdkPojo,SdkRequest.Builder,SecurityLakeRequest.Builder
- Enclosing class:
ListLogSourcesRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe list of Amazon Web Services accounts for which log sources are displayed.accounts(Collection<String> accounts) The list of Amazon Web Services accounts for which log sources are displayed.maxResults(Integer maxResults) The maximum number of accounts for which the log sources are displayed.If nextToken is returned, there are more results available.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The list of Regions for which log sources are displayed.regions(Collection<String> regions) The list of Regions for which log sources are displayed.sources(Collection<LogSourceResource> sources) The list of sources for which log sources are displayed.sources(Consumer<LogSourceResource.Builder>... sources) The list of sources for which log sources are displayed.sources(LogSourceResource... sources) The list of sources for which log sources are displayed.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.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.securitylake.model.SecurityLakeRequest.Builder
build
-
Method Details
-
accounts
The list of Amazon Web Services accounts for which log sources are displayed.
- Parameters:
accounts- The list of Amazon Web Services accounts for which log sources are displayed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accounts
The list of Amazon Web Services accounts for which log sources are displayed.
- Parameters:
accounts- The list of Amazon Web Services accounts for which log sources are displayed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of accounts for which the log sources are displayed.
- Parameters:
maxResults- The maximum number of accounts for which the log sources are displayed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If nextToken is returned, there are more results available. You can repeat the call using the returned token to retrieve the next page.
- Parameters:
nextToken- If nextToken is returned, there are more results available. You can repeat the call using the returned token to retrieve the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regions
The list of Regions for which log sources are displayed.
- Parameters:
regions- The list of Regions for which log sources are displayed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regions
The list of Regions for which log sources are displayed.
- Parameters:
regions- The list of Regions for which log sources are displayed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The list of sources for which log sources are displayed.
- Parameters:
sources- The list of sources for which log sources are displayed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The list of sources for which log sources are displayed.
- Parameters:
sources- The list of sources for which log sources are displayed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The list of sources for which log sources are displayed.
This is a convenience method that creates an instance of theLogSourceResource.Builderavoiding the need to create one manually viaLogSourceResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosources(List<LogSourceResource>).- Parameters:
sources- a consumer that will call methods onLogSourceResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListLogSourcesRequest.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
ListLogSourcesRequest.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.
-