Class CfnSubscriberPropsMixin.AwsLogSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.securitylake.CfnSubscriberPropsMixin.AwsLogSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSubscriberPropsMixin.AwsLogSourceProperty>
- Enclosing interface:
CfnSubscriberPropsMixin.AwsLogSourceProperty
@Stability(Stable)
public static final class CfnSubscriberPropsMixin.AwsLogSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSubscriberPropsMixin.AwsLogSourceProperty>
A builder for
CfnSubscriberPropsMixin.AwsLogSourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.sourceName(String sourceName) Sets the value ofCfnSubscriberPropsMixin.AwsLogSourceProperty.getSourceName()sourceVersion(String sourceVersion) Sets the value ofCfnSubscriberPropsMixin.AwsLogSourceProperty.getSourceVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sourceName
@Stability(Stable) public CfnSubscriberPropsMixin.AwsLogSourceProperty.Builder sourceName(String sourceName) Sets the value ofCfnSubscriberPropsMixin.AwsLogSourceProperty.getSourceName()- Parameters:
sourceName- Source name of the natively supported AWS service that is supported as an Amazon Security Lake source. For the list of sources supported by Amazon Security Lake see Collecting data from AWS services in the Amazon Security Lake User Guide.- Returns:
this
-
sourceVersion
@Stability(Stable) public CfnSubscriberPropsMixin.AwsLogSourceProperty.Builder sourceVersion(String sourceVersion) Sets the value ofCfnSubscriberPropsMixin.AwsLogSourceProperty.getSourceVersion()- Parameters:
sourceVersion- Source version of the natively supported AWS service that is supported as an Amazon Security Lake source. For more details about source versions supported by Amazon Security Lake see OCSF source identification in the Amazon Security Lake User Guide.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSubscriberPropsMixin.AwsLogSourceProperty>- Returns:
- a new instance of
CfnSubscriberPropsMixin.AwsLogSourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-