Interface UpdateCentralizationRuleForOrganizationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateCentralizationRuleForOrganizationRequest.Builder,
,UpdateCentralizationRuleForOrganizationRequest> ObservabilityAdminRequest.Builder
,SdkBuilder<UpdateCentralizationRuleForOrganizationRequest.Builder,
,UpdateCentralizationRuleForOrganizationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateCentralizationRuleForOrganizationRequest
@Mutable
@NotThreadSafe
public static interface UpdateCentralizationRuleForOrganizationRequest.Builder
extends ObservabilityAdminRequest.Builder, SdkPojo, CopyableBuilder<UpdateCentralizationRuleForOrganizationRequest.Builder,UpdateCentralizationRuleForOrganizationRequest>
-
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.ruleIdentifier
(String ruleIdentifier) The identifier (name or ARN) of the organization centralization rule to update.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.services.observabilityadmin.model.ObservabilityAdminRequest.Builder
build
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
-
ruleIdentifier
The identifier (name or ARN) of the organization centralization rule to update.
- Parameters:
ruleIdentifier
- The identifier (name or ARN) of the organization centralization rule to update.- 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 UpdateCentralizationRuleForOrganizationRequest.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.Builder
avoiding the need to create one manually viaCentralizationRule.builder()
.When the
Consumer
completes,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:
-
overrideConfiguration
UpdateCentralizationRuleForOrganizationRequest.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
UpdateCentralizationRuleForOrganizationRequest.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.
-