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.destinationPattern
(String destinationPattern) destinationType
(String destinationType) retentionInDays
(Number retentionInDays) vpcFlowLogParameters
(IResolvable vpcFlowLogParameters) vpcFlowLogParameters
(CfnOrganizationTelemetryRule.VPCFlowLogParametersProperty vpcFlowLogParameters)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationPattern
@Stability(Stable) public CfnOrganizationTelemetryRule.TelemetryDestinationConfigurationProperty.Builder destinationPattern(String destinationPattern) Sets the value ofCfnOrganizationTelemetryRule.TelemetryDestinationConfigurationProperty.getDestinationPattern()
- Parameters:
destinationPattern
- Pattern for telemetry data destination.- Returns:
this
-
destinationType
@Stability(Stable) public CfnOrganizationTelemetryRule.TelemetryDestinationConfigurationProperty.Builder destinationType(String destinationType) Sets the value ofCfnOrganizationTelemetryRule.TelemetryDestinationConfigurationProperty.getDestinationType()
- Parameters:
destinationType
- Type of telemetry destination.- Returns:
this
-
retentionInDays
@Stability(Stable) public CfnOrganizationTelemetryRule.TelemetryDestinationConfigurationProperty.Builder retentionInDays(Number retentionInDays) Sets the value ofCfnOrganizationTelemetryRule.TelemetryDestinationConfigurationProperty.getRetentionInDays()
- Parameters:
retentionInDays
- Number of days to retain the telemetry data in the specified destination.- Returns:
this
-
vpcFlowLogParameters
@Stability(Stable) public CfnOrganizationTelemetryRule.TelemetryDestinationConfigurationProperty.Builder vpcFlowLogParameters(IResolvable vpcFlowLogParameters) Sets the value ofCfnOrganizationTelemetryRule.TelemetryDestinationConfigurationProperty.getVpcFlowLogParameters()
- Parameters:
vpcFlowLogParameters
- Telemetry parameters for VPC Flow logs.- Returns:
this
-
vpcFlowLogParameters
@Stability(Stable) public CfnOrganizationTelemetryRule.TelemetryDestinationConfigurationProperty.Builder vpcFlowLogParameters(CfnOrganizationTelemetryRule.VPCFlowLogParametersProperty vpcFlowLogParameters) Sets the value ofCfnOrganizationTelemetryRule.TelemetryDestinationConfigurationProperty.getVpcFlowLogParameters()
- Parameters:
vpcFlowLogParameters
- Telemetry parameters for VPC Flow logs.- Returns:
this
-
build
@Stability(Stable) public CfnOrganizationTelemetryRule.TelemetryDestinationConfigurationProperty build()Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnOrganizationTelemetryRule.TelemetryDestinationConfigurationProperty>
- Returns:
- a new instance of
CfnOrganizationTelemetryRule.TelemetryDestinationConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-