Interface ListResourcesAssociatedToCustomLineItemRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BillingconductorRequest.Builder,Buildable,CopyableBuilder<ListResourcesAssociatedToCustomLineItemRequest.Builder,ListResourcesAssociatedToCustomLineItemRequest>,SdkBuilder<ListResourcesAssociatedToCustomLineItemRequest.Builder,ListResourcesAssociatedToCustomLineItemRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListResourcesAssociatedToCustomLineItemRequest
public static interface ListResourcesAssociatedToCustomLineItemRequest.Builder extends BillingconductorRequest.Builder, SdkPojo, CopyableBuilder<ListResourcesAssociatedToCustomLineItemRequest.Builder,ListResourcesAssociatedToCustomLineItemRequest>
-
-
Method Summary
-
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, sdkFields
-
-
-
-
Method Detail
-
billingPeriod
ListResourcesAssociatedToCustomLineItemRequest.Builder billingPeriod(String 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
ListResourcesAssociatedToCustomLineItemRequest.Builder arn(String 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
ListResourcesAssociatedToCustomLineItemRequest.Builder maxResults(Integer 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
ListResourcesAssociatedToCustomLineItemRequest.Builder nextToken(String 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:
filters(ListResourcesAssociatedToCustomLineItemFilter)
-
overrideConfiguration
ListResourcesAssociatedToCustomLineItemRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListResourcesAssociatedToCustomLineItemRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-