Interface ListLogSourcesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListLogSourcesResponse.Builder,
,ListLogSourcesResponse> SdkBuilder<ListLogSourcesResponse.Builder,
,ListLogSourcesResponse> SdkPojo
,SdkResponse.Builder
,SecurityLakeResponse.Builder
- Enclosing class:
ListLogSourcesResponse
@Mutable
@NotThreadSafe
public static interface ListLogSourcesResponse.Builder
extends SecurityLakeResponse.Builder, SdkPojo, CopyableBuilder<ListLogSourcesResponse.Builder,ListLogSourcesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf nextToken is returned, there are more results available.sources
(Collection<LogSource> sources) The list of log sources in your organization that send data to the data lake.sources
(Consumer<LogSource.Builder>... sources) The list of log sources in your organization that send data to the data lake.The list of log sources in your organization that send data to the data lake.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.securitylake.model.SecurityLakeResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
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.
-
sources
The list of log sources in your organization that send data to the data lake.
- Parameters:
sources
- The list of log sources in your organization that send data to the data lake.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The list of log sources in your organization that send data to the data lake.
- Parameters:
sources
- The list of log sources in your organization that send data to the data lake.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The list of log sources in your organization that send data to the data lake.
This is a convenience method that creates an instance of theLogSource.Builder
avoiding the need to create one manually viaLogSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosources(List<LogSource>)
.- Parameters:
sources
- a consumer that will call methods onLogSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-