Class CfnSubscriberPropsMixin.SourceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.securitylake.CfnSubscriberPropsMixin.SourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSubscriberPropsMixin.SourceProperty>
- Enclosing interface:
CfnSubscriberPropsMixin.SourceProperty
@Stability(Stable)
public static final class CfnSubscriberPropsMixin.SourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSubscriberPropsMixin.SourceProperty>
A builder for
CfnSubscriberPropsMixin.SourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsLogSource(CfnSubscriberPropsMixin.AwsLogSourceProperty awsLogSource) Sets the value ofCfnSubscriberPropsMixin.SourceProperty.getAwsLogSource()awsLogSource(IResolvable awsLogSource) Sets the value ofCfnSubscriberPropsMixin.SourceProperty.getAwsLogSource()build()Builds the configured instance.customLogSource(CfnSubscriberPropsMixin.CustomLogSourceProperty customLogSource) Sets the value ofCfnSubscriberPropsMixin.SourceProperty.getCustomLogSource()customLogSource(IResolvable customLogSource) Sets the value ofCfnSubscriberPropsMixin.SourceProperty.getCustomLogSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsLogSource
@Stability(Stable) public CfnSubscriberPropsMixin.SourceProperty.Builder awsLogSource(IResolvable awsLogSource) Sets the value ofCfnSubscriberPropsMixin.SourceProperty.getAwsLogSource()- Parameters:
awsLogSource- The natively supported AWS service which is used a Amazon Security Lake source to collect logs and events from.- Returns:
this
-
awsLogSource
@Stability(Stable) public CfnSubscriberPropsMixin.SourceProperty.Builder awsLogSource(CfnSubscriberPropsMixin.AwsLogSourceProperty awsLogSource) Sets the value ofCfnSubscriberPropsMixin.SourceProperty.getAwsLogSource()- Parameters:
awsLogSource- The natively supported AWS service which is used a Amazon Security Lake source to collect logs and events from.- Returns:
this
-
customLogSource
@Stability(Stable) public CfnSubscriberPropsMixin.SourceProperty.Builder customLogSource(IResolvable customLogSource) Sets the value ofCfnSubscriberPropsMixin.SourceProperty.getCustomLogSource()- Parameters:
customLogSource- The custom log source AWS which is used a Amazon Security Lake source to collect logs and events from.- Returns:
this
-
customLogSource
@Stability(Stable) public CfnSubscriberPropsMixin.SourceProperty.Builder customLogSource(CfnSubscriberPropsMixin.CustomLogSourceProperty customLogSource) Sets the value ofCfnSubscriberPropsMixin.SourceProperty.getCustomLogSource()- Parameters:
customLogSource- The custom log source AWS which is used a Amazon Security Lake source to collect logs and events from.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSubscriberPropsMixin.SourceProperty>- Returns:
- a new instance of
CfnSubscriberPropsMixin.SourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-