Interface GetTelemetryRuleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetTelemetryRuleResponse.Builder,,GetTelemetryRuleResponse> ObservabilityAdminResponse.Builder,SdkBuilder<GetTelemetryRuleResponse.Builder,,GetTelemetryRuleResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetTelemetryRuleResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreatedTimeStamp(Long createdTimeStamp) The timestamp when the telemetry rule was created.homeRegion(String homeRegion) The Amazon Web Services Region where the telemetry rule was originally created.isReplicated(Boolean isReplicated) Indicates whether this telemetry rule is a replica that was created in this region through multi-region fan-out from the home region.lastUpdateTimeStamp(Long lastUpdateTimeStamp) The timestamp when the telemetry rule was last updated.regionStatuses(Collection<RegionStatus> regionStatuses) A list of per-region replication statuses for the telemetry rule.regionStatuses(Consumer<RegionStatus.Builder>... regionStatuses) A list of per-region replication statuses for the telemetry rule.regionStatuses(RegionStatus... regionStatuses) A list of per-region replication statuses for the telemetry rule.The Amazon Resource Name (ARN) of the telemetry rule.The name of the telemetry rule.default GetTelemetryRuleResponse.BuildertelemetryRule(Consumer<TelemetryRule.Builder> telemetryRule) The configuration details of the telemetry rule.telemetryRule(TelemetryRule telemetryRule) The configuration details of the telemetry rule.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.observabilityadmin.model.ObservabilityAdminResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
ruleName
The name of the telemetry rule.
- Parameters:
ruleName- The name of the telemetry rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleArn
The Amazon Resource Name (ARN) of the telemetry rule.
- Parameters:
ruleArn- The Amazon Resource Name (ARN) of the telemetry rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTimeStamp
The timestamp when the telemetry rule was created.
- Parameters:
createdTimeStamp- The timestamp when the telemetry rule was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateTimeStamp
The timestamp when the telemetry rule was last updated.
- Parameters:
lastUpdateTimeStamp- The timestamp when the telemetry rule was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
telemetryRule
The configuration details of the telemetry rule.
- Parameters:
telemetryRule- The configuration details of the telemetry rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
telemetryRule
default GetTelemetryRuleResponse.Builder telemetryRule(Consumer<TelemetryRule.Builder> telemetryRule) The configuration details of the telemetry rule.
This is a convenience method that creates an instance of theTelemetryRule.Builderavoiding the need to create one manually viaTelemetryRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totelemetryRule(TelemetryRule).- Parameters:
telemetryRule- a consumer that will call methods onTelemetryRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
homeRegion
The Amazon Web Services Region where the telemetry rule was originally created. For replicated rules in spoke regions, this indicates the region that manages the rule. For rules created without multi-region scope, this field is not present.
- Parameters:
homeRegion- The Amazon Web Services Region where the telemetry rule was originally created. For replicated rules in spoke regions, this indicates the region that manages the rule. For rules created without multi-region scope, this field is not present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isReplicated
Indicates whether this telemetry rule is a replica that was created in this region through multi-region fan-out from the home region. Replicated rules cannot be directly updated or deleted in the spoke region. To modify a replicated rule, make changes in the home region.
- Parameters:
isReplicated- Indicates whether this telemetry rule is a replica that was created in this region through multi-region fan-out from the home region. Replicated rules cannot be directly updated or deleted in the spoke region. To modify a replicated rule, make changes in the home region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionStatuses
A list of per-region replication statuses for the telemetry rule. Each entry indicates the replication status of the rule in a specific spoke region. This field is only present for rules created with multi-region scope.
- Parameters:
regionStatuses- A list of per-region replication statuses for the telemetry rule. Each entry indicates the replication status of the rule in a specific spoke region. This field is only present for rules created with multi-region scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionStatuses
A list of per-region replication statuses for the telemetry rule. Each entry indicates the replication status of the rule in a specific spoke region. This field is only present for rules created with multi-region scope.
- Parameters:
regionStatuses- A list of per-region replication statuses for the telemetry rule. Each entry indicates the replication status of the rule in a specific spoke region. This field is only present for rules created with multi-region scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionStatuses
A list of per-region replication statuses for the telemetry rule. Each entry indicates the replication status of the rule in a specific spoke region. This field is only present for rules created with multi-region scope.
This is a convenience method that creates an instance of theRegionStatus.Builderavoiding the need to create one manually viaRegionStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toregionStatuses(List<RegionStatus>).- Parameters:
regionStatuses- a consumer that will call methods onRegionStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-