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