Interface ServiceLevelObjectiveSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ServiceLevelObjectiveSummary.Builder,,ServiceLevelObjectiveSummary> SdkBuilder<ServiceLevelObjectiveSummary.Builder,,ServiceLevelObjectiveSummary> SdkPojo
- Enclosing class:
ServiceLevelObjectiveSummary
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of this service level objective.createdTime(Instant createdTime) The date and time that this service level objective was created.dependencyConfig(Consumer<DependencyConfig.Builder> dependencyConfig) Identifies the dependency using theDependencyKeyAttributesandDependencyOperationName.dependencyConfig(DependencyConfig dependencyConfig) Identifies the dependency using theDependencyKeyAttributesandDependencyOperationName.evaluationType(String evaluationType) Displays whether this is a period-based SLO or a request-based SLO.evaluationType(EvaluationType evaluationType) Displays whether this is a period-based SLO or a request-based SLO.keyAttributes(Map<String, String> keyAttributes) This is a string-to-string map.metricSourceType(String metricSourceType) Displays the SLI metric source type for this SLO.metricSourceType(MetricSourceType metricSourceType) Displays the SLI metric source type for this SLO.The name of the service level objective.operationName(String operationName) If this service level objective is specific to a single operation, this field displays the name of that operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
This is a string-to-string map. It can include the following fields.
-
Typedesignates the type of object this service level objective is for. -
ResourceTypespecifies the type of the resource. This field is used only when the value of theTypefield isResourceorAWS::Resource. -
Namespecifies the name of the object. This is used only if the value of theTypefield isService,RemoteService, orAWS::Service. -
Identifieridentifies the resource objects of this resource. This is used only if the value of theTypefield isResourceorAWS::Resource. -
Environmentspecifies 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.-
Typedesignates the type of object this service level objective is for. -
ResourceTypespecifies the type of the resource. This field is used only when the value of theTypefield isResourceorAWS::Resource. -
Namespecifies the name of the object. This is used only if the value of theTypefield isService,RemoteService, orAWS::Service. -
Identifieridentifies the resource objects of this resource. This is used only if the value of theTypefield isResourceorAWS::Resource. -
Environmentspecifies 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
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
Identifies the dependency using the
DependencyKeyAttributesandDependencyOperationName.- Parameters:
dependencyConfig- Identifies the dependency using theDependencyKeyAttributesandDependencyOperationName.- 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
This is a convenience method that creates an instance of theDependencyKeyAttributesandDependencyOperationName.DependencyConfig.Builderavoiding the need to create one manually viaDependencyConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todependencyConfig(DependencyConfig).- Parameters:
dependencyConfig- a consumer that will call methods onDependencyConfig.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
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
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
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
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:
-
-