#[non_exhaustive]pub struct BillingRecordBuilder { /* private fields */ }
Expand description
A builder for BillingRecord
.
Implementations§
source§impl BillingRecordBuilder
impl BillingRecordBuilder
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The name of the domain that the billing record applies to. If the domain name contains characters other than a-z, 0-9, and - (hyphen), such as an internationalized domain name, then this value is in Punycode. For more information, see DNS Domain Name Format in the Amazon Route 53 Developer Guide.
sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The name of the domain that the billing record applies to. If the domain name contains characters other than a-z, 0-9, and - (hyphen), such as an internationalized domain name, then this value is in Punycode. For more information, see DNS Domain Name Format in the Amazon Route 53 Developer Guide.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
The name of the domain that the billing record applies to. If the domain name contains characters other than a-z, 0-9, and - (hyphen), such as an internationalized domain name, then this value is in Punycode. For more information, see DNS Domain Name Format in the Amazon Route 53 Developer Guide.
sourcepub fn operation(self, input: OperationType) -> Self
pub fn operation(self, input: OperationType) -> Self
The operation that you were charged for.
sourcepub fn set_operation(self, input: Option<OperationType>) -> Self
pub fn set_operation(self, input: Option<OperationType>) -> Self
The operation that you were charged for.
sourcepub fn get_operation(&self) -> &Option<OperationType>
pub fn get_operation(&self) -> &Option<OperationType>
The operation that you were charged for.
sourcepub fn invoice_id(self, input: impl Into<String>) -> Self
pub fn invoice_id(self, input: impl Into<String>) -> Self
The ID of the invoice that is associated with the billing record.
sourcepub fn set_invoice_id(self, input: Option<String>) -> Self
pub fn set_invoice_id(self, input: Option<String>) -> Self
The ID of the invoice that is associated with the billing record.
sourcepub fn get_invoice_id(&self) -> &Option<String>
pub fn get_invoice_id(&self) -> &Option<String>
The ID of the invoice that is associated with the billing record.
sourcepub fn bill_date(self, input: DateTime) -> Self
pub fn bill_date(self, input: DateTime) -> Self
The date that the operation was billed, in Unix format.
sourcepub fn set_bill_date(self, input: Option<DateTime>) -> Self
pub fn set_bill_date(self, input: Option<DateTime>) -> Self
The date that the operation was billed, in Unix format.
sourcepub fn get_bill_date(&self) -> &Option<DateTime>
pub fn get_bill_date(&self) -> &Option<DateTime>
The date that the operation was billed, in Unix format.
sourcepub fn price(self, input: f64) -> Self
pub fn price(self, input: f64) -> Self
The price that you were charged for the operation, in US dollars.
Example value: 12.0
sourcepub fn set_price(self, input: Option<f64>) -> Self
pub fn set_price(self, input: Option<f64>) -> Self
The price that you were charged for the operation, in US dollars.
Example value: 12.0
sourcepub fn get_price(&self) -> &Option<f64>
pub fn get_price(&self) -> &Option<f64>
The price that you were charged for the operation, in US dollars.
Example value: 12.0
sourcepub fn build(self) -> BillingRecord
pub fn build(self) -> BillingRecord
Consumes the builder and constructs a BillingRecord
.
Trait Implementations§
source§impl Clone for BillingRecordBuilder
impl Clone for BillingRecordBuilder
source§fn clone(&self) -> BillingRecordBuilder
fn clone(&self) -> BillingRecordBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BillingRecordBuilder
impl Debug for BillingRecordBuilder
source§impl Default for BillingRecordBuilder
impl Default for BillingRecordBuilder
source§fn default() -> BillingRecordBuilder
fn default() -> BillingRecordBuilder
source§impl PartialEq for BillingRecordBuilder
impl PartialEq for BillingRecordBuilder
source§fn eq(&self, other: &BillingRecordBuilder) -> bool
fn eq(&self, other: &BillingRecordBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BillingRecordBuilder
Auto Trait Implementations§
impl Freeze for BillingRecordBuilder
impl RefUnwindSafe for BillingRecordBuilder
impl Send for BillingRecordBuilder
impl Sync for BillingRecordBuilder
impl Unpin for BillingRecordBuilder
impl UnwindSafe for BillingRecordBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more