Interface ListServiceStatesRequest.Builder
- All Superinterfaces:
ApplicationSignalsRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<ListServiceStatesRequest.Builder,
,ListServiceStatesRequest> SdkBuilder<ListServiceStatesRequest.Builder,
,ListServiceStatesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListServiceStatesRequest
-
Method Summary
Modifier and TypeMethodDescriptionattributeFilters
(Collection<AttributeFilter> attributeFilters) A list of attribute filters to narrow down the services.attributeFilters
(Consumer<AttributeFilter.Builder>... attributeFilters) A list of attribute filters to narrow down the services.attributeFilters
(AttributeFilter... attributeFilters) A list of attribute filters to narrow down the services.awsAccountId
(String awsAccountId) The Amazon Web Services account ID to filter service states by.The end of the time period to retrieve service state information for.includeLinkedAccounts
(Boolean includeLinkedAccounts) If you are using this operation in a monitoring account, specifytrue
to include service states from source accounts in the returned data.maxResults
(Integer maxResults) The maximum number of service states to return in one operation.Include this value, if it was returned by the previous operation, to get the next set of service states.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The start of the time period to retrieve service state information for.Methods inherited from interface software.amazon.awssdk.services.applicationsignals.model.ApplicationSignalsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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
-
startTime
The start of the time period to retrieve service state information for. When used in a raw HTTP Query API, it is formatted as epoch time in seconds. For example,
1698778057
.- Parameters:
startTime
- The start of the time period to retrieve service state information for. When used in a raw HTTP Query API, it is formatted as epoch time in seconds. For example,1698778057
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The end of the time period to retrieve service state information for. When used in a raw HTTP Query API, it is formatted as epoch time in seconds. For example,
1698778057
.- Parameters:
endTime
- The end of the time period to retrieve service state information for. When used in a raw HTTP Query API, it is formatted as epoch time in seconds. For example,1698778057
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of service states to return in one operation. If you omit this parameter, the default of 20 is used.
- Parameters:
maxResults
- The maximum number of service states to return in one operation. If you omit this parameter, the default of 20 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 states.
- Parameters:
nextToken
- Include this value, if it was returned by the previous operation, to get the next set of service states.- 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
true
to include service states from source accounts in the returned data.- Parameters:
includeLinkedAccounts
- If you are using this operation in a monitoring account, specifytrue
to include service states from source accounts in the returned data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsAccountId
The Amazon Web Services account ID to filter service states by. Use this to limit results to services from a specific account.
- Parameters:
awsAccountId
- The Amazon Web Services account ID to filter service states by. Use this to limit results to services from a specific account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeFilters
A list of attribute filters to narrow down the services. You can filter by platform, environment, or other service attributes.
- Parameters:
attributeFilters
- A list of attribute filters to narrow down the services. You can filter by platform, environment, or other service attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeFilters
A list of attribute filters to narrow down the services. You can filter by platform, environment, or other service attributes.
- Parameters:
attributeFilters
- A list of attribute filters to narrow down the services. You can filter by platform, environment, or other service attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeFilters
ListServiceStatesRequest.Builder attributeFilters(Consumer<AttributeFilter.Builder>... attributeFilters) A list of attribute filters to narrow down the services. You can filter by platform, environment, or other service attributes.
This is a convenience method that creates an instance of theAttributeFilter.Builder
avoiding the need to create one manually viaAttributeFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributeFilters(List<AttributeFilter>)
.- Parameters:
attributeFilters
- a consumer that will call methods onAttributeFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListServiceStatesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListServiceStatesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-