Class CfnSubscriber.CustomLogSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.securitylake.CfnSubscriber.CustomLogSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSubscriber.CustomLogSourceProperty>
- Enclosing interface:
CfnSubscriber.CustomLogSourceProperty
@Stability(Stable)
public static final class CfnSubscriber.CustomLogSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSubscriber.CustomLogSourceProperty>
A builder for
CfnSubscriber.CustomLogSourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.sourceName(String sourceName) Sets the value ofCfnSubscriber.CustomLogSourceProperty.getSourceName()sourceVersion(String sourceVersion) Sets the value ofCfnSubscriber.CustomLogSourceProperty.getSourceVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sourceName
@Stability(Stable) public CfnSubscriber.CustomLogSourceProperty.Builder sourceName(String sourceName) Sets the value ofCfnSubscriber.CustomLogSourceProperty.getSourceName()- Parameters:
sourceName- The name of the custom log source.- Returns:
this
-
sourceVersion
@Stability(Stable) public CfnSubscriber.CustomLogSourceProperty.Builder sourceVersion(String sourceVersion) Sets the value ofCfnSubscriber.CustomLogSourceProperty.getSourceVersion()- Parameters:
sourceVersion- The source version of the custom log source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSubscriber.CustomLogSourceProperty>- Returns:
- a new instance of
CfnSubscriber.CustomLogSourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-