#[non_exhaustive]pub struct ListedEntitlementBuilder { /* private fields */ }
Expand description
A builder for ListedEntitlement
.
Implementations§
source§impl ListedEntitlementBuilder
impl ListedEntitlementBuilder
sourcepub fn data_transfer_subscriber_fee_percent(self, input: i32) -> Self
pub fn data_transfer_subscriber_fee_percent(self, input: i32) -> Self
Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
sourcepub fn set_data_transfer_subscriber_fee_percent(
self,
input: Option<i32>,
) -> Self
pub fn set_data_transfer_subscriber_fee_percent( self, input: Option<i32>, ) -> Self
Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
sourcepub fn get_data_transfer_subscriber_fee_percent(&self) -> &Option<i32>
pub fn get_data_transfer_subscriber_fee_percent(&self) -> &Option<i32>
Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
sourcepub fn entitlement_arn(self, input: impl Into<String>) -> Self
pub fn entitlement_arn(self, input: impl Into<String>) -> Self
The ARN of the entitlement. This field is required.
sourcepub fn set_entitlement_arn(self, input: Option<String>) -> Self
pub fn set_entitlement_arn(self, input: Option<String>) -> Self
The ARN of the entitlement.
sourcepub fn get_entitlement_arn(&self) -> &Option<String>
pub fn get_entitlement_arn(&self) -> &Option<String>
The ARN of the entitlement.
sourcepub fn entitlement_name(self, input: impl Into<String>) -> Self
pub fn entitlement_name(self, input: impl Into<String>) -> Self
The name of the entitlement. This field is required.
sourcepub fn set_entitlement_name(self, input: Option<String>) -> Self
pub fn set_entitlement_name(self, input: Option<String>) -> Self
The name of the entitlement.
sourcepub fn get_entitlement_name(&self) -> &Option<String>
pub fn get_entitlement_name(&self) -> &Option<String>
The name of the entitlement.
sourcepub fn build(self) -> ListedEntitlement
pub fn build(self) -> ListedEntitlement
Consumes the builder and constructs a ListedEntitlement
.
Trait Implementations§
source§impl Clone for ListedEntitlementBuilder
impl Clone for ListedEntitlementBuilder
source§fn clone(&self) -> ListedEntitlementBuilder
fn clone(&self) -> ListedEntitlementBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ListedEntitlementBuilder
impl Debug for ListedEntitlementBuilder
source§impl Default for ListedEntitlementBuilder
impl Default for ListedEntitlementBuilder
source§fn default() -> ListedEntitlementBuilder
fn default() -> ListedEntitlementBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListedEntitlementBuilder
impl PartialEq for ListedEntitlementBuilder
source§fn eq(&self, other: &ListedEntitlementBuilder) -> bool
fn eq(&self, other: &ListedEntitlementBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListedEntitlementBuilder
Auto Trait Implementations§
impl Freeze for ListedEntitlementBuilder
impl RefUnwindSafe for ListedEntitlementBuilder
impl Send for ListedEntitlementBuilder
impl Sync for ListedEntitlementBuilder
impl Unpin for ListedEntitlementBuilder
impl UnwindSafe for ListedEntitlementBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.