Interface GetModelInvocationLoggingConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockResponse.Builder
,Buildable
,CopyableBuilder<GetModelInvocationLoggingConfigurationResponse.Builder,
,GetModelInvocationLoggingConfigurationResponse> SdkBuilder<GetModelInvocationLoggingConfigurationResponse.Builder,
,GetModelInvocationLoggingConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetModelInvocationLoggingConfigurationResponse
@Mutable
@NotThreadSafe
public static interface GetModelInvocationLoggingConfigurationResponse.Builder
extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<GetModelInvocationLoggingConfigurationResponse.Builder,GetModelInvocationLoggingConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionloggingConfig
(Consumer<LoggingConfig.Builder> loggingConfig) The current configuration values.loggingConfig
(LoggingConfig loggingConfig) The current configuration values.Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
loggingConfig
The current configuration values.
- Parameters:
loggingConfig
- The current configuration values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfig
default GetModelInvocationLoggingConfigurationResponse.Builder loggingConfig(Consumer<LoggingConfig.Builder> loggingConfig) The current configuration values.
This is a convenience method that creates an instance of theLoggingConfig.Builder
avoiding the need to create one manually viaLoggingConfig.builder()
.When the
Consumer
completes,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:
-