Interface DataSourceConfigurations.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DataSourceConfigurations.Builder,DataSourceConfigurations>,SdkBuilder<DataSourceConfigurations.Builder,DataSourceConfigurations>,SdkPojo
- Enclosing class:
- DataSourceConfigurations
public static interface DataSourceConfigurations.Builder extends SdkPojo, CopyableBuilder<DataSourceConfigurations.Builder,DataSourceConfigurations>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DataSourceConfigurations.Builderkubernetes(Consumer<KubernetesConfiguration.Builder> kubernetes)Describes whether any Kubernetes logs are enabled as data sources.DataSourceConfigurations.Builderkubernetes(KubernetesConfiguration kubernetes)Describes whether any Kubernetes logs are enabled as data sources.default DataSourceConfigurations.BuildermalwareProtection(Consumer<MalwareProtectionConfiguration.Builder> malwareProtection)Describes whether Malware Protection is enabled as a data source.DataSourceConfigurations.BuildermalwareProtection(MalwareProtectionConfiguration malwareProtection)Describes whether Malware Protection is enabled as a data source.default DataSourceConfigurations.Builders3Logs(Consumer<S3LogsConfiguration.Builder> s3Logs)Describes whether S3 data event logs are enabled as a data source.DataSourceConfigurations.Builders3Logs(S3LogsConfiguration s3Logs)Describes whether S3 data event logs are enabled as a data source.-
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, sdkFields
-
-
-
-
Method Detail
-
s3Logs
DataSourceConfigurations.Builder s3Logs(S3LogsConfiguration s3Logs)
Describes whether S3 data event logs are enabled as a data source.
- Parameters:
s3Logs- Describes whether S3 data event logs are enabled as a data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Logs
default DataSourceConfigurations.Builder s3Logs(Consumer<S3LogsConfiguration.Builder> s3Logs)
Describes whether S3 data event logs are enabled as a data source.
This is a convenience method that creates an instance of theS3LogsConfiguration.Builderavoiding the need to create one manually viaS3LogsConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Logs(S3LogsConfiguration).- Parameters:
s3Logs- a consumer that will call methods onS3LogsConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3Logs(S3LogsConfiguration)
-
kubernetes
DataSourceConfigurations.Builder kubernetes(KubernetesConfiguration kubernetes)
Describes whether any Kubernetes logs are enabled as data sources.
- Parameters:
kubernetes- Describes whether any Kubernetes logs are enabled as data sources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kubernetes
default DataSourceConfigurations.Builder kubernetes(Consumer<KubernetesConfiguration.Builder> kubernetes)
Describes whether any Kubernetes logs are enabled as data sources.
This is a convenience method that creates an instance of theKubernetesConfiguration.Builderavoiding the need to create one manually viaKubernetesConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokubernetes(KubernetesConfiguration).- Parameters:
kubernetes- a consumer that will call methods onKubernetesConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
kubernetes(KubernetesConfiguration)
-
malwareProtection
DataSourceConfigurations.Builder malwareProtection(MalwareProtectionConfiguration malwareProtection)
Describes whether Malware Protection is enabled as a data source.
- Parameters:
malwareProtection- Describes whether Malware Protection is enabled as a data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
malwareProtection
default DataSourceConfigurations.Builder malwareProtection(Consumer<MalwareProtectionConfiguration.Builder> malwareProtection)
Describes whether Malware Protection is enabled as a data source.
This is a convenience method that creates an instance of theMalwareProtectionConfiguration.Builderavoiding the need to create one manually viaMalwareProtectionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomalwareProtection(MalwareProtectionConfiguration).- Parameters:
malwareProtection- a consumer that will call methods onMalwareProtectionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
malwareProtection(MalwareProtectionConfiguration)
-
-