Interface UpdateCustomLineItemResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BillingconductorResponse.Builder
,Buildable
,CopyableBuilder<UpdateCustomLineItemResponse.Builder,
,UpdateCustomLineItemResponse> SdkBuilder<UpdateCustomLineItemResponse.Builder,
,UpdateCustomLineItemResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateCustomLineItemResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the successfully updated custom line item.associationSize
(Long associationSize) The number of resources that are associated to the custom line item.billingGroupArn
(String billingGroupArn) The ARN of the billing group that the custom line item is applied to.chargeDetails
(Consumer<ListCustomLineItemChargeDetails.Builder> chargeDetails) AListCustomLineItemChargeDetails
containing the charge details of the successfully updated custom line item.chargeDetails
(ListCustomLineItemChargeDetails chargeDetails) AListCustomLineItemChargeDetails
containing the charge details of the successfully updated custom line item.description
(String description) The description of the successfully updated custom line item.lastModifiedTime
(Long lastModifiedTime) The most recent time when the custom line item was modified.The name of the successfully updated custom line item.Methods inherited from interface software.amazon.awssdk.services.billingconductor.model.BillingconductorResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
arn
The ARN of the successfully updated custom line item.
- Parameters:
arn
- The ARN of the successfully updated custom line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingGroupArn
The ARN of the billing group that the custom line item is applied to.
- Parameters:
billingGroupArn
- The ARN of the billing group that the custom line item is applied to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the successfully updated custom line item.
- Parameters:
name
- The name of the successfully updated custom line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the successfully updated custom line item.
- Parameters:
description
- The description of the successfully updated custom line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chargeDetails
A
ListCustomLineItemChargeDetails
containing the charge details of the successfully updated custom line item.- Parameters:
chargeDetails
- AListCustomLineItemChargeDetails
containing the charge details of the successfully updated custom line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chargeDetails
default UpdateCustomLineItemResponse.Builder chargeDetails(Consumer<ListCustomLineItemChargeDetails.Builder> chargeDetails) A
This is a convenience method that creates an instance of theListCustomLineItemChargeDetails
containing the charge details of the successfully updated custom line item.ListCustomLineItemChargeDetails.Builder
avoiding the need to create one manually viaListCustomLineItemChargeDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochargeDetails(ListCustomLineItemChargeDetails)
.- Parameters:
chargeDetails
- a consumer that will call methods onListCustomLineItemChargeDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastModifiedTime
The most recent time when the custom line item was modified.
- Parameters:
lastModifiedTime
- The most recent time when the custom line item was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationSize
The number of resources that are associated to the custom line item.
- Parameters:
associationSize
- The number of resources that are associated to the custom line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-