Interface CreateCentralizationRuleForOrganizationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateCentralizationRuleForOrganizationRequest.Builder,,CreateCentralizationRuleForOrganizationRequest> ObservabilityAdminRequest.Builder,SdkBuilder<CreateCentralizationRuleForOrganizationRequest.Builder,,CreateCentralizationRuleForOrganizationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateCentralizationRuleForOrganizationRequest
@Mutable
@NotThreadSafe
public static interface CreateCentralizationRuleForOrganizationRequest.Builder
extends ObservabilityAdminRequest.Builder, SdkPojo, CopyableBuilder<CreateCentralizationRuleForOrganizationRequest.Builder,CreateCentralizationRuleForOrganizationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The configuration details for the organization-wide centralization rule, including the source configuration and the destination configuration to centralize telemetry data across the organization.rule(CentralizationRule rule) The configuration details for the organization-wide centralization rule, including the source configuration and the destination configuration to centralize telemetry data across the organization.A unique name for the organization-wide centralization rule being created.The key-value pairs to associate with the organization telemetry rule resource for categorization and management purposes.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.observabilityadmin.model.ObservabilityAdminRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
ruleName
A unique name for the organization-wide centralization rule being created.
- Parameters:
ruleName- A unique name for the organization-wide centralization rule being created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rule
The configuration details for the organization-wide centralization rule, including the source configuration and the destination configuration to centralize telemetry data across the organization.
- Parameters:
rule- The configuration details for the organization-wide centralization rule, including the source configuration and the destination configuration to centralize telemetry data across the organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rule
default CreateCentralizationRuleForOrganizationRequest.Builder rule(Consumer<CentralizationRule.Builder> rule) The configuration details for the organization-wide centralization rule, including the source configuration and the destination configuration to centralize telemetry data across the organization.
This is a convenience method that creates an instance of theCentralizationRule.Builderavoiding the need to create one manually viaCentralizationRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torule(CentralizationRule).- Parameters:
rule- a consumer that will call methods onCentralizationRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The key-value pairs to associate with the organization telemetry rule resource for categorization and management purposes.
- Parameters:
tags- The key-value pairs to associate with the organization telemetry rule resource for categorization and management purposes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateCentralizationRuleForOrganizationRequest.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
CreateCentralizationRuleForOrganizationRequest.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.
-