#[non_exhaustive]pub struct DatasetContentDeliveryRuleBuilder { /* private fields */ }
Expand description
A builder for DatasetContentDeliveryRule
.
Implementations§
source§impl DatasetContentDeliveryRuleBuilder
impl DatasetContentDeliveryRuleBuilder
sourcepub fn entry_name(self, input: impl Into<String>) -> Self
pub fn entry_name(self, input: impl Into<String>) -> Self
The name of the dataset content delivery rules entry.
sourcepub fn set_entry_name(self, input: Option<String>) -> Self
pub fn set_entry_name(self, input: Option<String>) -> Self
The name of the dataset content delivery rules entry.
sourcepub fn get_entry_name(&self) -> &Option<String>
pub fn get_entry_name(&self) -> &Option<String>
The name of the dataset content delivery rules entry.
sourcepub fn destination(self, input: DatasetContentDeliveryDestination) -> Self
pub fn destination(self, input: DatasetContentDeliveryDestination) -> Self
The destination to which dataset contents are delivered.
This field is required.sourcepub fn set_destination(
self,
input: Option<DatasetContentDeliveryDestination>
) -> Self
pub fn set_destination( self, input: Option<DatasetContentDeliveryDestination> ) -> Self
The destination to which dataset contents are delivered.
sourcepub fn get_destination(&self) -> &Option<DatasetContentDeliveryDestination>
pub fn get_destination(&self) -> &Option<DatasetContentDeliveryDestination>
The destination to which dataset contents are delivered.
sourcepub fn build(self) -> DatasetContentDeliveryRule
pub fn build(self) -> DatasetContentDeliveryRule
Consumes the builder and constructs a DatasetContentDeliveryRule
.
Trait Implementations§
source§impl Clone for DatasetContentDeliveryRuleBuilder
impl Clone for DatasetContentDeliveryRuleBuilder
source§fn clone(&self) -> DatasetContentDeliveryRuleBuilder
fn clone(&self) -> DatasetContentDeliveryRuleBuilder
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 Default for DatasetContentDeliveryRuleBuilder
impl Default for DatasetContentDeliveryRuleBuilder
source§fn default() -> DatasetContentDeliveryRuleBuilder
fn default() -> DatasetContentDeliveryRuleBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DatasetContentDeliveryRuleBuilder
impl PartialEq for DatasetContentDeliveryRuleBuilder
source§fn eq(&self, other: &DatasetContentDeliveryRuleBuilder) -> bool
fn eq(&self, other: &DatasetContentDeliveryRuleBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DatasetContentDeliveryRuleBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DatasetContentDeliveryRuleBuilder
impl Send for DatasetContentDeliveryRuleBuilder
impl Sync for DatasetContentDeliveryRuleBuilder
impl Unpin for DatasetContentDeliveryRuleBuilder
impl UnwindSafe for DatasetContentDeliveryRuleBuilder
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>
Creates a shared type from an unshared type.