Interface GetTelemetryRuleResponse.Builder

  • 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

      GetTelemetryRuleResponse.Builder createdTimeStamp(Long 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

      GetTelemetryRuleResponse.Builder lastUpdateTimeStamp(Long 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

      GetTelemetryRuleResponse.Builder telemetryRule(TelemetryRule 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 the TelemetryRule.Builder avoiding the need to create one manually via TelemetryRule.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to telemetryRule(TelemetryRule).

      Parameters:
      telemetryRule - a consumer that will call methods on TelemetryRule.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • homeRegion

      GetTelemetryRuleResponse.Builder homeRegion(String 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

      GetTelemetryRuleResponse.Builder 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. 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

      GetTelemetryRuleResponse.Builder regionStatuses(Collection<RegionStatus> 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

      GetTelemetryRuleResponse.Builder regionStatuses(RegionStatus... 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 the RegionStatus.Builder avoiding the need to create one manually via RegionStatus.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to regionStatuses(List<RegionStatus>).

      Parameters:
      regionStatuses - a consumer that will call methods on RegionStatus.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: