Interface UpdateScraperLoggingConfigurationRequest.Builder
- All Superinterfaces:
AmpRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateScraperLoggingConfigurationRequest.Builder,
,UpdateScraperLoggingConfigurationRequest> SdkBuilder<UpdateScraperLoggingConfigurationRequest.Builder,
,UpdateScraperLoggingConfigurationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateScraperLoggingConfigurationRequest
@Mutable
@NotThreadSafe
public static interface UpdateScraperLoggingConfigurationRequest.Builder
extends AmpRequest.Builder, SdkPojo, CopyableBuilder<UpdateScraperLoggingConfigurationRequest.Builder,UpdateScraperLoggingConfigurationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionloggingDestination
(Consumer<ScraperLoggingDestination.Builder> loggingDestination) The destination where scraper logs will be sent.loggingDestination
(ScraperLoggingDestination loggingDestination) The destination where scraper logs will be sent.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.scraperComponents
(Collection<ScraperComponent> scraperComponents) The list of scraper components to configure for logging.scraperComponents
(Consumer<ScraperComponent.Builder>... scraperComponents) The list of scraper components to configure for logging.scraperComponents
(ScraperComponent... scraperComponents) The list of scraper components to configure for logging.The ID of the scraper whose logging configuration will be updated.Methods inherited from interface software.amazon.awssdk.services.amp.model.AmpRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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
-
scraperId
The ID of the scraper whose logging configuration will be updated.
- Parameters:
scraperId
- The ID of the scraper whose logging configuration will be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingDestination
UpdateScraperLoggingConfigurationRequest.Builder loggingDestination(ScraperLoggingDestination loggingDestination) The destination where scraper logs will be sent.
- Parameters:
loggingDestination
- The destination where scraper logs will be sent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingDestination
default UpdateScraperLoggingConfigurationRequest.Builder loggingDestination(Consumer<ScraperLoggingDestination.Builder> loggingDestination) The destination where scraper logs will be sent.
This is a convenience method that creates an instance of theScraperLoggingDestination.Builder
avoiding the need to create one manually viaScraperLoggingDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologgingDestination(ScraperLoggingDestination)
.- Parameters:
loggingDestination
- a consumer that will call methods onScraperLoggingDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scraperComponents
UpdateScraperLoggingConfigurationRequest.Builder scraperComponents(Collection<ScraperComponent> scraperComponents) The list of scraper components to configure for logging.
- Parameters:
scraperComponents
- The list of scraper components to configure for logging.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scraperComponents
UpdateScraperLoggingConfigurationRequest.Builder scraperComponents(ScraperComponent... scraperComponents) The list of scraper components to configure for logging.
- Parameters:
scraperComponents
- The list of scraper components to configure for logging.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scraperComponents
UpdateScraperLoggingConfigurationRequest.Builder scraperComponents(Consumer<ScraperComponent.Builder>... scraperComponents) The list of scraper components to configure for logging.
This is a convenience method that creates an instance of theScraperComponent.Builder
avoiding the need to create one manually viaScraperComponent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscraperComponents(List<ScraperComponent>)
.- Parameters:
scraperComponents
- a consumer that will call methods onScraperComponent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateScraperLoggingConfigurationRequest.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
UpdateScraperLoggingConfigurationRequest.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.
-