Class CfnAwsLogSourceMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.securitylake.CfnAwsLogSourceMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAwsLogSourceMixinProps>
- Enclosing interface:
CfnAwsLogSourceMixinProps
@Stability(Stable)
public static final class CfnAwsLogSourceMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAwsLogSourceMixinProps>
A builder for
CfnAwsLogSourceMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnAwsLogSourceMixinProps.getAccounts()build()Builds the configured instance.dataLakeArn(String dataLakeArn) Sets the value ofCfnAwsLogSourceMixinProps.getDataLakeArn()sourceName(String sourceName) Sets the value ofCfnAwsLogSourceMixinProps.getSourceName()sourceVersion(String sourceVersion) Sets the value ofCfnAwsLogSourceMixinProps.getSourceVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accounts
Sets the value ofCfnAwsLogSourceMixinProps.getAccounts()- Parameters:
accounts- Specify the AWS account information where you want to enable Security Lake.- Returns:
this
-
dataLakeArn
Sets the value ofCfnAwsLogSourceMixinProps.getDataLakeArn()- Parameters:
dataLakeArn- The Amazon Resource Name (ARN) used to create the data lake.- Returns:
this
-
sourceName
Sets the value ofCfnAwsLogSourceMixinProps.getSourceName()- Parameters:
sourceName- The name for a AWS source. This must be a Regionally unique value. 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
Sets the value ofCfnAwsLogSourceMixinProps.getSourceVersion()- Parameters:
sourceVersion- The version for a AWS source. For more details about source versions supported by Amazon Security Lake see OCSF source identification in the Amazon Security Lake User Guide. This must be a Regionally unique value.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAwsLogSourceMixinProps>- Returns:
- a new instance of
CfnAwsLogSourceMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-