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