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