Interface UpdateWorkspaceConfigurationRequest.Builder

  • Method Details

    • workspaceId

      The ID of the workspace that you want to update. To find the IDs of your workspaces, use the ListWorkspaces operation.

      Parameters:
      workspaceId - The ID of the workspace that you want to update. To find the IDs of your workspaces, use the ListWorkspaces operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      You can include a token in your operation to make it an idempotent opeartion.

      Parameters:
      clientToken - You can include a token in your operation to make it an idempotent opeartion.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • limitsPerLabelSet

      This is an array of structures, where each structure defines a label set for the workspace, and defines the active time series limit for each of those label sets. Each label name in a label set must be unique.

      Parameters:
      limitsPerLabelSet - This is an array of structures, where each structure defines a label set for the workspace, and defines the active time series limit for each of those label sets. Each label name in a label set must be unique.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • limitsPerLabelSet

      UpdateWorkspaceConfigurationRequest.Builder limitsPerLabelSet(LimitsPerLabelSet... limitsPerLabelSet)

      This is an array of structures, where each structure defines a label set for the workspace, and defines the active time series limit for each of those label sets. Each label name in a label set must be unique.

      Parameters:
      limitsPerLabelSet - This is an array of structures, where each structure defines a label set for the workspace, and defines the active time series limit for each of those label sets. Each label name in a label set must be unique.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • limitsPerLabelSet

      This is an array of structures, where each structure defines a label set for the workspace, and defines the active time series limit for each of those label sets. Each label name in a label set must be unique.

      This is a convenience method that creates an instance of the LimitsPerLabelSet.Builder avoiding the need to create one manually via LimitsPerLabelSet.builder().

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

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

      UpdateWorkspaceConfigurationRequest.Builder retentionPeriodInDays(Integer retentionPeriodInDays)

      Specifies how many days that metrics will be retained in the workspace.

      Parameters:
      retentionPeriodInDays - Specifies how many days that metrics will be retained in the workspace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outOfOrderTimeWindowInSeconds

      UpdateWorkspaceConfigurationRequest.Builder outOfOrderTimeWindowInSeconds(Integer outOfOrderTimeWindowInSeconds)

      Specifies the time window in seconds for accepting out of order samples. Out of order samples older than this window are rejected.

      Parameters:
      outOfOrderTimeWindowInSeconds - Specifies the time window in seconds for accepting out of order samples. Out of order samples older than this window are rejected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleQueryOffsetInSeconds

      UpdateWorkspaceConfigurationRequest.Builder ruleQueryOffsetInSeconds(Integer ruleQueryOffsetInSeconds)

      Specifies the duration in seconds to offset rule evaluation queries into the past. This allows ingested samples to be available before rule evaluation.

      Parameters:
      ruleQueryOffsetInSeconds - Specifies the duration in seconds to offset rule evaluation queries into the past. This allows ingested samples to be available before rule evaluation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.