#[non_exhaustive]pub struct HolidayConfigAttributesBuilder { /* private fields */ }
Expand description
A builder for HolidayConfigAttributes
.
Implementations§
source§impl HolidayConfigAttributesBuilder
impl HolidayConfigAttributesBuilder
sourcepub fn country_code(self, input: impl Into<String>) -> Self
pub fn country_code(self, input: impl Into<String>) -> Self
The country code for the holiday calendar.
For the list of public holiday calendars supported by AutoML job V2, see Country Codes. Use the country code corresponding to the country of your choice.
sourcepub fn set_country_code(self, input: Option<String>) -> Self
pub fn set_country_code(self, input: Option<String>) -> Self
The country code for the holiday calendar.
For the list of public holiday calendars supported by AutoML job V2, see Country Codes. Use the country code corresponding to the country of your choice.
sourcepub fn get_country_code(&self) -> &Option<String>
pub fn get_country_code(&self) -> &Option<String>
The country code for the holiday calendar.
For the list of public holiday calendars supported by AutoML job V2, see Country Codes. Use the country code corresponding to the country of your choice.
sourcepub fn build(self) -> HolidayConfigAttributes
pub fn build(self) -> HolidayConfigAttributes
Consumes the builder and constructs a HolidayConfigAttributes
.
Trait Implementations§
source§impl Clone for HolidayConfigAttributesBuilder
impl Clone for HolidayConfigAttributesBuilder
source§fn clone(&self) -> HolidayConfigAttributesBuilder
fn clone(&self) -> HolidayConfigAttributesBuilder
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 HolidayConfigAttributesBuilder
impl Default for HolidayConfigAttributesBuilder
source§fn default() -> HolidayConfigAttributesBuilder
fn default() -> HolidayConfigAttributesBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for HolidayConfigAttributesBuilder
impl PartialEq for HolidayConfigAttributesBuilder
source§fn eq(&self, other: &HolidayConfigAttributesBuilder) -> bool
fn eq(&self, other: &HolidayConfigAttributesBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HolidayConfigAttributesBuilder
Auto Trait Implementations§
impl RefUnwindSafe for HolidayConfigAttributesBuilder
impl Send for HolidayConfigAttributesBuilder
impl Sync for HolidayConfigAttributesBuilder
impl Unpin for HolidayConfigAttributesBuilder
impl UnwindSafe for HolidayConfigAttributesBuilder
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.