Struct aws_sdk_iot::operation::add_thing_to_billing_group::builders::AddThingToBillingGroupFluentBuilder
source · pub struct AddThingToBillingGroupFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to AddThingToBillingGroup
.
Adds a thing to a billing group.
Requires permission to access the AddThingToBillingGroup action.
Implementations§
source§impl AddThingToBillingGroupFluentBuilder
impl AddThingToBillingGroupFluentBuilder
sourcepub fn as_input(&self) -> &AddThingToBillingGroupInputBuilder
pub fn as_input(&self) -> &AddThingToBillingGroupInputBuilder
Access the AddThingToBillingGroup as a reference.
sourcepub async fn send(
self
) -> Result<AddThingToBillingGroupOutput, SdkError<AddThingToBillingGroupError, HttpResponse>>
pub async fn send( self ) -> Result<AddThingToBillingGroupOutput, SdkError<AddThingToBillingGroupError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<AddThingToBillingGroupOutput, AddThingToBillingGroupError, Self>
pub fn customize( self ) -> CustomizableOperation<AddThingToBillingGroupOutput, AddThingToBillingGroupError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn billing_group_name(self, input: impl Into<String>) -> Self
pub fn billing_group_name(self, input: impl Into<String>) -> Self
The name of the billing group.
This call is asynchronous. It might take several seconds for the detachment to propagate.
sourcepub fn set_billing_group_name(self, input: Option<String>) -> Self
pub fn set_billing_group_name(self, input: Option<String>) -> Self
The name of the billing group.
This call is asynchronous. It might take several seconds for the detachment to propagate.
sourcepub fn get_billing_group_name(&self) -> &Option<String>
pub fn get_billing_group_name(&self) -> &Option<String>
The name of the billing group.
This call is asynchronous. It might take several seconds for the detachment to propagate.
sourcepub fn billing_group_arn(self, input: impl Into<String>) -> Self
pub fn billing_group_arn(self, input: impl Into<String>) -> Self
The ARN of the billing group.
sourcepub fn set_billing_group_arn(self, input: Option<String>) -> Self
pub fn set_billing_group_arn(self, input: Option<String>) -> Self
The ARN of the billing group.
sourcepub fn get_billing_group_arn(&self) -> &Option<String>
pub fn get_billing_group_arn(&self) -> &Option<String>
The ARN of the billing group.
sourcepub fn thing_name(self, input: impl Into<String>) -> Self
pub fn thing_name(self, input: impl Into<String>) -> Self
The name of the thing to be added to the billing group.
sourcepub fn set_thing_name(self, input: Option<String>) -> Self
pub fn set_thing_name(self, input: Option<String>) -> Self
The name of the thing to be added to the billing group.
sourcepub fn get_thing_name(&self) -> &Option<String>
pub fn get_thing_name(&self) -> &Option<String>
The name of the thing to be added to the billing group.
sourcepub fn thing_arn(self, input: impl Into<String>) -> Self
pub fn thing_arn(self, input: impl Into<String>) -> Self
The ARN of the thing to be added to the billing group.
sourcepub fn set_thing_arn(self, input: Option<String>) -> Self
pub fn set_thing_arn(self, input: Option<String>) -> Self
The ARN of the thing to be added to the billing group.
sourcepub fn get_thing_arn(&self) -> &Option<String>
pub fn get_thing_arn(&self) -> &Option<String>
The ARN of the thing to be added to the billing group.
Trait Implementations§
source§impl Clone for AddThingToBillingGroupFluentBuilder
impl Clone for AddThingToBillingGroupFluentBuilder
source§fn clone(&self) -> AddThingToBillingGroupFluentBuilder
fn clone(&self) -> AddThingToBillingGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more