Interface ServiceLevelObjectiveSummary.Builder

  • Method Details

    • arn

      The ARN of this service level objective.

      Parameters:
      arn - The ARN of this service level objective.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the service level objective.

      Parameters:
      name - The name of the service level objective.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyAttributes

      ServiceLevelObjectiveSummary.Builder keyAttributes(Map<String,String> keyAttributes)

      This is a string-to-string map. It can include the following fields.

      • Type designates the type of object this service level objective is for.

      • ResourceType specifies the type of the resource. This field is used only when the value of the Type field is Resource or AWS::Resource.

      • Name specifies the name of the object. This is used only if the value of the Type field is Service, RemoteService, or AWS::Service.

      • Identifier identifies the resource objects of this resource. This is used only if the value of the Type field is Resource or AWS::Resource.

      • Environment specifies the location where this object is hosted, or what it belongs to.

      Parameters:
      keyAttributes - This is a string-to-string map. It can include the following fields.

      • Type designates the type of object this service level objective is for.

      • ResourceType specifies the type of the resource. This field is used only when the value of the Type field is Resource or AWS::Resource.

      • Name specifies the name of the object. This is used only if the value of the Type field is Service, RemoteService, or AWS::Service.

      • Identifier identifies the resource objects of this resource. This is used only if the value of the Type field is Resource or AWS::Resource.

      • Environment specifies the location where this object is hosted, or what it belongs to.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operationName

      ServiceLevelObjectiveSummary.Builder operationName(String operationName)

      If this service level objective is specific to a single operation, this field displays the name of that operation.

      Parameters:
      operationName - If this service level objective is specific to a single operation, this field displays the name of that operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dependencyConfig

      ServiceLevelObjectiveSummary.Builder dependencyConfig(DependencyConfig dependencyConfig)

      Identifies the dependency using the DependencyKeyAttributes and DependencyOperationName.

      Parameters:
      dependencyConfig - Identifies the dependency using the DependencyKeyAttributes and DependencyOperationName.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dependencyConfig

      default ServiceLevelObjectiveSummary.Builder dependencyConfig(Consumer<DependencyConfig.Builder> dependencyConfig)

      Identifies the dependency using the DependencyKeyAttributes and DependencyOperationName.

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

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

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

      The date and time that this service level objective was created. It is expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.

      Parameters:
      createdTime - The date and time that this service level objective was created. It is expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • evaluationType

      ServiceLevelObjectiveSummary.Builder evaluationType(String evaluationType)

      Displays whether this is a period-based SLO or a request-based SLO.

      Parameters:
      evaluationType - Displays whether this is a period-based SLO or a request-based SLO.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • evaluationType

      ServiceLevelObjectiveSummary.Builder evaluationType(EvaluationType evaluationType)

      Displays whether this is a period-based SLO or a request-based SLO.

      Parameters:
      evaluationType - Displays whether this is a period-based SLO or a request-based SLO.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • metricSourceType

      ServiceLevelObjectiveSummary.Builder metricSourceType(String metricSourceType)

      Displays the SLI metric source type for this SLO. Supported types are:

      • Service operation

      • Service dependency

      • CloudWatch metric

      Parameters:
      metricSourceType - Displays the SLI metric source type for this SLO. Supported types are:

      • Service operation

      • Service dependency

      • CloudWatch metric

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • metricSourceType

      ServiceLevelObjectiveSummary.Builder metricSourceType(MetricSourceType metricSourceType)

      Displays the SLI metric source type for this SLO. Supported types are:

      • Service operation

      • Service dependency

      • CloudWatch metric

      Parameters:
      metricSourceType - Displays the SLI metric source type for this SLO. Supported types are:

      • Service operation

      • Service dependency

      • CloudWatch metric

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: