Interface SetLogDeliveryConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CognitoIdentityProviderRequest.Builder,CopyableBuilder<SetLogDeliveryConfigurationRequest.Builder,,SetLogDeliveryConfigurationRequest> SdkBuilder<SetLogDeliveryConfigurationRequest.Builder,,SetLogDeliveryConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SetLogDeliveryConfigurationRequest
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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderRequest.Builder
buildMethods 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, 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.Builderavoiding the need to create one manually viaLogConfigurationType.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-