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) An array of attribute filters to narrow down the service states returned.attributeFilters(Consumer<AttributeFilter.Builder>... attributeFilters) An array of attribute filters to narrow down the service states returned.attributeFilters(AttributeFilter... attributeFilters) An array of attribute filters to narrow down the service states returned.awsAccountId(String awsAccountId) The AWS account ID to filter service states.The end time for the service states query.includeLinkedAccounts(Boolean includeLinkedAccounts) Specifies whether to include service states from linked AWS accounts in the results.maxResults(Integer maxResults) The maximum number of service states to return in a single request.The token for the next set of results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The start time for the service states query.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
-
startTime
The start time for the service states query. Only service states from this time onward will be included. Specify the time as the number of milliseconds since January 1, 1970, 00:00:00 UTC.
- Parameters:
startTime- The start time for the service states query. Only service states from this time onward will be included. Specify the time as the number of milliseconds since January 1, 1970, 00:00:00 UTC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The end time for the service states query. Only service states before this time will be included. Specify the time as the number of milliseconds since January 1, 1970, 00:00:00 UTC.
- Parameters:
endTime- The end time for the service states query. Only service states before this time will be included. Specify the time as the number of milliseconds since January 1, 1970, 00:00:00 UTC.- 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 a single request. Valid range is 1 to 100. If not specified, defaults to 50.
- Parameters:
maxResults- The maximum number of service states to return in a single request. Valid range is 1 to 100. If not specified, defaults to 50.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token for the next set of results. Use this token to retrieve additional pages of service states when the result set is large.
- Parameters:
nextToken- The token for the next set of results. Use this token to retrieve additional pages of service states when the result set is large.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeLinkedAccounts
Specifies whether to include service states from linked AWS accounts in the results. Set to
trueto include linked accounts, orfalseto only include the current account. Defaults tofalse.- Parameters:
includeLinkedAccounts- Specifies whether to include service states from linked AWS accounts in the results. Set totrueto include linked accounts, orfalseto only include the current account. Defaults tofalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsAccountId
The AWS account ID to filter service states. If specified, only service states from this account will be returned. If not specified, service states from the current account (and linked accounts if enabled) are returned.
- Parameters:
awsAccountId- The AWS account ID to filter service states. If specified, only service states from this account will be returned. If not specified, service states from the current account (and linked accounts if enabled) are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeFilters
An array of attribute filters to narrow down the service states returned. Each filter specifies an attribute name and the values to match against.
- Parameters:
attributeFilters- An array of attribute filters to narrow down the service states returned. Each filter specifies an attribute name and the values to match against.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeFilters
An array of attribute filters to narrow down the service states returned. Each filter specifies an attribute name and the values to match against.
- Parameters:
attributeFilters- An array of attribute filters to narrow down the service states returned. Each filter specifies an attribute name and the values to match against.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeFilters
ListServiceStatesRequest.Builder attributeFilters(Consumer<AttributeFilter.Builder>... attributeFilters) An array of attribute filters to narrow down the service states returned. Each filter specifies an attribute name and the values to match against.
This is a convenience method that creates an instance of theAttributeFilter.Builderavoiding the need to create one manually viaAttributeFilter.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-