Interface UpdateBillingGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateBillingGroupRequest.Builder,
,UpdateBillingGroupRequest> IotRequest.Builder
,SdkBuilder<UpdateBillingGroupRequest.Builder,
,UpdateBillingGroupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateBillingGroupRequest
public static interface UpdateBillingGroupRequest.Builder
extends IotRequest.Builder, SdkPojo, CopyableBuilder<UpdateBillingGroupRequest.Builder,UpdateBillingGroupRequest>
-
Method Summary
Modifier and TypeMethodDescriptionbillingGroupName
(String billingGroupName) The name of the billing group.billingGroupProperties
(Consumer<BillingGroupProperties.Builder> billingGroupProperties) The properties of the billing group.billingGroupProperties
(BillingGroupProperties billingGroupProperties) The properties of the billing group.expectedVersion
(Long expectedVersion) The expected version of the billing group.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
billingGroupName
The name of the billing group.
- Parameters:
billingGroupName
- The name of the billing group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingGroupProperties
UpdateBillingGroupRequest.Builder billingGroupProperties(BillingGroupProperties billingGroupProperties) The properties of the billing group.
- Parameters:
billingGroupProperties
- The properties of the billing group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingGroupProperties
default UpdateBillingGroupRequest.Builder billingGroupProperties(Consumer<BillingGroupProperties.Builder> billingGroupProperties) The properties of the billing group.
This is a convenience method that creates an instance of theBillingGroupProperties.Builder
avoiding the need to create one manually viaBillingGroupProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobillingGroupProperties(BillingGroupProperties)
.- Parameters:
billingGroupProperties
- a consumer that will call methods onBillingGroupProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
expectedVersion
The expected version of the billing group. If the version of the billing group does not match the expected version specified in the request, the
UpdateBillingGroup
request is rejected with aVersionConflictException
.- Parameters:
expectedVersion
- The expected version of the billing group. If the version of the billing group does not match the expected version specified in the request, theUpdateBillingGroup
request is rejected with aVersionConflictException
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateBillingGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateBillingGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-