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