Class CfnIntegrationProps.Builder
java.lang.Object
software.amazon.awscdk.services.logs.CfnIntegrationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIntegrationProps>
- Enclosing interface:
CfnIntegrationProps
@Stability(Stable)
public static final class CfnIntegrationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIntegrationProps>
A builder for
CfnIntegrationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.integrationName(String integrationName) Sets the value ofCfnIntegrationProps.getIntegrationName()integrationType(String integrationType) Sets the value ofCfnIntegrationProps.getIntegrationType()resourceConfig(IResolvable resourceConfig) Sets the value ofCfnIntegrationProps.getResourceConfig()resourceConfig(CfnIntegration.ResourceConfigProperty resourceConfig) Sets the value ofCfnIntegrationProps.getResourceConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
integrationName
Sets the value ofCfnIntegrationProps.getIntegrationName()- Parameters:
integrationName- The name of this integration. This parameter is required.- Returns:
this
-
integrationType
Sets the value ofCfnIntegrationProps.getIntegrationType()- Parameters:
integrationType- The type of integration. This parameter is required. Integrations with OpenSearch Service have the typeOPENSEARCH.- Returns:
this
-
resourceConfig
Sets the value ofCfnIntegrationProps.getResourceConfig()- Parameters:
resourceConfig- This structure contains configuration details about an integration between CloudWatch Logs and another entity. This parameter is required.- Returns:
this
-
resourceConfig
@Stability(Stable) public CfnIntegrationProps.Builder resourceConfig(CfnIntegration.ResourceConfigProperty resourceConfig) Sets the value ofCfnIntegrationProps.getResourceConfig()- Parameters:
resourceConfig- This structure contains configuration details about an integration between CloudWatch Logs and another entity. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIntegrationProps>- Returns:
- a new instance of
CfnIntegrationProps - Throws:
NullPointerException- if any required attribute was not provided
-