Interface ListServiceLevelObjectivesRequest.Builder
- All Superinterfaces:
ApplicationSignalsRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<ListServiceLevelObjectivesRequest.Builder,,ListServiceLevelObjectivesRequest> SdkBuilder<ListServiceLevelObjectivesRequest.Builder,,ListServiceLevelObjectivesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListServiceLevelObjectivesRequest
-
Method Summary
Modifier and TypeMethodDescriptiondependencyConfig(Consumer<DependencyConfig.Builder> dependencyConfig) Identifies the dependency using theDependencyKeyAttributesandDependencyOperationName.dependencyConfig(DependencyConfig dependencyConfig) Identifies the dependency using theDependencyKeyAttributesandDependencyOperationName.includeLinkedAccounts(Boolean includeLinkedAccounts) If you are using this operation in a monitoring account, specifytrueto include SLO from source accounts in the returned data.keyAttributes(Map<String, String> keyAttributes) You can use this optional field to specify which services you want to retrieve SLO information for.maxResults(Integer maxResults) The maximum number of results to return in one operation.metricSourceTypes(Collection<MetricSourceType> metricSourceTypes) Use this optional field to only include SLOs with the specified metric source types in the output.metricSourceTypes(MetricSourceType... metricSourceTypes) Use this optional field to only include SLOs with the specified metric source types in the output.metricSourceTypesWithStrings(String... metricSourceTypes) Use this optional field to only include SLOs with the specified metric source types in the output.metricSourceTypesWithStrings(Collection<String> metricSourceTypes) Use this optional field to only include SLOs with the specified metric source types in the output.Include this value, if it was returned by the previous operation, to get the next set of service level objectives.operationName(String operationName) The name of the operation that this SLO is associated with.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sloOwnerAwsAccountId(String sloOwnerAwsAccountId) SLO's Amazon Web Services account ID.Methods inherited from interface software.amazon.awssdk.services.applicationsignals.model.ApplicationSignalsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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
-
keyAttributes
You can use this optional field to specify which services you want to retrieve SLO information for.
This is a string-to-string map. It can include the following fields.
-
Typedesignates the type of object this is. -
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- You can use this optional field to specify which services you want to retrieve SLO information for.This is a string-to-string map. It can include the following fields.
-
Typedesignates the type of object this is. -
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
The name of the operation that this SLO is associated with.
- Parameters:
operationName- The name of the operation that this SLO is associated with.- 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 ListServiceLevelObjectivesRequest.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:
-
maxResults
The maximum number of results to return in one operation. If you omit this parameter, the default of 50 is used.
- Parameters:
maxResults- The maximum number of results to return in one operation. If you omit this parameter, the default of 50 is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
Include this value, if it was returned by the previous operation, to get the next set of service level objectives.
- Parameters:
nextToken- Include this value, if it was returned by the previous operation, to get the next set of service level objectives.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeLinkedAccounts
If you are using this operation in a monitoring account, specify
trueto include SLO from source accounts in the returned data.When you are monitoring an account, you can use Amazon Web Services account ID in
KeyAttributefilter for service source account andSloOwnerawsaccountIDfor SLO source account withIncludeLinkedAccountsto filter the returned data to only a single source account.- Parameters:
includeLinkedAccounts- If you are using this operation in a monitoring account, specifytrueto include SLO from source accounts in the returned data.When you are monitoring an account, you can use Amazon Web Services account ID in
KeyAttributefilter for service source account andSloOwnerawsaccountIDfor SLO source account withIncludeLinkedAccountsto filter the returned data to only a single source account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sloOwnerAwsAccountId
SLO's Amazon Web Services account ID.
- Parameters:
sloOwnerAwsAccountId- SLO's Amazon Web Services account ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricSourceTypesWithStrings
ListServiceLevelObjectivesRequest.Builder metricSourceTypesWithStrings(Collection<String> metricSourceTypes) Use this optional field to only include SLOs with the specified metric source types in the output. Supported types are:
-
Service operation
-
Service dependency
-
CloudWatch metric
- Parameters:
metricSourceTypes- Use this optional field to only include SLOs with the specified metric source types in the output. Supported types are:-
Service operation
-
Service dependency
-
CloudWatch metric
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
metricSourceTypesWithStrings
Use this optional field to only include SLOs with the specified metric source types in the output. Supported types are:
-
Service operation
-
Service dependency
-
CloudWatch metric
- Parameters:
metricSourceTypes- Use this optional field to only include SLOs with the specified metric source types in the output. Supported types are:-
Service operation
-
Service dependency
-
CloudWatch metric
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
metricSourceTypes
ListServiceLevelObjectivesRequest.Builder metricSourceTypes(Collection<MetricSourceType> metricSourceTypes) Use this optional field to only include SLOs with the specified metric source types in the output. Supported types are:
-
Service operation
-
Service dependency
-
CloudWatch metric
- Parameters:
metricSourceTypes- Use this optional field to only include SLOs with the specified metric source types in the output. Supported types are:-
Service operation
-
Service dependency
-
CloudWatch metric
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
metricSourceTypes
Use this optional field to only include SLOs with the specified metric source types in the output. Supported types are:
-
Service operation
-
Service dependency
-
CloudWatch metric
- Parameters:
metricSourceTypes- Use this optional field to only include SLOs with the specified metric source types in the output. Supported types are:-
Service operation
-
Service dependency
-
CloudWatch metric
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
overrideConfiguration
ListServiceLevelObjectivesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListServiceLevelObjectivesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-