Class CfnS3TableIntegration.LogSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.observabilityadmin.CfnS3TableIntegration.LogSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnS3TableIntegration.LogSourceProperty>
- Enclosing interface:
CfnS3TableIntegration.LogSourceProperty
@Stability(Stable)
public static final class CfnS3TableIntegration.LogSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnS3TableIntegration.LogSourceProperty>
A builder for
CfnS3TableIntegration.LogSourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.identifier(String identifier) Sets the value ofCfnS3TableIntegration.LogSourceProperty.getIdentifier()Sets the value ofCfnS3TableIntegration.LogSourceProperty.getName()Sets the value ofCfnS3TableIntegration.LogSourceProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnS3TableIntegration.LogSourceProperty.getName()- Parameters:
name- The name of the CloudWatch Logs data source. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnS3TableIntegration.LogSourceProperty.getType()- Parameters:
type- The type of the CloudWatch Logs data source. This parameter is required.- Returns:
this
-
identifier
@Stability(Stable) public CfnS3TableIntegration.LogSourceProperty.Builder identifier(String identifier) Sets the value ofCfnS3TableIntegration.LogSourceProperty.getIdentifier()- Parameters:
identifier- The ID of the CloudWatch Logs data source association.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnS3TableIntegration.LogSourceProperty>- Returns:
- a new instance of
CfnS3TableIntegration.LogSourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-