Class CfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.observabilityadmin.CfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty>
- Enclosing interface:
CfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty
@Stability(Stable)
public static final class CfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudtrailParameters(CfnOrganizationTelemetryRulePropsMixin.CloudtrailParametersProperty cloudtrailParameters) cloudtrailParameters(IResolvable cloudtrailParameters) destinationPattern(String destinationPattern) destinationType(String destinationType) elbLoadBalancerLoggingParameters(CfnOrganizationTelemetryRulePropsMixin.ELBLoadBalancerLoggingParametersProperty elbLoadBalancerLoggingParameters) elbLoadBalancerLoggingParameters(IResolvable elbLoadBalancerLoggingParameters) retentionInDays(Number retentionInDays) vpcFlowLogParameters(CfnOrganizationTelemetryRulePropsMixin.VPCFlowLogParametersProperty vpcFlowLogParameters) vpcFlowLogParameters(IResolvable vpcFlowLogParameters) wafLoggingParameters(CfnOrganizationTelemetryRulePropsMixin.WAFLoggingParametersProperty wafLoggingParameters) wafLoggingParameters(IResolvable wafLoggingParameters)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudtrailParameters
@Stability(Stable) public CfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty.Builder cloudtrailParameters(IResolvable cloudtrailParameters) Sets the value ofCfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty.getCloudtrailParameters()- Parameters:
cloudtrailParameters- Configuration parameters specific to AWS CloudTrail when CloudTrail is the source type.- Returns:
this
-
cloudtrailParameters
@Stability(Stable) public CfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty.Builder cloudtrailParameters(CfnOrganizationTelemetryRulePropsMixin.CloudtrailParametersProperty cloudtrailParameters) Sets the value ofCfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty.getCloudtrailParameters()- Parameters:
cloudtrailParameters- Configuration parameters specific to AWS CloudTrail when CloudTrail is the source type.- Returns:
this
-
destinationPattern
@Stability(Stable) public CfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty.Builder destinationPattern(String destinationPattern) Sets the value ofCfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty.getDestinationPattern()- Parameters:
destinationPattern- The pattern used to generate the destination path or name, supporting macros likeand . - Returns:
this
-
destinationType
@Stability(Stable) public CfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty.Builder destinationType(String destinationType) Sets the value ofCfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty.getDestinationType()- Parameters:
destinationType- The type of destination for the telemetry data (e.g., "Amazon CloudWatch Logs", "S3").- Returns:
this
-
elbLoadBalancerLoggingParameters
@Stability(Stable) public CfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty.Builder elbLoadBalancerLoggingParameters(IResolvable elbLoadBalancerLoggingParameters) Sets the value ofCfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty.getElbLoadBalancerLoggingParameters()- Parameters:
elbLoadBalancerLoggingParameters- Configuration parameters specific to ELB load balancer logging when ELB is the resource type.- Returns:
this
-
elbLoadBalancerLoggingParameters
@Stability(Stable) public CfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty.Builder elbLoadBalancerLoggingParameters(CfnOrganizationTelemetryRulePropsMixin.ELBLoadBalancerLoggingParametersProperty elbLoadBalancerLoggingParameters) Sets the value ofCfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty.getElbLoadBalancerLoggingParameters()- Parameters:
elbLoadBalancerLoggingParameters- Configuration parameters specific to ELB load balancer logging when ELB is the resource type.- Returns:
this
-
retentionInDays
@Stability(Stable) public CfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty.Builder retentionInDays(Number retentionInDays) Sets the value ofCfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty.getRetentionInDays()- Parameters:
retentionInDays- The number of days to retain the telemetry data in the destination.- Returns:
this
-
vpcFlowLogParameters
@Stability(Stable) public CfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty.Builder vpcFlowLogParameters(IResolvable vpcFlowLogParameters) Sets the value ofCfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty.getVpcFlowLogParameters()- Parameters:
vpcFlowLogParameters- Configuration parameters specific to VPC Flow Logs when VPC is the resource type.- Returns:
this
-
vpcFlowLogParameters
@Stability(Stable) public CfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty.Builder vpcFlowLogParameters(CfnOrganizationTelemetryRulePropsMixin.VPCFlowLogParametersProperty vpcFlowLogParameters) Sets the value ofCfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty.getVpcFlowLogParameters()- Parameters:
vpcFlowLogParameters- Configuration parameters specific to VPC Flow Logs when VPC is the resource type.- Returns:
this
-
wafLoggingParameters
@Stability(Stable) public CfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty.Builder wafLoggingParameters(IResolvable wafLoggingParameters) Sets the value ofCfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty.getWafLoggingParameters()- Parameters:
wafLoggingParameters- Configuration parameters specific to WAF logging when WAF is the resource type.- Returns:
this
-
wafLoggingParameters
@Stability(Stable) public CfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty.Builder wafLoggingParameters(CfnOrganizationTelemetryRulePropsMixin.WAFLoggingParametersProperty wafLoggingParameters) Sets the value ofCfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty.getWafLoggingParameters()- Parameters:
wafLoggingParameters- Configuration parameters specific to WAF logging when WAF is the resource type.- Returns:
this
-
build
@Stability(Stable) public CfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty>- Returns:
- a new instance of
CfnOrganizationTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-