Interface ListResourcesAssociatedToCustomLineItemRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BillingconductorRequest.Builder
,Buildable
,CopyableBuilder<ListResourcesAssociatedToCustomLineItemRequest.Builder,
,ListResourcesAssociatedToCustomLineItemRequest> SdkBuilder<ListResourcesAssociatedToCustomLineItemRequest.Builder,
,ListResourcesAssociatedToCustomLineItemRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListResourcesAssociatedToCustomLineItemRequest
@Mutable
@NotThreadSafe
public static interface ListResourcesAssociatedToCustomLineItemRequest.Builder
extends BillingconductorRequest.Builder, SdkPojo, CopyableBuilder<ListResourcesAssociatedToCustomLineItemRequest.Builder,ListResourcesAssociatedToCustomLineItemRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the custom line item for which the resource associations will be listed.billingPeriod
(String billingPeriod) The billing period for which the resource associations will be listed.(Optional) AListResourcesAssociatedToCustomLineItemFilter
that can specify the types of resources that should be retrieved.(Optional) AListResourcesAssociatedToCustomLineItemFilter
that can specify the types of resources that should be retrieved.maxResults
(Integer maxResults) (Optional) The maximum number of resource associations to be retrieved.(Optional) The pagination token that's returned by a previous request.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.billingconductor.model.BillingconductorRequest.Builder
build
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
-
billingPeriod
The billing period for which the resource associations will be listed.
- Parameters:
billingPeriod
- The billing period for which the resource associations will be listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of the custom line item for which the resource associations will be listed.
- Parameters:
arn
- The ARN of the custom line item for which the resource associations will be listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
(Optional) The maximum number of resource associations to be retrieved.
- Parameters:
maxResults
- (Optional) The maximum number of resource associations to be retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
(Optional) The pagination token that's returned by a previous request.
- Parameters:
nextToken
- (Optional) The pagination token that's returned by a previous request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListResourcesAssociatedToCustomLineItemRequest.Builder filters(ListResourcesAssociatedToCustomLineItemFilter filters) (Optional) A
ListResourcesAssociatedToCustomLineItemFilter
that can specify the types of resources that should be retrieved.- Parameters:
filters
- (Optional) AListResourcesAssociatedToCustomLineItemFilter
that can specify the types of resources that should be retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
default ListResourcesAssociatedToCustomLineItemRequest.Builder filters(Consumer<ListResourcesAssociatedToCustomLineItemFilter.Builder> filters) (Optional) A
This is a convenience method that creates an instance of theListResourcesAssociatedToCustomLineItemFilter
that can specify the types of resources that should be retrieved.ListResourcesAssociatedToCustomLineItemFilter.Builder
avoiding the need to create one manually viaListResourcesAssociatedToCustomLineItemFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(ListResourcesAssociatedToCustomLineItemFilter)
.- Parameters:
filters
- a consumer that will call methods onListResourcesAssociatedToCustomLineItemFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListResourcesAssociatedToCustomLineItemRequest.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
ListResourcesAssociatedToCustomLineItemRequest.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.
-