Interface DataSource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DataSource.Builder,,DataSource> SdkBuilder<DataSource.Builder,,DataSource> SdkPojo
- Enclosing class:
DataSource
@Mutable
@NotThreadSafe
public static interface DataSource.Builder
extends SdkPojo, CopyableBuilder<DataSource.Builder,DataSource>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the data source.The type of the data source.Methods 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, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the data source. For CloudWatch Logs sources, this corresponds to the
data_source_namefrom the log event metadata. For third-party sources, this is either the configureddata_source_nameor defaults to the plugin name if not specified.- Parameters:
name- The name of the data source. For CloudWatch Logs sources, this corresponds to thedata_source_namefrom the log event metadata. For third-party sources, this is either the configureddata_source_nameor defaults to the plugin name if not specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of the data source. For CloudWatch Logs sources, this corresponds to the
data_source_typefrom the log event metadata. For third-party sources, this field is empty.- Parameters:
type- The type of the data source. For CloudWatch Logs sources, this corresponds to thedata_source_typefrom the log event metadata. For third-party sources, this field is empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-