Interface BillingconductorClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
Amazon Web Services Billing Conductor is a fully managed service that you can use to customize a proforma version of your billing data each month, to accurately show or chargeback your end customers. Amazon Web Services Billing Conductor doesn't change the way you're billed by Amazon Web Services each month by design. Instead, it provides you with a mechanism to configure, generate, and display rates to certain customers over a given billing period. You can also analyze the difference between the rates you apply to your accounting groupings relative to your actual rates from Amazon Web Services. As a result of your Amazon Web Services Billing Conductor configuration, the payer account can also see the custom rate applied on the billing details page of the Amazon Web Services Billing console, or configure a cost and usage report per billing group.
This documentation shows how you can configure Amazon Web Services Billing Conductor using its API. For more information about using the Amazon Web Services Billing Conductor user interface, see the Amazon Web Services Billing Conductor User Guide.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptiondefault AssociateAccountsResponseassociateAccounts(Consumer<AssociateAccountsRequest.Builder> associateAccountsRequest) Connects an array of account IDs in a consolidated billing family to a predefined billing group.default AssociateAccountsResponseassociateAccounts(AssociateAccountsRequest associateAccountsRequest) Connects an array of account IDs in a consolidated billing family to a predefined billing group.default AssociatePricingRulesResponseassociatePricingRules(Consumer<AssociatePricingRulesRequest.Builder> associatePricingRulesRequest) Connects an array ofPricingRuleArnsto a definedPricingPlan.default AssociatePricingRulesResponseassociatePricingRules(AssociatePricingRulesRequest associatePricingRulesRequest) Connects an array ofPricingRuleArnsto a definedPricingPlan.batchAssociateResourcesToCustomLineItem(Consumer<BatchAssociateResourcesToCustomLineItemRequest.Builder> batchAssociateResourcesToCustomLineItemRequest) Associates a batch of resources to a percentage custom line item.batchAssociateResourcesToCustomLineItem(BatchAssociateResourcesToCustomLineItemRequest batchAssociateResourcesToCustomLineItemRequest) Associates a batch of resources to a percentage custom line item.batchDisassociateResourcesFromCustomLineItem(Consumer<BatchDisassociateResourcesFromCustomLineItemRequest.Builder> batchDisassociateResourcesFromCustomLineItemRequest) Disassociates a batch of resources from a percentage custom line item.batchDisassociateResourcesFromCustomLineItem(BatchDisassociateResourcesFromCustomLineItemRequest batchDisassociateResourcesFromCustomLineItemRequest) Disassociates a batch of resources from a percentage custom line item.builder()Create a builder that can be used to configure and create aBillingconductorClient.static BillingconductorClientcreate()Create aBillingconductorClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateBillingGroupResponsecreateBillingGroup(Consumer<CreateBillingGroupRequest.Builder> createBillingGroupRequest) Creates a billing group that resembles a consolidated billing family that Amazon Web Services charges, based off of the predefined pricing plan computation.default CreateBillingGroupResponsecreateBillingGroup(CreateBillingGroupRequest createBillingGroupRequest) Creates a billing group that resembles a consolidated billing family that Amazon Web Services charges, based off of the predefined pricing plan computation.default CreateCustomLineItemResponsecreateCustomLineItem(Consumer<CreateCustomLineItemRequest.Builder> createCustomLineItemRequest) Creates a custom line item that can be used to create a one-time fixed charge that can be applied to a single billing group for the current or previous billing period.default CreateCustomLineItemResponsecreateCustomLineItem(CreateCustomLineItemRequest createCustomLineItemRequest) Creates a custom line item that can be used to create a one-time fixed charge that can be applied to a single billing group for the current or previous billing period.default CreatePricingPlanResponsecreatePricingPlan(Consumer<CreatePricingPlanRequest.Builder> createPricingPlanRequest) Creates a pricing plan that is used for computing Amazon Web Services charges for billing groups.default CreatePricingPlanResponsecreatePricingPlan(CreatePricingPlanRequest createPricingPlanRequest) Creates a pricing plan that is used for computing Amazon Web Services charges for billing groups.default CreatePricingRuleResponsecreatePricingRule(Consumer<CreatePricingRuleRequest.Builder> createPricingRuleRequest) Creates a pricing rule can be associated to a pricing plan, or a set of pricing plans.default CreatePricingRuleResponsecreatePricingRule(CreatePricingRuleRequest createPricingRuleRequest) Creates a pricing rule can be associated to a pricing plan, or a set of pricing plans.default DeleteBillingGroupResponsedeleteBillingGroup(Consumer<DeleteBillingGroupRequest.Builder> deleteBillingGroupRequest) Deletes a billing group.default DeleteBillingGroupResponsedeleteBillingGroup(DeleteBillingGroupRequest deleteBillingGroupRequest) Deletes a billing group.default DeleteCustomLineItemResponsedeleteCustomLineItem(Consumer<DeleteCustomLineItemRequest.Builder> deleteCustomLineItemRequest) Deletes the custom line item identified by the given ARN in the current, or previous billing period.default DeleteCustomLineItemResponsedeleteCustomLineItem(DeleteCustomLineItemRequest deleteCustomLineItemRequest) Deletes the custom line item identified by the given ARN in the current, or previous billing period.default DeletePricingPlanResponsedeletePricingPlan(Consumer<DeletePricingPlanRequest.Builder> deletePricingPlanRequest) Deletes a pricing plan.default DeletePricingPlanResponsedeletePricingPlan(DeletePricingPlanRequest deletePricingPlanRequest) Deletes a pricing plan.default DeletePricingRuleResponsedeletePricingRule(Consumer<DeletePricingRuleRequest.Builder> deletePricingRuleRequest) Deletes the pricing rule that's identified by the input Amazon Resource Name (ARN).default DeletePricingRuleResponsedeletePricingRule(DeletePricingRuleRequest deletePricingRuleRequest) Deletes the pricing rule that's identified by the input Amazon Resource Name (ARN).default DisassociateAccountsResponsedisassociateAccounts(Consumer<DisassociateAccountsRequest.Builder> disassociateAccountsRequest) Removes the specified list of account IDs from the given billing group.default DisassociateAccountsResponsedisassociateAccounts(DisassociateAccountsRequest disassociateAccountsRequest) Removes the specified list of account IDs from the given billing group.default DisassociatePricingRulesResponsedisassociatePricingRules(Consumer<DisassociatePricingRulesRequest.Builder> disassociatePricingRulesRequest) Disassociates a list of pricing rules from a pricing plan.default DisassociatePricingRulesResponsedisassociatePricingRules(DisassociatePricingRulesRequest disassociatePricingRulesRequest) Disassociates a list of pricing rules from a pricing plan.getBillingGroupCostReport(Consumer<GetBillingGroupCostReportRequest.Builder> getBillingGroupCostReportRequest) Retrieves the margin summary report, which includes the Amazon Web Services cost and charged amount (pro forma cost) by Amazon Web Service for a specific billing group.getBillingGroupCostReport(GetBillingGroupCostReportRequest getBillingGroupCostReportRequest) Retrieves the margin summary report, which includes the Amazon Web Services cost and charged amount (pro forma cost) by Amazon Web Service for a specific billing group.default ListAccountAssociationsResponselistAccountAssociations(Consumer<ListAccountAssociationsRequest.Builder> listAccountAssociationsRequest) This is a paginated call to list linked accounts that are linked to the payer account for the specified time period.default ListAccountAssociationsResponselistAccountAssociations(ListAccountAssociationsRequest listAccountAssociationsRequest) This is a paginated call to list linked accounts that are linked to the payer account for the specified time period.default ListAccountAssociationsIterablelistAccountAssociationsPaginator(Consumer<ListAccountAssociationsRequest.Builder> listAccountAssociationsRequest) This is a variant oflistAccountAssociations(software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsRequest)operation.default ListAccountAssociationsIterablelistAccountAssociationsPaginator(ListAccountAssociationsRequest listAccountAssociationsRequest) This is a variant oflistAccountAssociations(software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsRequest)operation.listBillingGroupCostReports(Consumer<ListBillingGroupCostReportsRequest.Builder> listBillingGroupCostReportsRequest) A paginated call to retrieve a summary report of actual Amazon Web Services charges and the calculated Amazon Web Services charges based on the associated pricing plan of a billing group.listBillingGroupCostReports(ListBillingGroupCostReportsRequest listBillingGroupCostReportsRequest) A paginated call to retrieve a summary report of actual Amazon Web Services charges and the calculated Amazon Web Services charges based on the associated pricing plan of a billing group.listBillingGroupCostReportsPaginator(Consumer<ListBillingGroupCostReportsRequest.Builder> listBillingGroupCostReportsRequest) This is a variant oflistBillingGroupCostReports(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupCostReportsRequest)operation.listBillingGroupCostReportsPaginator(ListBillingGroupCostReportsRequest listBillingGroupCostReportsRequest) This is a variant oflistBillingGroupCostReports(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupCostReportsRequest)operation.default ListBillingGroupsResponselistBillingGroups(Consumer<ListBillingGroupsRequest.Builder> listBillingGroupsRequest) A paginated call to retrieve a list of billing groups for the given billing period.default ListBillingGroupsResponselistBillingGroups(ListBillingGroupsRequest listBillingGroupsRequest) A paginated call to retrieve a list of billing groups for the given billing period.default ListBillingGroupsIterablelistBillingGroupsPaginator(Consumer<ListBillingGroupsRequest.Builder> listBillingGroupsRequest) This is a variant oflistBillingGroups(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupsRequest)operation.default ListBillingGroupsIterablelistBillingGroupsPaginator(ListBillingGroupsRequest listBillingGroupsRequest) This is a variant oflistBillingGroups(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupsRequest)operation.default ListCustomLineItemsResponselistCustomLineItems(Consumer<ListCustomLineItemsRequest.Builder> listCustomLineItemsRequest) A paginated call to get a list of all custom line items (FFLIs) for the given billing period.default ListCustomLineItemsResponselistCustomLineItems(ListCustomLineItemsRequest listCustomLineItemsRequest) A paginated call to get a list of all custom line items (FFLIs) for the given billing period.default ListCustomLineItemsIterablelistCustomLineItemsPaginator(Consumer<ListCustomLineItemsRequest.Builder> listCustomLineItemsRequest) This is a variant oflistCustomLineItems(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemsRequest)operation.default ListCustomLineItemsIterablelistCustomLineItemsPaginator(ListCustomLineItemsRequest listCustomLineItemsRequest) This is a variant oflistCustomLineItems(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemsRequest)operation.listCustomLineItemVersions(Consumer<ListCustomLineItemVersionsRequest.Builder> listCustomLineItemVersionsRequest) A paginated call to get a list of all custom line item versions.listCustomLineItemVersions(ListCustomLineItemVersionsRequest listCustomLineItemVersionsRequest) A paginated call to get a list of all custom line item versions.listCustomLineItemVersionsPaginator(Consumer<ListCustomLineItemVersionsRequest.Builder> listCustomLineItemVersionsRequest) This is a variant oflistCustomLineItemVersions(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemVersionsRequest)operation.listCustomLineItemVersionsPaginator(ListCustomLineItemVersionsRequest listCustomLineItemVersionsRequest) This is a variant oflistCustomLineItemVersions(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemVersionsRequest)operation.default ListPricingPlansResponselistPricingPlans(Consumer<ListPricingPlansRequest.Builder> listPricingPlansRequest) A paginated call to get pricing plans for the given billing period.default ListPricingPlansResponselistPricingPlans(ListPricingPlansRequest listPricingPlansRequest) A paginated call to get pricing plans for the given billing period.listPricingPlansAssociatedWithPricingRule(Consumer<ListPricingPlansAssociatedWithPricingRuleRequest.Builder> listPricingPlansAssociatedWithPricingRuleRequest) A list of the pricing plans that are associated with a pricing rule.listPricingPlansAssociatedWithPricingRule(ListPricingPlansAssociatedWithPricingRuleRequest listPricingPlansAssociatedWithPricingRuleRequest) A list of the pricing plans that are associated with a pricing rule.listPricingPlansAssociatedWithPricingRulePaginator(Consumer<ListPricingPlansAssociatedWithPricingRuleRequest.Builder> listPricingPlansAssociatedWithPricingRuleRequest) listPricingPlansAssociatedWithPricingRulePaginator(ListPricingPlansAssociatedWithPricingRuleRequest listPricingPlansAssociatedWithPricingRuleRequest) default ListPricingPlansIterablelistPricingPlansPaginator(Consumer<ListPricingPlansRequest.Builder> listPricingPlansRequest) This is a variant oflistPricingPlans(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansRequest)operation.default ListPricingPlansIterablelistPricingPlansPaginator(ListPricingPlansRequest listPricingPlansRequest) This is a variant oflistPricingPlans(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansRequest)operation.default ListPricingRulesResponselistPricingRules(Consumer<ListPricingRulesRequest.Builder> listPricingRulesRequest) Describes a pricing rule that can be associated to a pricing plan, or set of pricing plans.default ListPricingRulesResponselistPricingRules(ListPricingRulesRequest listPricingRulesRequest) Describes a pricing rule that can be associated to a pricing plan, or set of pricing plans.listPricingRulesAssociatedToPricingPlan(Consumer<ListPricingRulesAssociatedToPricingPlanRequest.Builder> listPricingRulesAssociatedToPricingPlanRequest) Lists the pricing rules that are associated with a pricing plan.listPricingRulesAssociatedToPricingPlan(ListPricingRulesAssociatedToPricingPlanRequest listPricingRulesAssociatedToPricingPlanRequest) Lists the pricing rules that are associated with a pricing plan.listPricingRulesAssociatedToPricingPlanPaginator(Consumer<ListPricingRulesAssociatedToPricingPlanRequest.Builder> listPricingRulesAssociatedToPricingPlanRequest) listPricingRulesAssociatedToPricingPlanPaginator(ListPricingRulesAssociatedToPricingPlanRequest listPricingRulesAssociatedToPricingPlanRequest) default ListPricingRulesIterablelistPricingRulesPaginator(Consumer<ListPricingRulesRequest.Builder> listPricingRulesRequest) This is a variant oflistPricingRules(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesRequest)operation.default ListPricingRulesIterablelistPricingRulesPaginator(ListPricingRulesRequest listPricingRulesRequest) This is a variant oflistPricingRules(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesRequest)operation.listResourcesAssociatedToCustomLineItem(Consumer<ListResourcesAssociatedToCustomLineItemRequest.Builder> listResourcesAssociatedToCustomLineItemRequest) List the resources that are associated to a custom line item.listResourcesAssociatedToCustomLineItem(ListResourcesAssociatedToCustomLineItemRequest listResourcesAssociatedToCustomLineItemRequest) List the resources that are associated to a custom line item.listResourcesAssociatedToCustomLineItemPaginator(Consumer<ListResourcesAssociatedToCustomLineItemRequest.Builder> listResourcesAssociatedToCustomLineItemRequest) listResourcesAssociatedToCustomLineItemPaginator(ListResourcesAssociatedToCustomLineItemRequest listResourcesAssociatedToCustomLineItemRequest) default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) A list the tags for a resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) A list the tags for a resource.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Associates the specified tags to a resource with the specifiedresourceArn.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Associates the specified tags to a resource with the specifiedresourceArn.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Deletes specified tags from a resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Deletes specified tags from a resource.default UpdateBillingGroupResponseupdateBillingGroup(Consumer<UpdateBillingGroupRequest.Builder> updateBillingGroupRequest) This updates an existing billing group.default UpdateBillingGroupResponseupdateBillingGroup(UpdateBillingGroupRequest updateBillingGroupRequest) This updates an existing billing group.default UpdateCustomLineItemResponseupdateCustomLineItem(Consumer<UpdateCustomLineItemRequest.Builder> updateCustomLineItemRequest) Update an existing custom line item in the current or previous billing period.default UpdateCustomLineItemResponseupdateCustomLineItem(UpdateCustomLineItemRequest updateCustomLineItemRequest) Update an existing custom line item in the current or previous billing period.default UpdatePricingPlanResponseupdatePricingPlan(Consumer<UpdatePricingPlanRequest.Builder> updatePricingPlanRequest) This updates an existing pricing plan.default UpdatePricingPlanResponseupdatePricingPlan(UpdatePricingPlanRequest updatePricingPlanRequest) This updates an existing pricing plan.default UpdatePricingRuleResponseupdatePricingRule(Consumer<UpdatePricingRuleRequest.Builder> updatePricingRuleRequest) Updates an existing pricing rule.default UpdatePricingRuleResponseupdatePricingRule(UpdatePricingRuleRequest updatePricingRuleRequest) Updates an existing pricing rule.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
associateAccounts
default AssociateAccountsResponse associateAccounts(AssociateAccountsRequest associateAccountsRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, ServiceLimitExceededException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException Connects an array of account IDs in a consolidated billing family to a predefined billing group. The account IDs must be a part of the consolidated billing family during the current month, and not already associated with another billing group. The maximum number of accounts that can be associated in one call is 30.
- Parameters:
associateAccountsRequest-- Returns:
- Result of the AssociateAccounts operation returned by the service.
- See Also:
-
associateAccounts
default AssociateAccountsResponse associateAccounts(Consumer<AssociateAccountsRequest.Builder> associateAccountsRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, ServiceLimitExceededException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException Connects an array of account IDs in a consolidated billing family to a predefined billing group. The account IDs must be a part of the consolidated billing family during the current month, and not already associated with another billing group. The maximum number of accounts that can be associated in one call is 30.
This is a convenience which creates an instance of the
AssociateAccountsRequest.Builderavoiding the need to create one manually viaAssociateAccountsRequest.builder()- Parameters:
associateAccountsRequest- AConsumerthat will call methods onAssociateAccountsRequest.Builderto create a request.- Returns:
- Result of the AssociateAccounts operation returned by the service.
- See Also:
-
associatePricingRules
default AssociatePricingRulesResponse associatePricingRules(AssociatePricingRulesRequest associatePricingRulesRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, ServiceLimitExceededException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException Connects an array of
PricingRuleArnsto a definedPricingPlan. The maximum numberPricingRuleArnthat can be associated in one call is 30.- Parameters:
associatePricingRulesRequest-- Returns:
- Result of the AssociatePricingRules operation returned by the service.
- See Also:
-
associatePricingRules
default AssociatePricingRulesResponse associatePricingRules(Consumer<AssociatePricingRulesRequest.Builder> associatePricingRulesRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, ServiceLimitExceededException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException Connects an array of
PricingRuleArnsto a definedPricingPlan. The maximum numberPricingRuleArnthat can be associated in one call is 30.
This is a convenience which creates an instance of the
AssociatePricingRulesRequest.Builderavoiding the need to create one manually viaAssociatePricingRulesRequest.builder()- Parameters:
associatePricingRulesRequest- AConsumerthat will call methods onAssociatePricingRulesRequest.Builderto create a request.- Returns:
- Result of the AssociatePricingRules operation returned by the service.
- See Also:
-
batchAssociateResourcesToCustomLineItem
default BatchAssociateResourcesToCustomLineItemResponse batchAssociateResourcesToCustomLineItem(BatchAssociateResourcesToCustomLineItemRequest batchAssociateResourcesToCustomLineItemRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, ServiceLimitExceededException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException Associates a batch of resources to a percentage custom line item.
- Parameters:
batchAssociateResourcesToCustomLineItemRequest-- Returns:
- Result of the BatchAssociateResourcesToCustomLineItem operation returned by the service.
- See Also:
-
batchAssociateResourcesToCustomLineItem
default BatchAssociateResourcesToCustomLineItemResponse batchAssociateResourcesToCustomLineItem(Consumer<BatchAssociateResourcesToCustomLineItemRequest.Builder> batchAssociateResourcesToCustomLineItemRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, ServiceLimitExceededException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException Associates a batch of resources to a percentage custom line item.
This is a convenience which creates an instance of the
BatchAssociateResourcesToCustomLineItemRequest.Builderavoiding the need to create one manually viaBatchAssociateResourcesToCustomLineItemRequest.builder()- Parameters:
batchAssociateResourcesToCustomLineItemRequest- AConsumerthat will call methods onBatchAssociateResourcesToCustomLineItemRequest.Builderto create a request.- Returns:
- Result of the BatchAssociateResourcesToCustomLineItem operation returned by the service.
- See Also:
-
batchDisassociateResourcesFromCustomLineItem
default BatchDisassociateResourcesFromCustomLineItemResponse batchDisassociateResourcesFromCustomLineItem(BatchDisassociateResourcesFromCustomLineItemRequest batchDisassociateResourcesFromCustomLineItemRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException Disassociates a batch of resources from a percentage custom line item.
- Parameters:
batchDisassociateResourcesFromCustomLineItemRequest-- Returns:
- Result of the BatchDisassociateResourcesFromCustomLineItem operation returned by the service.
- See Also:
-
batchDisassociateResourcesFromCustomLineItem
default BatchDisassociateResourcesFromCustomLineItemResponse batchDisassociateResourcesFromCustomLineItem(Consumer<BatchDisassociateResourcesFromCustomLineItemRequest.Builder> batchDisassociateResourcesFromCustomLineItemRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException Disassociates a batch of resources from a percentage custom line item.
This is a convenience which creates an instance of the
BatchDisassociateResourcesFromCustomLineItemRequest.Builderavoiding the need to create one manually viaBatchDisassociateResourcesFromCustomLineItemRequest.builder()- Parameters:
batchDisassociateResourcesFromCustomLineItemRequest- AConsumerthat will call methods onBatchDisassociateResourcesFromCustomLineItemRequest.Builderto create a request.- Returns:
- Result of the BatchDisassociateResourcesFromCustomLineItem operation returned by the service.
- See Also:
-
createBillingGroup
default CreateBillingGroupResponse createBillingGroup(CreateBillingGroupRequest createBillingGroupRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, ServiceLimitExceededException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException Creates a billing group that resembles a consolidated billing family that Amazon Web Services charges, based off of the predefined pricing plan computation.
- Parameters:
createBillingGroupRequest-- Returns:
- Result of the CreateBillingGroup operation returned by the service.
- See Also:
-
createBillingGroup
default CreateBillingGroupResponse createBillingGroup(Consumer<CreateBillingGroupRequest.Builder> createBillingGroupRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, ServiceLimitExceededException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException Creates a billing group that resembles a consolidated billing family that Amazon Web Services charges, based off of the predefined pricing plan computation.
This is a convenience which creates an instance of the
CreateBillingGroupRequest.Builderavoiding the need to create one manually viaCreateBillingGroupRequest.builder()- Parameters:
createBillingGroupRequest- AConsumerthat will call methods onCreateBillingGroupRequest.Builderto create a request.- Returns:
- Result of the CreateBillingGroup operation returned by the service.
- See Also:
-
createCustomLineItem
default CreateCustomLineItemResponse createCustomLineItem(CreateCustomLineItemRequest createCustomLineItemRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, ServiceLimitExceededException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException Creates a custom line item that can be used to create a one-time fixed charge that can be applied to a single billing group for the current or previous billing period. The one-time fixed charge is either a fee or discount.
- Parameters:
createCustomLineItemRequest-- Returns:
- Result of the CreateCustomLineItem operation returned by the service.
- See Also:
-
createCustomLineItem
default CreateCustomLineItemResponse createCustomLineItem(Consumer<CreateCustomLineItemRequest.Builder> createCustomLineItemRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, ServiceLimitExceededException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException Creates a custom line item that can be used to create a one-time fixed charge that can be applied to a single billing group for the current or previous billing period. The one-time fixed charge is either a fee or discount.
This is a convenience which creates an instance of the
CreateCustomLineItemRequest.Builderavoiding the need to create one manually viaCreateCustomLineItemRequest.builder()- Parameters:
createCustomLineItemRequest- AConsumerthat will call methods onCreateCustomLineItemRequest.Builderto create a request.- Returns:
- Result of the CreateCustomLineItem operation returned by the service.
- See Also:
-
createPricingPlan
default CreatePricingPlanResponse createPricingPlan(CreatePricingPlanRequest createPricingPlanRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, ServiceLimitExceededException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException Creates a pricing plan that is used for computing Amazon Web Services charges for billing groups.
- Parameters:
createPricingPlanRequest-- Returns:
- Result of the CreatePricingPlan operation returned by the service.
- See Also:
-
createPricingPlan
default CreatePricingPlanResponse createPricingPlan(Consumer<CreatePricingPlanRequest.Builder> createPricingPlanRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, ServiceLimitExceededException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException Creates a pricing plan that is used for computing Amazon Web Services charges for billing groups.
This is a convenience which creates an instance of the
CreatePricingPlanRequest.Builderavoiding the need to create one manually viaCreatePricingPlanRequest.builder()- Parameters:
createPricingPlanRequest- AConsumerthat will call methods onCreatePricingPlanRequest.Builderto create a request.- Returns:
- Result of the CreatePricingPlan operation returned by the service.
- See Also:
-
createPricingRule
default CreatePricingRuleResponse createPricingRule(CreatePricingRuleRequest createPricingRuleRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, ServiceLimitExceededException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException Creates a pricing rule can be associated to a pricing plan, or a set of pricing plans.
- Parameters:
createPricingRuleRequest-- Returns:
- Result of the CreatePricingRule operation returned by the service.
- See Also:
-
createPricingRule
default CreatePricingRuleResponse createPricingRule(Consumer<CreatePricingRuleRequest.Builder> createPricingRuleRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, ServiceLimitExceededException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException Creates a pricing rule can be associated to a pricing plan, or a set of pricing plans.
This is a convenience which creates an instance of the
CreatePricingRuleRequest.Builderavoiding the need to create one manually viaCreatePricingRuleRequest.builder()- Parameters:
createPricingRuleRequest- AConsumerthat will call methods onCreatePricingRuleRequest.Builderto create a request.- Returns:
- Result of the CreatePricingRule operation returned by the service.
- See Also:
-
deleteBillingGroup
default DeleteBillingGroupResponse deleteBillingGroup(DeleteBillingGroupRequest deleteBillingGroupRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException Deletes a billing group.
- Parameters:
deleteBillingGroupRequest-- Returns:
- Result of the DeleteBillingGroup operation returned by the service.
- See Also:
-
deleteBillingGroup
default DeleteBillingGroupResponse deleteBillingGroup(Consumer<DeleteBillingGroupRequest.Builder> deleteBillingGroupRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException Deletes a billing group.
This is a convenience which creates an instance of the
DeleteBillingGroupRequest.Builderavoiding the need to create one manually viaDeleteBillingGroupRequest.builder()- Parameters:
deleteBillingGroupRequest- AConsumerthat will call methods onDeleteBillingGroupRequest.Builderto create a request.- Returns:
- Result of the DeleteBillingGroup operation returned by the service.
- See Also:
-
deleteCustomLineItem
default DeleteCustomLineItemResponse deleteCustomLineItem(DeleteCustomLineItemRequest deleteCustomLineItemRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException Deletes the custom line item identified by the given ARN in the current, or previous billing period.
- Parameters:
deleteCustomLineItemRequest-- Returns:
- Result of the DeleteCustomLineItem operation returned by the service.
- See Also:
-
deleteCustomLineItem
default DeleteCustomLineItemResponse deleteCustomLineItem(Consumer<DeleteCustomLineItemRequest.Builder> deleteCustomLineItemRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException Deletes the custom line item identified by the given ARN in the current, or previous billing period.
This is a convenience which creates an instance of the
DeleteCustomLineItemRequest.Builderavoiding the need to create one manually viaDeleteCustomLineItemRequest.builder()- Parameters:
deleteCustomLineItemRequest- AConsumerthat will call methods onDeleteCustomLineItemRequest.Builderto create a request.- Returns:
- Result of the DeleteCustomLineItem operation returned by the service.
- See Also:
-
deletePricingPlan
default DeletePricingPlanResponse deletePricingPlan(DeletePricingPlanRequest deletePricingPlanRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException Deletes a pricing plan. The pricing plan must not be associated with any billing groups to delete successfully.
- Parameters:
deletePricingPlanRequest-- Returns:
- Result of the DeletePricingPlan operation returned by the service.
- See Also:
-
deletePricingPlan
default DeletePricingPlanResponse deletePricingPlan(Consumer<DeletePricingPlanRequest.Builder> deletePricingPlanRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException Deletes a pricing plan. The pricing plan must not be associated with any billing groups to delete successfully.
This is a convenience which creates an instance of the
DeletePricingPlanRequest.Builderavoiding the need to create one manually viaDeletePricingPlanRequest.builder()- Parameters:
deletePricingPlanRequest- AConsumerthat will call methods onDeletePricingPlanRequest.Builderto create a request.- Returns:
- Result of the DeletePricingPlan operation returned by the service.
- See Also:
-
deletePricingRule
default DeletePricingRuleResponse deletePricingRule(DeletePricingRuleRequest deletePricingRuleRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException Deletes the pricing rule that's identified by the input Amazon Resource Name (ARN).
- Parameters:
deletePricingRuleRequest-- Returns:
- Result of the DeletePricingRule operation returned by the service.
- See Also:
-
deletePricingRule
default DeletePricingRuleResponse deletePricingRule(Consumer<DeletePricingRuleRequest.Builder> deletePricingRuleRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException Deletes the pricing rule that's identified by the input Amazon Resource Name (ARN).
This is a convenience which creates an instance of the
DeletePricingRuleRequest.Builderavoiding the need to create one manually viaDeletePricingRuleRequest.builder()- Parameters:
deletePricingRuleRequest- AConsumerthat will call methods onDeletePricingRuleRequest.Builderto create a request.- Returns:
- Result of the DeletePricingRule operation returned by the service.
- See Also:
-
disassociateAccounts
default DisassociateAccountsResponse disassociateAccounts(DisassociateAccountsRequest disassociateAccountsRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException Removes the specified list of account IDs from the given billing group.
- Parameters:
disassociateAccountsRequest-- Returns:
- Result of the DisassociateAccounts operation returned by the service.
- See Also:
-
disassociateAccounts
default DisassociateAccountsResponse disassociateAccounts(Consumer<DisassociateAccountsRequest.Builder> disassociateAccountsRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException Removes the specified list of account IDs from the given billing group.
This is a convenience which creates an instance of the
DisassociateAccountsRequest.Builderavoiding the need to create one manually viaDisassociateAccountsRequest.builder()- Parameters:
disassociateAccountsRequest- AConsumerthat will call methods onDisassociateAccountsRequest.Builderto create a request.- Returns:
- Result of the DisassociateAccounts operation returned by the service.
- See Also:
-
disassociatePricingRules
default DisassociatePricingRulesResponse disassociatePricingRules(DisassociatePricingRulesRequest disassociatePricingRulesRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException Disassociates a list of pricing rules from a pricing plan.
- Parameters:
disassociatePricingRulesRequest-- Returns:
- Result of the DisassociatePricingRules operation returned by the service.
- See Also:
-
disassociatePricingRules
default DisassociatePricingRulesResponse disassociatePricingRules(Consumer<DisassociatePricingRulesRequest.Builder> disassociatePricingRulesRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException Disassociates a list of pricing rules from a pricing plan.
This is a convenience which creates an instance of the
DisassociatePricingRulesRequest.Builderavoiding the need to create one manually viaDisassociatePricingRulesRequest.builder()- Parameters:
disassociatePricingRulesRequest- AConsumerthat will call methods onDisassociatePricingRulesRequest.Builderto create a request.- Returns:
- Result of the DisassociatePricingRules operation returned by the service.
- See Also:
-
getBillingGroupCostReport
default GetBillingGroupCostReportResponse getBillingGroupCostReport(GetBillingGroupCostReportRequest getBillingGroupCostReportRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException Retrieves the margin summary report, which includes the Amazon Web Services cost and charged amount (pro forma cost) by Amazon Web Service for a specific billing group.
- Parameters:
getBillingGroupCostReportRequest-- Returns:
- Result of the GetBillingGroupCostReport operation returned by the service.
- See Also:
-
getBillingGroupCostReport
default GetBillingGroupCostReportResponse getBillingGroupCostReport(Consumer<GetBillingGroupCostReportRequest.Builder> getBillingGroupCostReportRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException Retrieves the margin summary report, which includes the Amazon Web Services cost and charged amount (pro forma cost) by Amazon Web Service for a specific billing group.
This is a convenience which creates an instance of the
GetBillingGroupCostReportRequest.Builderavoiding the need to create one manually viaGetBillingGroupCostReportRequest.builder()- Parameters:
getBillingGroupCostReportRequest- AConsumerthat will call methods onGetBillingGroupCostReportRequest.Builderto create a request.- Returns:
- Result of the GetBillingGroupCostReport operation returned by the service.
- See Also:
-
listAccountAssociations
default ListAccountAssociationsResponse listAccountAssociations(ListAccountAssociationsRequest listAccountAssociationsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException This is a paginated call to list linked accounts that are linked to the payer account for the specified time period. If no information is provided, the current billing period is used. The response will optionally include the billing group that's associated with the linked account.
- Parameters:
listAccountAssociationsRequest-- Returns:
- Result of the ListAccountAssociations operation returned by the service.
- See Also:
-
listAccountAssociations
default ListAccountAssociationsResponse listAccountAssociations(Consumer<ListAccountAssociationsRequest.Builder> listAccountAssociationsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException This is a paginated call to list linked accounts that are linked to the payer account for the specified time period. If no information is provided, the current billing period is used. The response will optionally include the billing group that's associated with the linked account.
This is a convenience which creates an instance of the
ListAccountAssociationsRequest.Builderavoiding the need to create one manually viaListAccountAssociationsRequest.builder()- Parameters:
listAccountAssociationsRequest- AConsumerthat will call methods onListAccountAssociationsRequest.Builderto create a request.- Returns:
- Result of the ListAccountAssociations operation returned by the service.
- See Also:
-
listAccountAssociationsPaginator
default ListAccountAssociationsIterable listAccountAssociationsPaginator(ListAccountAssociationsRequest listAccountAssociationsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException This is a variant of
listAccountAssociations(software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListAccountAssociationsIterable responses = client.listAccountAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListAccountAssociationsIterable responses = client .listAccountAssociationsPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListAccountAssociationsIterable responses = client.listAccountAssociationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccountAssociations(software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsRequest)operation.- Parameters:
listAccountAssociationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAccountAssociationsPaginator
default ListAccountAssociationsIterable listAccountAssociationsPaginator(Consumer<ListAccountAssociationsRequest.Builder> listAccountAssociationsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException This is a variant of
listAccountAssociations(software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListAccountAssociationsIterable responses = client.listAccountAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListAccountAssociationsIterable responses = client .listAccountAssociationsPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListAccountAssociationsIterable responses = client.listAccountAssociationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccountAssociations(software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsRequest)operation.
This is a convenience which creates an instance of the
ListAccountAssociationsRequest.Builderavoiding the need to create one manually viaListAccountAssociationsRequest.builder()- Parameters:
listAccountAssociationsRequest- AConsumerthat will call methods onListAccountAssociationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBillingGroupCostReports
default ListBillingGroupCostReportsResponse listBillingGroupCostReports(ListBillingGroupCostReportsRequest listBillingGroupCostReportsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException A paginated call to retrieve a summary report of actual Amazon Web Services charges and the calculated Amazon Web Services charges based on the associated pricing plan of a billing group.
- Parameters:
listBillingGroupCostReportsRequest-- Returns:
- Result of the ListBillingGroupCostReports operation returned by the service.
- See Also:
-
listBillingGroupCostReports
default ListBillingGroupCostReportsResponse listBillingGroupCostReports(Consumer<ListBillingGroupCostReportsRequest.Builder> listBillingGroupCostReportsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException A paginated call to retrieve a summary report of actual Amazon Web Services charges and the calculated Amazon Web Services charges based on the associated pricing plan of a billing group.
This is a convenience which creates an instance of the
ListBillingGroupCostReportsRequest.Builderavoiding the need to create one manually viaListBillingGroupCostReportsRequest.builder()- Parameters:
listBillingGroupCostReportsRequest- AConsumerthat will call methods onListBillingGroupCostReportsRequest.Builderto create a request.- Returns:
- Result of the ListBillingGroupCostReports operation returned by the service.
- See Also:
-
listBillingGroupCostReportsPaginator
default ListBillingGroupCostReportsIterable listBillingGroupCostReportsPaginator(ListBillingGroupCostReportsRequest listBillingGroupCostReportsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException This is a variant of
listBillingGroupCostReports(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupCostReportsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupCostReportsIterable responses = client.listBillingGroupCostReportsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupCostReportsIterable responses = client .listBillingGroupCostReportsPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListBillingGroupCostReportsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupCostReportsIterable responses = client.listBillingGroupCostReportsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBillingGroupCostReports(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupCostReportsRequest)operation.- Parameters:
listBillingGroupCostReportsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBillingGroupCostReportsPaginator
default ListBillingGroupCostReportsIterable listBillingGroupCostReportsPaginator(Consumer<ListBillingGroupCostReportsRequest.Builder> listBillingGroupCostReportsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException This is a variant of
listBillingGroupCostReports(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupCostReportsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupCostReportsIterable responses = client.listBillingGroupCostReportsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupCostReportsIterable responses = client .listBillingGroupCostReportsPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListBillingGroupCostReportsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupCostReportsIterable responses = client.listBillingGroupCostReportsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBillingGroupCostReports(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupCostReportsRequest)operation.
This is a convenience which creates an instance of the
ListBillingGroupCostReportsRequest.Builderavoiding the need to create one manually viaListBillingGroupCostReportsRequest.builder()- Parameters:
listBillingGroupCostReportsRequest- AConsumerthat will call methods onListBillingGroupCostReportsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBillingGroups
default ListBillingGroupsResponse listBillingGroups(ListBillingGroupsRequest listBillingGroupsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException A paginated call to retrieve a list of billing groups for the given billing period. If you don't provide a billing group, the current billing period is used.
- Parameters:
listBillingGroupsRequest-- Returns:
- Result of the ListBillingGroups operation returned by the service.
- See Also:
-
listBillingGroups
default ListBillingGroupsResponse listBillingGroups(Consumer<ListBillingGroupsRequest.Builder> listBillingGroupsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException A paginated call to retrieve a list of billing groups for the given billing period. If you don't provide a billing group, the current billing period is used.
This is a convenience which creates an instance of the
ListBillingGroupsRequest.Builderavoiding the need to create one manually viaListBillingGroupsRequest.builder()- Parameters:
listBillingGroupsRequest- AConsumerthat will call methods onListBillingGroupsRequest.Builderto create a request.- Returns:
- Result of the ListBillingGroups operation returned by the service.
- See Also:
-
listBillingGroupsPaginator
default ListBillingGroupsIterable listBillingGroupsPaginator(ListBillingGroupsRequest listBillingGroupsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException This is a variant of
listBillingGroups(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupsIterable responses = client.listBillingGroupsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupsIterable responses = client .listBillingGroupsPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListBillingGroupsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupsIterable responses = client.listBillingGroupsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBillingGroups(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupsRequest)operation.- Parameters:
listBillingGroupsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBillingGroupsPaginator
default ListBillingGroupsIterable listBillingGroupsPaginator(Consumer<ListBillingGroupsRequest.Builder> listBillingGroupsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException This is a variant of
listBillingGroups(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupsIterable responses = client.listBillingGroupsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupsIterable responses = client .listBillingGroupsPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListBillingGroupsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupsIterable responses = client.listBillingGroupsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBillingGroups(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupsRequest)operation.
This is a convenience which creates an instance of the
ListBillingGroupsRequest.Builderavoiding the need to create one manually viaListBillingGroupsRequest.builder()- Parameters:
listBillingGroupsRequest- AConsumerthat will call methods onListBillingGroupsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCustomLineItemVersions
default ListCustomLineItemVersionsResponse listCustomLineItemVersions(ListCustomLineItemVersionsRequest listCustomLineItemVersionsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException A paginated call to get a list of all custom line item versions.
- Parameters:
listCustomLineItemVersionsRequest-- Returns:
- Result of the ListCustomLineItemVersions operation returned by the service.
- See Also:
-
listCustomLineItemVersions
default ListCustomLineItemVersionsResponse listCustomLineItemVersions(Consumer<ListCustomLineItemVersionsRequest.Builder> listCustomLineItemVersionsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException A paginated call to get a list of all custom line item versions.
This is a convenience which creates an instance of the
ListCustomLineItemVersionsRequest.Builderavoiding the need to create one manually viaListCustomLineItemVersionsRequest.builder()- Parameters:
listCustomLineItemVersionsRequest- AConsumerthat will call methods onListCustomLineItemVersionsRequest.Builderto create a request.- Returns:
- Result of the ListCustomLineItemVersions operation returned by the service.
- See Also:
-
listCustomLineItemVersionsPaginator
default ListCustomLineItemVersionsIterable listCustomLineItemVersionsPaginator(ListCustomLineItemVersionsRequest listCustomLineItemVersionsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException This is a variant of
listCustomLineItemVersions(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemVersionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemVersionsIterable responses = client.listCustomLineItemVersionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemVersionsIterable responses = client .listCustomLineItemVersionsPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemVersionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemVersionsIterable responses = client.listCustomLineItemVersionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomLineItemVersions(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemVersionsRequest)operation.- Parameters:
listCustomLineItemVersionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCustomLineItemVersionsPaginator
default ListCustomLineItemVersionsIterable listCustomLineItemVersionsPaginator(Consumer<ListCustomLineItemVersionsRequest.Builder> listCustomLineItemVersionsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException This is a variant of
listCustomLineItemVersions(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemVersionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemVersionsIterable responses = client.listCustomLineItemVersionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemVersionsIterable responses = client .listCustomLineItemVersionsPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemVersionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemVersionsIterable responses = client.listCustomLineItemVersionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomLineItemVersions(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemVersionsRequest)operation.
This is a convenience which creates an instance of the
ListCustomLineItemVersionsRequest.Builderavoiding the need to create one manually viaListCustomLineItemVersionsRequest.builder()- Parameters:
listCustomLineItemVersionsRequest- AConsumerthat will call methods onListCustomLineItemVersionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCustomLineItems
default ListCustomLineItemsResponse listCustomLineItems(ListCustomLineItemsRequest listCustomLineItemsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException A paginated call to get a list of all custom line items (FFLIs) for the given billing period. If you don't provide a billing period, the current billing period is used.
- Parameters:
listCustomLineItemsRequest-- Returns:
- Result of the ListCustomLineItems operation returned by the service.
- See Also:
-
listCustomLineItems
default ListCustomLineItemsResponse listCustomLineItems(Consumer<ListCustomLineItemsRequest.Builder> listCustomLineItemsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException A paginated call to get a list of all custom line items (FFLIs) for the given billing period. If you don't provide a billing period, the current billing period is used.
This is a convenience which creates an instance of the
ListCustomLineItemsRequest.Builderavoiding the need to create one manually viaListCustomLineItemsRequest.builder()- Parameters:
listCustomLineItemsRequest- AConsumerthat will call methods onListCustomLineItemsRequest.Builderto create a request.- Returns:
- Result of the ListCustomLineItems operation returned by the service.
- See Also:
-
listCustomLineItemsPaginator
default ListCustomLineItemsIterable listCustomLineItemsPaginator(ListCustomLineItemsRequest listCustomLineItemsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException This is a variant of
listCustomLineItems(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemsIterable responses = client.listCustomLineItemsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemsIterable responses = client .listCustomLineItemsPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemsIterable responses = client.listCustomLineItemsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomLineItems(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemsRequest)operation.- Parameters:
listCustomLineItemsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCustomLineItemsPaginator
default ListCustomLineItemsIterable listCustomLineItemsPaginator(Consumer<ListCustomLineItemsRequest.Builder> listCustomLineItemsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException This is a variant of
listCustomLineItems(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemsIterable responses = client.listCustomLineItemsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemsIterable responses = client .listCustomLineItemsPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemsIterable responses = client.listCustomLineItemsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomLineItems(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemsRequest)operation.
This is a convenience which creates an instance of the
ListCustomLineItemsRequest.Builderavoiding the need to create one manually viaListCustomLineItemsRequest.builder()- Parameters:
listCustomLineItemsRequest- AConsumerthat will call methods onListCustomLineItemsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPricingPlans
default ListPricingPlansResponse listPricingPlans(ListPricingPlansRequest listPricingPlansRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException A paginated call to get pricing plans for the given billing period. If you don't provide a billing period, the current billing period is used.
- Parameters:
listPricingPlansRequest-- Returns:
- Result of the ListPricingPlans operation returned by the service.
- See Also:
-
listPricingPlans
default ListPricingPlansResponse listPricingPlans(Consumer<ListPricingPlansRequest.Builder> listPricingPlansRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException A paginated call to get pricing plans for the given billing period. If you don't provide a billing period, the current billing period is used.
This is a convenience which creates an instance of the
ListPricingPlansRequest.Builderavoiding the need to create one manually viaListPricingPlansRequest.builder()- Parameters:
listPricingPlansRequest- AConsumerthat will call methods onListPricingPlansRequest.Builderto create a request.- Returns:
- Result of the ListPricingPlans operation returned by the service.
- See Also:
-
listPricingPlansPaginator
default ListPricingPlansIterable listPricingPlansPaginator(ListPricingPlansRequest listPricingPlansRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException This is a variant of
listPricingPlans(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansIterable responses = client.listPricingPlansPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansIterable responses = client .listPricingPlansPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListPricingPlansResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansIterable responses = client.listPricingPlansPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPricingPlans(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansRequest)operation.- Parameters:
listPricingPlansRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPricingPlansPaginator
default ListPricingPlansIterable listPricingPlansPaginator(Consumer<ListPricingPlansRequest.Builder> listPricingPlansRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException This is a variant of
listPricingPlans(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansIterable responses = client.listPricingPlansPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansIterable responses = client .listPricingPlansPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListPricingPlansResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansIterable responses = client.listPricingPlansPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPricingPlans(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansRequest)operation.
This is a convenience which creates an instance of the
ListPricingPlansRequest.Builderavoiding the need to create one manually viaListPricingPlansRequest.builder()- Parameters:
listPricingPlansRequest- AConsumerthat will call methods onListPricingPlansRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPricingPlansAssociatedWithPricingRule
default ListPricingPlansAssociatedWithPricingRuleResponse listPricingPlansAssociatedWithPricingRule(ListPricingPlansAssociatedWithPricingRuleRequest listPricingPlansAssociatedWithPricingRuleRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException A list of the pricing plans that are associated with a pricing rule.
- Parameters:
listPricingPlansAssociatedWithPricingRuleRequest-- Returns:
- Result of the ListPricingPlansAssociatedWithPricingRule operation returned by the service.
- See Also:
-
listPricingPlansAssociatedWithPricingRule
default ListPricingPlansAssociatedWithPricingRuleResponse listPricingPlansAssociatedWithPricingRule(Consumer<ListPricingPlansAssociatedWithPricingRuleRequest.Builder> listPricingPlansAssociatedWithPricingRuleRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException A list of the pricing plans that are associated with a pricing rule.
This is a convenience which creates an instance of the
ListPricingPlansAssociatedWithPricingRuleRequest.Builderavoiding the need to create one manually viaListPricingPlansAssociatedWithPricingRuleRequest.builder()- Parameters:
listPricingPlansAssociatedWithPricingRuleRequest- AConsumerthat will call methods onListPricingPlansAssociatedWithPricingRuleRequest.Builderto create a request.- Returns:
- Result of the ListPricingPlansAssociatedWithPricingRule operation returned by the service.
- See Also:
-
listPricingPlansAssociatedWithPricingRulePaginator
default ListPricingPlansAssociatedWithPricingRuleIterable listPricingPlansAssociatedWithPricingRulePaginator(ListPricingPlansAssociatedWithPricingRuleRequest listPricingPlansAssociatedWithPricingRuleRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException This is a variant of
listPricingPlansAssociatedWithPricingRule(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansAssociatedWithPricingRuleRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansAssociatedWithPricingRuleIterable responses = client.listPricingPlansAssociatedWithPricingRulePaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansAssociatedWithPricingRuleIterable responses = client .listPricingPlansAssociatedWithPricingRulePaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListPricingPlansAssociatedWithPricingRuleResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansAssociatedWithPricingRuleIterable responses = client.listPricingPlansAssociatedWithPricingRulePaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPricingPlansAssociatedWithPricingRule(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansAssociatedWithPricingRuleRequest)operation.- Parameters:
listPricingPlansAssociatedWithPricingRuleRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPricingPlansAssociatedWithPricingRulePaginator
default ListPricingPlansAssociatedWithPricingRuleIterable listPricingPlansAssociatedWithPricingRulePaginator(Consumer<ListPricingPlansAssociatedWithPricingRuleRequest.Builder> listPricingPlansAssociatedWithPricingRuleRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException This is a variant of
listPricingPlansAssociatedWithPricingRule(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansAssociatedWithPricingRuleRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansAssociatedWithPricingRuleIterable responses = client.listPricingPlansAssociatedWithPricingRulePaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansAssociatedWithPricingRuleIterable responses = client .listPricingPlansAssociatedWithPricingRulePaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListPricingPlansAssociatedWithPricingRuleResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansAssociatedWithPricingRuleIterable responses = client.listPricingPlansAssociatedWithPricingRulePaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPricingPlansAssociatedWithPricingRule(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansAssociatedWithPricingRuleRequest)operation.
This is a convenience which creates an instance of the
ListPricingPlansAssociatedWithPricingRuleRequest.Builderavoiding the need to create one manually viaListPricingPlansAssociatedWithPricingRuleRequest.builder()- Parameters:
listPricingPlansAssociatedWithPricingRuleRequest- AConsumerthat will call methods onListPricingPlansAssociatedWithPricingRuleRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPricingRules
default ListPricingRulesResponse listPricingRules(ListPricingRulesRequest listPricingRulesRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException Describes a pricing rule that can be associated to a pricing plan, or set of pricing plans.
- Parameters:
listPricingRulesRequest-- Returns:
- Result of the ListPricingRules operation returned by the service.
- See Also:
-
listPricingRules
default ListPricingRulesResponse listPricingRules(Consumer<ListPricingRulesRequest.Builder> listPricingRulesRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException Describes a pricing rule that can be associated to a pricing plan, or set of pricing plans.
This is a convenience which creates an instance of the
ListPricingRulesRequest.Builderavoiding the need to create one manually viaListPricingRulesRequest.builder()- Parameters:
listPricingRulesRequest- AConsumerthat will call methods onListPricingRulesRequest.Builderto create a request.- Returns:
- Result of the ListPricingRules operation returned by the service.
- See Also:
-
listPricingRulesPaginator
default ListPricingRulesIterable listPricingRulesPaginator(ListPricingRulesRequest listPricingRulesRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException This is a variant of
listPricingRules(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesIterable responses = client.listPricingRulesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesIterable responses = client .listPricingRulesPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListPricingRulesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesIterable responses = client.listPricingRulesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPricingRules(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesRequest)operation.- Parameters:
listPricingRulesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPricingRulesPaginator
default ListPricingRulesIterable listPricingRulesPaginator(Consumer<ListPricingRulesRequest.Builder> listPricingRulesRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException This is a variant of
listPricingRules(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesIterable responses = client.listPricingRulesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesIterable responses = client .listPricingRulesPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListPricingRulesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesIterable responses = client.listPricingRulesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPricingRules(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesRequest)operation.
This is a convenience which creates an instance of the
ListPricingRulesRequest.Builderavoiding the need to create one manually viaListPricingRulesRequest.builder()- Parameters:
listPricingRulesRequest- AConsumerthat will call methods onListPricingRulesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPricingRulesAssociatedToPricingPlan
default ListPricingRulesAssociatedToPricingPlanResponse listPricingRulesAssociatedToPricingPlan(ListPricingRulesAssociatedToPricingPlanRequest listPricingRulesAssociatedToPricingPlanRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException Lists the pricing rules that are associated with a pricing plan.
- Parameters:
listPricingRulesAssociatedToPricingPlanRequest-- Returns:
- Result of the ListPricingRulesAssociatedToPricingPlan operation returned by the service.
- See Also:
-
listPricingRulesAssociatedToPricingPlan
default ListPricingRulesAssociatedToPricingPlanResponse listPricingRulesAssociatedToPricingPlan(Consumer<ListPricingRulesAssociatedToPricingPlanRequest.Builder> listPricingRulesAssociatedToPricingPlanRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException Lists the pricing rules that are associated with a pricing plan.
This is a convenience which creates an instance of the
ListPricingRulesAssociatedToPricingPlanRequest.Builderavoiding the need to create one manually viaListPricingRulesAssociatedToPricingPlanRequest.builder()- Parameters:
listPricingRulesAssociatedToPricingPlanRequest- AConsumerthat will call methods onListPricingRulesAssociatedToPricingPlanRequest.Builderto create a request.- Returns:
- Result of the ListPricingRulesAssociatedToPricingPlan operation returned by the service.
- See Also:
-
listPricingRulesAssociatedToPricingPlanPaginator
default ListPricingRulesAssociatedToPricingPlanIterable listPricingRulesAssociatedToPricingPlanPaginator(ListPricingRulesAssociatedToPricingPlanRequest listPricingRulesAssociatedToPricingPlanRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException This is a variant of
listPricingRulesAssociatedToPricingPlan(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesAssociatedToPricingPlanRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesAssociatedToPricingPlanIterable responses = client.listPricingRulesAssociatedToPricingPlanPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesAssociatedToPricingPlanIterable responses = client .listPricingRulesAssociatedToPricingPlanPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListPricingRulesAssociatedToPricingPlanResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesAssociatedToPricingPlanIterable responses = client.listPricingRulesAssociatedToPricingPlanPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPricingRulesAssociatedToPricingPlan(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesAssociatedToPricingPlanRequest)operation.- Parameters:
listPricingRulesAssociatedToPricingPlanRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPricingRulesAssociatedToPricingPlanPaginator
default ListPricingRulesAssociatedToPricingPlanIterable listPricingRulesAssociatedToPricingPlanPaginator(Consumer<ListPricingRulesAssociatedToPricingPlanRequest.Builder> listPricingRulesAssociatedToPricingPlanRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException This is a variant of
listPricingRulesAssociatedToPricingPlan(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesAssociatedToPricingPlanRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesAssociatedToPricingPlanIterable responses = client.listPricingRulesAssociatedToPricingPlanPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesAssociatedToPricingPlanIterable responses = client .listPricingRulesAssociatedToPricingPlanPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListPricingRulesAssociatedToPricingPlanResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesAssociatedToPricingPlanIterable responses = client.listPricingRulesAssociatedToPricingPlanPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPricingRulesAssociatedToPricingPlan(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesAssociatedToPricingPlanRequest)operation.
This is a convenience which creates an instance of the
ListPricingRulesAssociatedToPricingPlanRequest.Builderavoiding the need to create one manually viaListPricingRulesAssociatedToPricingPlanRequest.builder()- Parameters:
listPricingRulesAssociatedToPricingPlanRequest- AConsumerthat will call methods onListPricingRulesAssociatedToPricingPlanRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listResourcesAssociatedToCustomLineItem
default ListResourcesAssociatedToCustomLineItemResponse listResourcesAssociatedToCustomLineItem(ListResourcesAssociatedToCustomLineItemRequest listResourcesAssociatedToCustomLineItemRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException List the resources that are associated to a custom line item.
- Parameters:
listResourcesAssociatedToCustomLineItemRequest-- Returns:
- Result of the ListResourcesAssociatedToCustomLineItem operation returned by the service.
- See Also:
-
listResourcesAssociatedToCustomLineItem
default ListResourcesAssociatedToCustomLineItemResponse listResourcesAssociatedToCustomLineItem(Consumer<ListResourcesAssociatedToCustomLineItemRequest.Builder> listResourcesAssociatedToCustomLineItemRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException List the resources that are associated to a custom line item.
This is a convenience which creates an instance of the
ListResourcesAssociatedToCustomLineItemRequest.Builderavoiding the need to create one manually viaListResourcesAssociatedToCustomLineItemRequest.builder()- Parameters:
listResourcesAssociatedToCustomLineItemRequest- AConsumerthat will call methods onListResourcesAssociatedToCustomLineItemRequest.Builderto create a request.- Returns:
- Result of the ListResourcesAssociatedToCustomLineItem operation returned by the service.
- See Also:
-
listResourcesAssociatedToCustomLineItemPaginator
default ListResourcesAssociatedToCustomLineItemIterable listResourcesAssociatedToCustomLineItemPaginator(ListResourcesAssociatedToCustomLineItemRequest listResourcesAssociatedToCustomLineItemRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException This is a variant of
listResourcesAssociatedToCustomLineItem(software.amazon.awssdk.services.billingconductor.model.ListResourcesAssociatedToCustomLineItemRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListResourcesAssociatedToCustomLineItemIterable responses = client.listResourcesAssociatedToCustomLineItemPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListResourcesAssociatedToCustomLineItemIterable responses = client .listResourcesAssociatedToCustomLineItemPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListResourcesAssociatedToCustomLineItemResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListResourcesAssociatedToCustomLineItemIterable responses = client.listResourcesAssociatedToCustomLineItemPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResourcesAssociatedToCustomLineItem(software.amazon.awssdk.services.billingconductor.model.ListResourcesAssociatedToCustomLineItemRequest)operation.- Parameters:
listResourcesAssociatedToCustomLineItemRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listResourcesAssociatedToCustomLineItemPaginator
default ListResourcesAssociatedToCustomLineItemIterable listResourcesAssociatedToCustomLineItemPaginator(Consumer<ListResourcesAssociatedToCustomLineItemRequest.Builder> listResourcesAssociatedToCustomLineItemRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException This is a variant of
listResourcesAssociatedToCustomLineItem(software.amazon.awssdk.services.billingconductor.model.ListResourcesAssociatedToCustomLineItemRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListResourcesAssociatedToCustomLineItemIterable responses = client.listResourcesAssociatedToCustomLineItemPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListResourcesAssociatedToCustomLineItemIterable responses = client .listResourcesAssociatedToCustomLineItemPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListResourcesAssociatedToCustomLineItemResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListResourcesAssociatedToCustomLineItemIterable responses = client.listResourcesAssociatedToCustomLineItemPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResourcesAssociatedToCustomLineItem(software.amazon.awssdk.services.billingconductor.model.ListResourcesAssociatedToCustomLineItemRequest)operation.
This is a convenience which creates an instance of the
ListResourcesAssociatedToCustomLineItemRequest.Builderavoiding the need to create one manually viaListResourcesAssociatedToCustomLineItemRequest.builder()- Parameters:
listResourcesAssociatedToCustomLineItemRequest- AConsumerthat will call methods onListResourcesAssociatedToCustomLineItemRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException A list the tags for a resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException A list the tags for a resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException Associates the specified tags to a resource with the specified
resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed.- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException Associates the specified tags to a resource with the specified
resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException Deletes specified tags from a resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException Deletes specified tags from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateBillingGroup
default UpdateBillingGroupResponse updateBillingGroup(UpdateBillingGroupRequest updateBillingGroupRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException This updates an existing billing group.
- Parameters:
updateBillingGroupRequest-- Returns:
- Result of the UpdateBillingGroup operation returned by the service.
- See Also:
-
updateBillingGroup
default UpdateBillingGroupResponse updateBillingGroup(Consumer<UpdateBillingGroupRequest.Builder> updateBillingGroupRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException This updates an existing billing group.
This is a convenience which creates an instance of the
UpdateBillingGroupRequest.Builderavoiding the need to create one manually viaUpdateBillingGroupRequest.builder()- Parameters:
updateBillingGroupRequest- AConsumerthat will call methods onUpdateBillingGroupRequest.Builderto create a request.- Returns:
- Result of the UpdateBillingGroup operation returned by the service.
- See Also:
-
updateCustomLineItem
default UpdateCustomLineItemResponse updateCustomLineItem(UpdateCustomLineItemRequest updateCustomLineItemRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException Update an existing custom line item in the current or previous billing period.
- Parameters:
updateCustomLineItemRequest-- Returns:
- Result of the UpdateCustomLineItem operation returned by the service.
- See Also:
-
updateCustomLineItem
default UpdateCustomLineItemResponse updateCustomLineItem(Consumer<UpdateCustomLineItemRequest.Builder> updateCustomLineItemRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException Update an existing custom line item in the current or previous billing period.
This is a convenience which creates an instance of the
UpdateCustomLineItemRequest.Builderavoiding the need to create one manually viaUpdateCustomLineItemRequest.builder()- Parameters:
updateCustomLineItemRequest- AConsumerthat will call methods onUpdateCustomLineItemRequest.Builderto create a request.- Returns:
- Result of the UpdateCustomLineItem operation returned by the service.
- See Also:
-
updatePricingPlan
default UpdatePricingPlanResponse updatePricingPlan(UpdatePricingPlanRequest updatePricingPlanRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException This updates an existing pricing plan.
- Parameters:
updatePricingPlanRequest-- Returns:
- Result of the UpdatePricingPlan operation returned by the service.
- See Also:
-
updatePricingPlan
default UpdatePricingPlanResponse updatePricingPlan(Consumer<UpdatePricingPlanRequest.Builder> updatePricingPlanRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException This updates an existing pricing plan.
This is a convenience which creates an instance of the
UpdatePricingPlanRequest.Builderavoiding the need to create one manually viaUpdatePricingPlanRequest.builder()- Parameters:
updatePricingPlanRequest- AConsumerthat will call methods onUpdatePricingPlanRequest.Builderto create a request.- Returns:
- Result of the UpdatePricingPlan operation returned by the service.
- See Also:
-
updatePricingRule
default UpdatePricingRuleResponse updatePricingRule(UpdatePricingRuleRequest updatePricingRuleRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException Updates an existing pricing rule.
- Parameters:
updatePricingRuleRequest-- Returns:
- Result of the UpdatePricingRule operation returned by the service.
- See Also:
-
updatePricingRule
default UpdatePricingRuleResponse updatePricingRule(Consumer<UpdatePricingRuleRequest.Builder> updatePricingRuleRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException Updates an existing pricing rule.
This is a convenience which creates an instance of the
UpdatePricingRuleRequest.Builderavoiding the need to create one manually viaUpdatePricingRuleRequest.builder()- Parameters:
updatePricingRuleRequest- AConsumerthat will call methods onUpdatePricingRuleRequest.Builderto create a request.- Returns:
- Result of the UpdatePricingRule operation returned by the service.
- See Also:
-
create
Create aBillingconductorClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aBillingconductorClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-