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