Interface TelemetryConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TelemetryConfig.Builder,,TelemetryConfig> SdkBuilder<TelemetryConfig.Builder,,TelemetryConfig> SdkPojo
- Enclosing class:
TelemetryConfig
@Mutable
@NotThreadSafe
public static interface TelemetryConfig.Builder
extends SdkPojo, CopyableBuilder<TelemetryConfig.Builder,TelemetryConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TelemetryConfig.BuilderloggingConfig(Consumer<LoggingConfig.Builder> loggingConfig) The logging configuration for the web function.loggingConfig(LoggingConfig loggingConfig) The logging configuration for the web function.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
loggingConfig
The logging configuration for the web function.
- Parameters:
loggingConfig- The logging configuration for the web function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfig
The logging configuration for the web function.
This is a convenience method that creates an instance of theLoggingConfig.Builderavoiding the need to create one manually viaLoggingConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologgingConfig(LoggingConfig).- Parameters:
loggingConfig- a consumer that will call methods onLoggingConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-