public static interface LogSource.Builder extends SdkPojo, CopyableBuilder<LogSource.Builder,LogSource>
| Modifier and Type | Method and Description |
|---|---|
LogSource.Builder |
account(String account)
Specify the account from which you want to collect logs.
|
LogSource.Builder |
region(String region)
Specify the Regions from which you want to collect logs.
|
LogSource.Builder |
sources(Collection<LogSourceResource> sources)
Specify the sources from which you want to collect logs.
|
LogSource.Builder |
sources(Consumer<LogSourceResource.Builder>... sources)
Specify the sources from which you want to collect logs.
|
LogSource.Builder |
sources(LogSourceResource... sources)
Specify the sources from which you want to collect logs.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLogSource.Builder account(String account)
Specify the account from which you want to collect logs.
account - Specify the account from which you want to collect logs.LogSource.Builder region(String region)
Specify the Regions from which you want to collect logs.
region - Specify the Regions from which you want to collect logs.LogSource.Builder sources(Collection<LogSourceResource> sources)
Specify the sources from which you want to collect logs.
sources - Specify the sources from which you want to collect logs.LogSource.Builder sources(LogSourceResource... sources)
Specify the sources from which you want to collect logs.
sources - Specify the sources from which you want to collect logs.LogSource.Builder sources(Consumer<LogSourceResource.Builder>... sources)
Specify the sources from which you want to collect logs.
This is a convenience method that creates an instance of theLogSourceResource.Builder avoiding the need to
create one manually via
LogSourceResource.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #sources(List.
sources - a consumer that will call methods on
LogSourceResource.Builder#sources(java.util.Collection) Copyright © 2023. All rights reserved.