Interface SetLogDeliveryConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CognitoIdentityProviderRequest.Builder
,CopyableBuilder<SetLogDeliveryConfigurationRequest.Builder,
,SetLogDeliveryConfigurationRequest> SdkBuilder<SetLogDeliveryConfigurationRequest.Builder,
,SetLogDeliveryConfigurationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
SetLogDeliveryConfigurationRequest
@Mutable
@NotThreadSafe
public static interface SetLogDeliveryConfigurationRequest.Builder
extends CognitoIdentityProviderRequest.Builder, SdkPojo, CopyableBuilder<SetLogDeliveryConfigurationRequest.Builder,SetLogDeliveryConfigurationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionlogConfigurations
(Collection<LogConfigurationType> logConfigurations) A collection of the logging configurations for a user pool.logConfigurations
(Consumer<LogConfigurationType.Builder>... logConfigurations) A collection of the logging configurations for a user pool.logConfigurations
(LogConfigurationType... logConfigurations) A collection of the logging configurations for a user pool.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.userPoolId
(String userPoolId) The ID of the user pool where you want to configure logging.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderRequest.Builder
build
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
-
userPoolId
The ID of the user pool where you want to configure logging.
- Parameters:
userPoolId
- The ID of the user pool where you want to configure logging.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfigurations
SetLogDeliveryConfigurationRequest.Builder logConfigurations(Collection<LogConfigurationType> logConfigurations) A collection of the logging configurations for a user pool.
- Parameters:
logConfigurations
- A collection of the logging configurations for a user pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfigurations
SetLogDeliveryConfigurationRequest.Builder logConfigurations(LogConfigurationType... logConfigurations) A collection of the logging configurations for a user pool.
- Parameters:
logConfigurations
- A collection of the logging configurations for a user pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfigurations
SetLogDeliveryConfigurationRequest.Builder logConfigurations(Consumer<LogConfigurationType.Builder>... logConfigurations) A collection of the logging configurations for a user pool.
This is a convenience method that creates an instance of theLogConfigurationType.Builder
avoiding the need to create one manually viaLogConfigurationType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologConfigurations(List<LogConfigurationType>)
.- Parameters:
logConfigurations
- a consumer that will call methods onLogConfigurationType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
SetLogDeliveryConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SetLogDeliveryConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-