Class LoggingConfig.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.LoggingConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LoggingConfig>
- Enclosing interface:
LoggingConfig
@Stability(Stable)
public static final class LoggingConfig.Builder
extends Object
implements software.amazon.jsii.Builder<LoggingConfig>
A builder for
LoggingConfig-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destination(LoggingDestination destination) Sets the value ofLoggingConfig.getDestination()Sets the value ofLoggingConfig.getLogType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destination
Sets the value ofLoggingConfig.getDestination()- Parameters:
destination- The destination for logs. This parameter is required.- Returns:
this
-
logType
Sets the value ofLoggingConfig.getLogType()- Parameters:
logType- The type of logs to deliver. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LoggingConfig>- Returns:
- a new instance of
LoggingConfig - Throws:
NullPointerException- if any required attribute was not provided
-