Interface ListLogSourcesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListLogSourcesResponse.Builder,ListLogSourcesResponse>,SdkBuilder<ListLogSourcesResponse.Builder,ListLogSourcesResponse>,SdkPojo,SdkResponse.Builder,SecurityLakeResponse.Builder
- Enclosing class:
- ListLogSourcesResponse
public static interface ListLogSourcesResponse.Builder extends SecurityLakeResponse.Builder, SdkPojo, CopyableBuilder<ListLogSourcesResponse.Builder,ListLogSourcesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListLogSourcesResponse.BuildernextToken(String nextToken)If nextToken is returned, there are more results available.ListLogSourcesResponse.Buildersources(Collection<LogSource> sources)The list of log sources in your organization that send data to the data lake.ListLogSourcesResponse.Buildersources(Consumer<LogSource.Builder>... sources)The list of log sources in your organization that send data to the data lake.ListLogSourcesResponse.Buildersources(LogSource... sources)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 Detail
-
nextToken
ListLogSourcesResponse.Builder nextToken(String 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
ListLogSourcesResponse.Builder sources(Collection<LogSource> 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
ListLogSourcesResponse.Builder sources(LogSource... 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
ListLogSourcesResponse.Builder sources(Consumer<LogSource.Builder>... 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.Builderavoiding the need to create one manually viaLogSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sources(List.) - 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:
#sources(java.util.Collection)
-
-