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
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptiondefault AssociateAccountsResponse
associateAccounts
(Consumer<AssociateAccountsRequest.Builder> associateAccountsRequest) Connects an array of account IDs in a consolidated billing family to a predefined billing group.default AssociateAccountsResponse
associateAccounts
(AssociateAccountsRequest associateAccountsRequest) Connects an array of account IDs in a consolidated billing family to a predefined billing group.default AssociatePricingRulesResponse
associatePricingRules
(Consumer<AssociatePricingRulesRequest.Builder> associatePricingRulesRequest) Connects an array ofPricingRuleArns
to a definedPricingPlan
.default AssociatePricingRulesResponse
associatePricingRules
(AssociatePricingRulesRequest associatePricingRulesRequest) Connects an array ofPricingRuleArns
to 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 BillingconductorClient
create()
Create aBillingconductorClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateBillingGroupResponse
createBillingGroup
(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 CreateBillingGroupResponse
createBillingGroup
(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 CreateCustomLineItemResponse
createCustomLineItem
(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 CreateCustomLineItemResponse
createCustomLineItem
(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 CreatePricingPlanResponse
createPricingPlan
(Consumer<CreatePricingPlanRequest.Builder> createPricingPlanRequest) Creates a pricing plan that is used for computing Amazon Web Services charges for billing groups.default CreatePricingPlanResponse
createPricingPlan
(CreatePricingPlanRequest createPricingPlanRequest) Creates a pricing plan that is used for computing Amazon Web Services charges for billing groups.default CreatePricingRuleResponse
createPricingRule
(Consumer<CreatePricingRuleRequest.Builder> createPricingRuleRequest) Creates a pricing rule can be associated to a pricing plan, or a set of pricing plans.default CreatePricingRuleResponse
createPricingRule
(CreatePricingRuleRequest createPricingRuleRequest) Creates a pricing rule can be associated to a pricing plan, or a set of pricing plans.default DeleteBillingGroupResponse
deleteBillingGroup
(Consumer<DeleteBillingGroupRequest.Builder> deleteBillingGroupRequest) Deletes a billing group.default DeleteBillingGroupResponse
deleteBillingGroup
(DeleteBillingGroupRequest deleteBillingGroupRequest) Deletes a billing group.default DeleteCustomLineItemResponse
deleteCustomLineItem
(Consumer<DeleteCustomLineItemRequest.Builder> deleteCustomLineItemRequest) Deletes the custom line item identified by the given ARN in the current, or previous billing period.default DeleteCustomLineItemResponse
deleteCustomLineItem
(DeleteCustomLineItemRequest deleteCustomLineItemRequest) Deletes the custom line item identified by the given ARN in the current, or previous billing period.default DeletePricingPlanResponse
deletePricingPlan
(Consumer<DeletePricingPlanRequest.Builder> deletePricingPlanRequest) Deletes a pricing plan.default DeletePricingPlanResponse
deletePricingPlan
(DeletePricingPlanRequest deletePricingPlanRequest) Deletes a pricing plan.default DeletePricingRuleResponse
deletePricingRule
(Consumer<DeletePricingRuleRequest.Builder> deletePricingRuleRequest) Deletes the pricing rule that's identified by the input Amazon Resource Name (ARN).default DeletePricingRuleResponse
deletePricingRule
(DeletePricingRuleRequest deletePricingRuleRequest) Deletes the pricing rule that's identified by the input Amazon Resource Name (ARN).default DisassociateAccountsResponse
disassociateAccounts
(Consumer<DisassociateAccountsRequest.Builder> disassociateAccountsRequest) Removes the specified list of account IDs from the given billing group.default DisassociateAccountsResponse
disassociateAccounts
(DisassociateAccountsRequest disassociateAccountsRequest) Removes the specified list of account IDs from the given billing group.default DisassociatePricingRulesResponse
disassociatePricingRules
(Consumer<DisassociatePricingRulesRequest.Builder> disassociatePricingRulesRequest) Disassociates a list of pricing rules from a pricing plan.default DisassociatePricingRulesResponse
disassociatePricingRules
(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 ListAccountAssociationsResponse
listAccountAssociations
(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 ListAccountAssociationsResponse
listAccountAssociations
(ListAccountAssociationsRequest listAccountAssociationsRequest) This is a paginated call to list linked accounts that are linked to the payer account for the specified time period.default ListAccountAssociationsIterable
listAccountAssociationsPaginator
(Consumer<ListAccountAssociationsRequest.Builder> listAccountAssociationsRequest) This is a variant oflistAccountAssociations(software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsRequest)
operation.default ListAccountAssociationsIterable
listAccountAssociationsPaginator
(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 ListBillingGroupsResponse
listBillingGroups
(Consumer<ListBillingGroupsRequest.Builder> listBillingGroupsRequest) A paginated call to retrieve a list of billing groups for the given billing period.default ListBillingGroupsResponse
listBillingGroups
(ListBillingGroupsRequest listBillingGroupsRequest) A paginated call to retrieve a list of billing groups for the given billing period.default ListBillingGroupsIterable
listBillingGroupsPaginator
(Consumer<ListBillingGroupsRequest.Builder> listBillingGroupsRequest) This is a variant oflistBillingGroups(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupsRequest)
operation.default ListBillingGroupsIterable
listBillingGroupsPaginator
(ListBillingGroupsRequest listBillingGroupsRequest) This is a variant oflistBillingGroups(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupsRequest)
operation.default ListCustomLineItemsResponse
listCustomLineItems
(Consumer<ListCustomLineItemsRequest.Builder> listCustomLineItemsRequest) A paginated call to get a list of all custom line items (FFLIs) for the given billing period.default ListCustomLineItemsResponse
listCustomLineItems
(ListCustomLineItemsRequest listCustomLineItemsRequest) A paginated call to get a list of all custom line items (FFLIs) for the given billing period.default ListCustomLineItemsIterable
listCustomLineItemsPaginator
(Consumer<ListCustomLineItemsRequest.Builder> listCustomLineItemsRequest) This is a variant oflistCustomLineItems(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemsRequest)
operation.default ListCustomLineItemsIterable
listCustomLineItemsPaginator
(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 ListPricingPlansResponse
listPricingPlans
(Consumer<ListPricingPlansRequest.Builder> listPricingPlansRequest) A paginated call to get pricing plans for the given billing period.default ListPricingPlansResponse
listPricingPlans
(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 ListPricingPlansIterable
listPricingPlansPaginator
(Consumer<ListPricingPlansRequest.Builder> listPricingPlansRequest) This is a variant oflistPricingPlans(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansRequest)
operation.default ListPricingPlansIterable
listPricingPlansPaginator
(ListPricingPlansRequest listPricingPlansRequest) This is a variant oflistPricingPlans(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansRequest)
operation.default ListPricingRulesResponse
listPricingRules
(Consumer<ListPricingRulesRequest.Builder> listPricingRulesRequest) Describes a pricing rule that can be associated to a pricing plan, or set of pricing plans.default ListPricingRulesResponse
listPricingRules
(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 ListPricingRulesIterable
listPricingRulesPaginator
(Consumer<ListPricingRulesRequest.Builder> listPricingRulesRequest) This is a variant oflistPricingRules(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesRequest)
operation.default ListPricingRulesIterable
listPricingRulesPaginator
(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 ListTagsForResourceResponse
listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) A list the tags for a resource.default ListTagsForResourceResponse
listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) A list the tags for a resource.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
default TagResourceResponse
tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Associates the specified tags to a resource with the specifiedresourceArn
.default TagResourceResponse
tagResource
(TagResourceRequest tagResourceRequest) Associates the specified tags to a resource with the specifiedresourceArn
.default UntagResourceResponse
untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Deletes specified tags from a resource.default UntagResourceResponse
untagResource
(UntagResourceRequest untagResourceRequest) Deletes specified tags from a resource.default UpdateBillingGroupResponse
updateBillingGroup
(Consumer<UpdateBillingGroupRequest.Builder> updateBillingGroupRequest) This updates an existing billing group.default UpdateBillingGroupResponse
updateBillingGroup
(UpdateBillingGroupRequest updateBillingGroupRequest) This updates an existing billing group.default UpdateCustomLineItemResponse
updateCustomLineItem
(Consumer<UpdateCustomLineItemRequest.Builder> updateCustomLineItemRequest) Update an existing custom line item in the current or previous billing period.default UpdateCustomLineItemResponse
updateCustomLineItem
(UpdateCustomLineItemRequest updateCustomLineItemRequest) Update an existing custom line item in the current or previous billing period.default UpdatePricingPlanResponse
updatePricingPlan
(Consumer<UpdatePricingPlanRequest.Builder> updatePricingPlanRequest) This updates an existing pricing plan.default UpdatePricingPlanResponse
updatePricingPlan
(UpdatePricingPlanRequest updatePricingPlanRequest) This updates an existing pricing plan.default UpdatePricingRuleResponse
updatePricingRule
(Consumer<UpdatePricingRuleRequest.Builder> updatePricingRuleRequest) Updates an existing pricing rule.default UpdatePricingRuleResponse
updatePricingRule
(UpdatePricingRuleRequest updatePricingRuleRequest) Updates an existing pricing rule.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods 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.Builder
avoiding the need to create one manually viaAssociateAccountsRequest.builder()
- Parameters:
associateAccountsRequest
- AConsumer
that will call methods onAssociateAccountsRequest.Builder
to 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
PricingRuleArns
to a definedPricingPlan
. The maximum numberPricingRuleArn
that 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
PricingRuleArns
to a definedPricingPlan
. The maximum numberPricingRuleArn
that can be associated in one call is 30.
This is a convenience which creates an instance of the
AssociatePricingRulesRequest.Builder
avoiding the need to create one manually viaAssociatePricingRulesRequest.builder()
- Parameters:
associatePricingRulesRequest
- AConsumer
that will call methods onAssociatePricingRulesRequest.Builder
to 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.Builder
avoiding the need to create one manually viaBatchAssociateResourcesToCustomLineItemRequest.builder()
- Parameters:
batchAssociateResourcesToCustomLineItemRequest
- AConsumer
that will call methods onBatchAssociateResourcesToCustomLineItemRequest.Builder
to 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.Builder
avoiding the need to create one manually viaBatchDisassociateResourcesFromCustomLineItemRequest.builder()
- Parameters:
batchDisassociateResourcesFromCustomLineItemRequest
- AConsumer
that will call methods onBatchDisassociateResourcesFromCustomLineItemRequest.Builder
to 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.Builder
avoiding the need to create one manually viaCreateBillingGroupRequest.builder()
- Parameters:
createBillingGroupRequest
- AConsumer
that will call methods onCreateBillingGroupRequest.Builder
to 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.Builder
avoiding the need to create one manually viaCreateCustomLineItemRequest.builder()
- Parameters:
createCustomLineItemRequest
- AConsumer
that will call methods onCreateCustomLineItemRequest.Builder
to 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.Builder
avoiding the need to create one manually viaCreatePricingPlanRequest.builder()
- Parameters:
createPricingPlanRequest
- AConsumer
that will call methods onCreatePricingPlanRequest.Builder
to 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.Builder
avoiding the need to create one manually viaCreatePricingRuleRequest.builder()
- Parameters:
createPricingRuleRequest
- AConsumer
that will call methods onCreatePricingRuleRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDeleteBillingGroupRequest.builder()
- Parameters:
deleteBillingGroupRequest
- AConsumer
that will call methods onDeleteBillingGroupRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDeleteCustomLineItemRequest.builder()
- Parameters:
deleteCustomLineItemRequest
- AConsumer
that will call methods onDeleteCustomLineItemRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDeletePricingPlanRequest.builder()
- Parameters:
deletePricingPlanRequest
- AConsumer
that will call methods onDeletePricingPlanRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDeletePricingRuleRequest.builder()
- Parameters:
deletePricingRuleRequest
- AConsumer
that will call methods onDeletePricingRuleRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDisassociateAccountsRequest.builder()
- Parameters:
disassociateAccountsRequest
- AConsumer
that will call methods onDisassociateAccountsRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDisassociatePricingRulesRequest.builder()
- Parameters:
disassociatePricingRulesRequest
- AConsumer
that will call methods onDisassociatePricingRulesRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetBillingGroupCostReportRequest.builder()
- Parameters:
getBillingGroupCostReportRequest
- AConsumer
that will call methods onGetBillingGroupCostReportRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListAccountAssociationsRequest.builder()
- Parameters:
listAccountAssociationsRequest
- AConsumer
that will call methods onListAccountAssociationsRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListAccountAssociationsRequest.builder()
- Parameters:
listAccountAssociationsRequest
- AConsumer
that will call methods onListAccountAssociationsRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListBillingGroupCostReportsRequest.builder()
- Parameters:
listBillingGroupCostReportsRequest
- AConsumer
that will call methods onListBillingGroupCostReportsRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListBillingGroupCostReportsRequest.builder()
- Parameters:
listBillingGroupCostReportsRequest
- AConsumer
that will call methods onListBillingGroupCostReportsRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListBillingGroupsRequest.builder()
- Parameters:
listBillingGroupsRequest
- AConsumer
that will call methods onListBillingGroupsRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListBillingGroupsRequest.builder()
- Parameters:
listBillingGroupsRequest
- AConsumer
that will call methods onListBillingGroupsRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListCustomLineItemVersionsRequest.builder()
- Parameters:
listCustomLineItemVersionsRequest
- AConsumer
that will call methods onListCustomLineItemVersionsRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListCustomLineItemVersionsRequest.builder()
- Parameters:
listCustomLineItemVersionsRequest
- AConsumer
that will call methods onListCustomLineItemVersionsRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListCustomLineItemsRequest.builder()
- Parameters:
listCustomLineItemsRequest
- AConsumer
that will call methods onListCustomLineItemsRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListCustomLineItemsRequest.builder()
- Parameters:
listCustomLineItemsRequest
- AConsumer
that will call methods onListCustomLineItemsRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListPricingPlansRequest.builder()
- Parameters:
listPricingPlansRequest
- AConsumer
that will call methods onListPricingPlansRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListPricingPlansRequest.builder()
- Parameters:
listPricingPlansRequest
- AConsumer
that will call methods onListPricingPlansRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListPricingPlansAssociatedWithPricingRuleRequest.builder()
- Parameters:
listPricingPlansAssociatedWithPricingRuleRequest
- AConsumer
that will call methods onListPricingPlansAssociatedWithPricingRuleRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListPricingPlansAssociatedWithPricingRuleRequest.builder()
- Parameters:
listPricingPlansAssociatedWithPricingRuleRequest
- AConsumer
that will call methods onListPricingPlansAssociatedWithPricingRuleRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListPricingRulesRequest.builder()
- Parameters:
listPricingRulesRequest
- AConsumer
that will call methods onListPricingRulesRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListPricingRulesRequest.builder()
- Parameters:
listPricingRulesRequest
- AConsumer
that will call methods onListPricingRulesRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListPricingRulesAssociatedToPricingPlanRequest.builder()
- Parameters:
listPricingRulesAssociatedToPricingPlanRequest
- AConsumer
that will call methods onListPricingRulesAssociatedToPricingPlanRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListPricingRulesAssociatedToPricingPlanRequest.builder()
- Parameters:
listPricingRulesAssociatedToPricingPlanRequest
- AConsumer
that will call methods onListPricingRulesAssociatedToPricingPlanRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListResourcesAssociatedToCustomLineItemRequest.builder()
- Parameters:
listResourcesAssociatedToCustomLineItemRequest
- AConsumer
that will call methods onListResourcesAssociatedToCustomLineItemRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListResourcesAssociatedToCustomLineItemRequest.builder()
- Parameters:
listResourcesAssociatedToCustomLineItemRequest
- AConsumer
that will call methods onListResourcesAssociatedToCustomLineItemRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to 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.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to 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.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to 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.Builder
avoiding the need to create one manually viaUpdateBillingGroupRequest.builder()
- Parameters:
updateBillingGroupRequest
- AConsumer
that will call methods onUpdateBillingGroupRequest.Builder
to 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.Builder
avoiding the need to create one manually viaUpdateCustomLineItemRequest.builder()
- Parameters:
updateCustomLineItemRequest
- AConsumer
that will call methods onUpdateCustomLineItemRequest.Builder
to 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.Builder
avoiding the need to create one manually viaUpdatePricingPlanRequest.builder()
- Parameters:
updatePricingPlanRequest
- AConsumer
that will call methods onUpdatePricingPlanRequest.Builder
to 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.Builder
avoiding the need to create one manually viaUpdatePricingRuleRequest.builder()
- Parameters:
updatePricingRuleRequest
- AConsumer
that will call methods onUpdatePricingRuleRequest.Builder
to create a request.- Returns:
- Result of the UpdatePricingRule operation returned by the service.
- See Also:
-
create
Create aBillingconductorClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aBillingconductorClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-