Interface GetCentralizationRuleForOrganizationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetCentralizationRuleForOrganizationResponse.Builder,
,GetCentralizationRuleForOrganizationResponse> ObservabilityAdminResponse.Builder
,SdkBuilder<GetCentralizationRuleForOrganizationResponse.Builder,
,GetCentralizationRuleForOrganizationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetCentralizationRuleForOrganizationResponse
-
Method Summary
Modifier and TypeMethodDescriptioncentralizationRule
(Consumer<CentralizationRule.Builder> centralizationRule) The configuration details for the organization centralization rule.centralizationRule
(CentralizationRule centralizationRule) The configuration details for the organization centralization rule.createdRegion
(String createdRegion) The Amazon Web Services region where the organization centralization rule was created.createdTimeStamp
(Long createdTimeStamp) The timestamp when the organization centralization rule was created.creatorAccountId
(String creatorAccountId) The Amazon Web Services Account that created the organization centralization rule.failureReason
(String failureReason) The reason why an organization centralization rule is marked UNHEALTHY.failureReason
(CentralizationFailureReason failureReason) The reason why an organization centralization rule is marked UNHEALTHY.lastUpdateTimeStamp
(Long lastUpdateTimeStamp) The timestamp when the organization centralization rule was last updated.The Amazon Resource Name (ARN) of the organization centralization rule.ruleHealth
(String ruleHealth) The health status of the organization centralization rule.ruleHealth
(RuleHealth ruleHealth) The health status of the organization centralization rule.The name of the organization centralization rule.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.observabilityadmin.model.ObservabilityAdminResponse.Builder
build, responseMetadata, responseMetadata
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
-
ruleName
The name of the organization centralization rule.
- Parameters:
ruleName
- The name of the organization centralization rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleArn
The Amazon Resource Name (ARN) of the organization centralization rule.
- Parameters:
ruleArn
- The Amazon Resource Name (ARN) of the organization centralization rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creatorAccountId
The Amazon Web Services Account that created the organization centralization rule.
- Parameters:
creatorAccountId
- The Amazon Web Services Account that created the organization centralization rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTimeStamp
The timestamp when the organization centralization rule was created.
- Parameters:
createdTimeStamp
- The timestamp when the organization centralization rule was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdRegion
The Amazon Web Services region where the organization centralization rule was created.
- Parameters:
createdRegion
- The Amazon Web Services region where the organization centralization rule was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateTimeStamp
The timestamp when the organization centralization rule was last updated.
- Parameters:
lastUpdateTimeStamp
- The timestamp when the organization centralization rule was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleHealth
The health status of the organization centralization rule.
- Parameters:
ruleHealth
- The health status of the organization centralization rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ruleHealth
The health status of the organization centralization rule.
- Parameters:
ruleHealth
- The health status of the organization centralization rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReason
The reason why an organization centralization rule is marked UNHEALTHY.
- Parameters:
failureReason
- The reason why an organization centralization rule is marked UNHEALTHY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReason
GetCentralizationRuleForOrganizationResponse.Builder failureReason(CentralizationFailureReason failureReason) The reason why an organization centralization rule is marked UNHEALTHY.
- Parameters:
failureReason
- The reason why an organization centralization rule is marked UNHEALTHY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
centralizationRule
GetCentralizationRuleForOrganizationResponse.Builder centralizationRule(CentralizationRule centralizationRule) The configuration details for the organization centralization rule.
- Parameters:
centralizationRule
- The configuration details for the organization centralization rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
centralizationRule
default GetCentralizationRuleForOrganizationResponse.Builder centralizationRule(Consumer<CentralizationRule.Builder> centralizationRule) The configuration details for the organization centralization rule.
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 tocentralizationRule(CentralizationRule)
.- Parameters:
centralizationRule
- 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:
-