Class CfnSubscriber.SourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.securitylake.CfnSubscriber.SourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSubscriber.SourceProperty>
- Enclosing interface:
CfnSubscriber.SourceProperty
@Stability(Stable)
public static final class CfnSubscriber.SourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSubscriber.SourceProperty>
A builder for
CfnSubscriber.SourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsLogSource(IResolvable awsLogSource) Sets the value ofCfnSubscriber.SourceProperty.getAwsLogSource()awsLogSource(CfnSubscriber.AwsLogSourceProperty awsLogSource) Sets the value ofCfnSubscriber.SourceProperty.getAwsLogSource()build()Builds the configured instance.customLogSource(IResolvable customLogSource) Sets the value ofCfnSubscriber.SourceProperty.getCustomLogSource()customLogSource(CfnSubscriber.CustomLogSourceProperty customLogSource) Sets the value ofCfnSubscriber.SourceProperty.getCustomLogSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsLogSource
@Stability(Stable) public CfnSubscriber.SourceProperty.Builder awsLogSource(IResolvable awsLogSource) Sets the value ofCfnSubscriber.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 CfnSubscriber.SourceProperty.Builder awsLogSource(CfnSubscriber.AwsLogSourceProperty awsLogSource) Sets the value ofCfnSubscriber.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 CfnSubscriber.SourceProperty.Builder customLogSource(IResolvable customLogSource) Sets the value ofCfnSubscriber.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 CfnSubscriber.SourceProperty.Builder customLogSource(CfnSubscriber.CustomLogSourceProperty customLogSource) Sets the value ofCfnSubscriber.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<CfnSubscriber.SourceProperty>- Returns:
- a new instance of
CfnSubscriber.SourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-