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 theDependencyKeyAttributes
andDependencyOperationName
.dependencyConfig
(DependencyConfig dependencyConfig) Identifies the dependency using theDependencyKeyAttributes
andDependencyOperationName
.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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.
-
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 theType
field isResource
orAWS::Resource
. -
Name
specifies the name of the object. This is used only if the value of theType
field isService
,RemoteService
, orAWS::Service
. -
Identifier
identifies the resource objects of this resource. This is used only if the value of theType
field isResource
orAWS::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 theType
field isResource
orAWS::Resource
. -
Name
specifies the name of the object. This is used only if the value of theType
field isService
,RemoteService
, orAWS::Service
. -
Identifier
identifies the resource objects of this resource. This is used only if the value of theType
field isResource
orAWS::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
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
DependencyKeyAttributes
andDependencyOperationName
.- Parameters:
dependencyConfig
- Identifies the dependency using theDependencyKeyAttributes
andDependencyOperationName
.- 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 theDependencyKeyAttributes
andDependencyOperationName
.DependencyConfig.Builder
avoiding the need to create one manually viaDependencyConfig.builder()
.When the
Consumer
completes,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:
-
-