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) AListResourcesAssociatedToCustomLineItemFilterthat can specify the types of resources that should be retrieved.(Optional) AListResourcesAssociatedToCustomLineItemFilterthat 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.billingconductor.model.BillingconductorRequest.Builder
buildMethods 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
-
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
ListResourcesAssociatedToCustomLineItemFilterthat can specify the types of resources that should be retrieved.- Parameters:
filters- (Optional) AListResourcesAssociatedToCustomLineItemFilterthat 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 theListResourcesAssociatedToCustomLineItemFilterthat can specify the types of resources that should be retrieved.ListResourcesAssociatedToCustomLineItemFilter.Builderavoiding the need to create one manually viaListResourcesAssociatedToCustomLineItemFilter.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-