Interface DescribeScraperLoggingConfigurationResponse.Builder
- All Superinterfaces:
AmpResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeScraperLoggingConfigurationResponse.Builder,
,DescribeScraperLoggingConfigurationResponse> SdkBuilder<DescribeScraperLoggingConfigurationResponse.Builder,
,DescribeScraperLoggingConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeScraperLoggingConfigurationResponse
-
Method Summary
Modifier and TypeMethodDescriptionloggingDestination
(Consumer<ScraperLoggingDestination.Builder> loggingDestination) The destination where scraper logs are sent.loggingDestination
(ScraperLoggingDestination loggingDestination) The destination where scraper logs are sent.modifiedAt
(Instant modifiedAt) The date and time when the logging configuration was last modified.scraperComponents
(Collection<ScraperComponent> scraperComponents) The list of scraper components configured for logging.scraperComponents
(Consumer<ScraperComponent.Builder>... scraperComponents) The list of scraper components configured for logging.scraperComponents
(ScraperComponent... scraperComponents) The list of scraper components configured for logging.The ID of the scraper.The status of the scraper logging configuration.The status of the scraper logging configuration.Methods inherited from interface software.amazon.awssdk.services.amp.model.AmpResponse.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
-
status
DescribeScraperLoggingConfigurationResponse.Builder status(ScraperLoggingConfigurationStatus status) The status of the scraper logging configuration.
- Parameters:
status
- The status of the scraper logging configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default DescribeScraperLoggingConfigurationResponse.Builder status(Consumer<ScraperLoggingConfigurationStatus.Builder> status) The status of the scraper logging configuration.
This is a convenience method that creates an instance of theScraperLoggingConfigurationStatus.Builder
avoiding the need to create one manually viaScraperLoggingConfigurationStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(ScraperLoggingConfigurationStatus)
.- Parameters:
status
- a consumer that will call methods onScraperLoggingConfigurationStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scraperId
The ID of the scraper.
- Parameters:
scraperId
- The ID of the scraper.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingDestination
DescribeScraperLoggingConfigurationResponse.Builder loggingDestination(ScraperLoggingDestination loggingDestination) The destination where scraper logs are sent.
- Parameters:
loggingDestination
- The destination where scraper logs are sent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingDestination
default DescribeScraperLoggingConfigurationResponse.Builder loggingDestination(Consumer<ScraperLoggingDestination.Builder> loggingDestination) The destination where scraper logs are 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
DescribeScraperLoggingConfigurationResponse.Builder scraperComponents(Collection<ScraperComponent> scraperComponents) The list of scraper components configured for logging.
- Parameters:
scraperComponents
- The list of scraper components configured for logging.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scraperComponents
DescribeScraperLoggingConfigurationResponse.Builder scraperComponents(ScraperComponent... scraperComponents) The list of scraper components configured for logging.
- Parameters:
scraperComponents
- The list of scraper components configured for logging.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scraperComponents
DescribeScraperLoggingConfigurationResponse.Builder scraperComponents(Consumer<ScraperComponent.Builder>... scraperComponents) The list of scraper components configured 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:
-
modifiedAt
The date and time when the logging configuration was last modified.
- Parameters:
modifiedAt
- The date and time when the logging configuration was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-