Interface TelemetryDestinationConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TelemetryDestinationConfiguration.Builder,
,TelemetryDestinationConfiguration> SdkBuilder<TelemetryDestinationConfiguration.Builder,
,TelemetryDestinationConfiguration> SdkPojo
- Enclosing class:
TelemetryDestinationConfiguration
@Mutable
@NotThreadSafe
public static interface TelemetryDestinationConfiguration.Builder
extends SdkPojo, CopyableBuilder<TelemetryDestinationConfiguration.Builder,TelemetryDestinationConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondestinationPattern
(String destinationPattern) The pattern used to generate the destination path or name, supporting macros like <resourceId> and <accountId>.destinationType
(String destinationType) The type of destination for the telemetry data (e.g., "Amazon CloudWatch Logs", "S3").destinationType
(DestinationType destinationType) The type of destination for the telemetry data (e.g., "Amazon CloudWatch Logs", "S3").retentionInDays
(Integer retentionInDays) The number of days to retain the telemetry data in the destination.vpcFlowLogParameters
(Consumer<VPCFlowLogParameters.Builder> vpcFlowLogParameters) Configuration parameters specific to VPC Flow Logs when VPC is the resource type.vpcFlowLogParameters
(VPCFlowLogParameters vpcFlowLogParameters) Configuration parameters specific to VPC Flow Logs when VPC is the resource type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
destinationType
The type of destination for the telemetry data (e.g., "Amazon CloudWatch Logs", "S3").
- Parameters:
destinationType
- The type of destination for the telemetry data (e.g., "Amazon CloudWatch Logs", "S3").- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationType
The type of destination for the telemetry data (e.g., "Amazon CloudWatch Logs", "S3").
- Parameters:
destinationType
- The type of destination for the telemetry data (e.g., "Amazon CloudWatch Logs", "S3").- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationPattern
The pattern used to generate the destination path or name, supporting macros like <resourceId> and <accountId>.
- Parameters:
destinationPattern
- The pattern used to generate the destination path or name, supporting macros like <resourceId> and <accountId>.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionInDays
The number of days to retain the telemetry data in the destination.
- Parameters:
retentionInDays
- The number of days to retain the telemetry data in the destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcFlowLogParameters
TelemetryDestinationConfiguration.Builder vpcFlowLogParameters(VPCFlowLogParameters vpcFlowLogParameters) Configuration parameters specific to VPC Flow Logs when VPC is the resource type.
- Parameters:
vpcFlowLogParameters
- Configuration parameters specific to VPC Flow Logs when VPC is the resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcFlowLogParameters
default TelemetryDestinationConfiguration.Builder vpcFlowLogParameters(Consumer<VPCFlowLogParameters.Builder> vpcFlowLogParameters) Configuration parameters specific to VPC Flow Logs when VPC is the resource type.
This is a convenience method that creates an instance of theVPCFlowLogParameters.Builder
avoiding the need to create one manually viaVPCFlowLogParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcFlowLogParameters(VPCFlowLogParameters)
.- Parameters:
vpcFlowLogParameters
- a consumer that will call methods onVPCFlowLogParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-