Struct aws_sdk_backup::types::builders::DateRangeBuilder
source · #[non_exhaustive]pub struct DateRangeBuilder { /* private fields */ }
Expand description
A builder for DateRange
.
Implementations§
source§impl DateRangeBuilder
impl DateRangeBuilder
sourcepub fn from_date(self, input: DateTime) -> Self
pub fn from_date(self, input: DateTime) -> Self
This value is the beginning date, inclusive.
The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).
This field is required.sourcepub fn set_from_date(self, input: Option<DateTime>) -> Self
pub fn set_from_date(self, input: Option<DateTime>) -> Self
This value is the beginning date, inclusive.
The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).
sourcepub fn get_from_date(&self) -> &Option<DateTime>
pub fn get_from_date(&self) -> &Option<DateTime>
This value is the beginning date, inclusive.
The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).
sourcepub fn to_date(self, input: DateTime) -> Self
pub fn to_date(self, input: DateTime) -> Self
This value is the end date, inclusive.
The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).
This field is required.sourcepub fn set_to_date(self, input: Option<DateTime>) -> Self
pub fn set_to_date(self, input: Option<DateTime>) -> Self
This value is the end date, inclusive.
The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).
sourcepub fn get_to_date(&self) -> &Option<DateTime>
pub fn get_to_date(&self) -> &Option<DateTime>
This value is the end date, inclusive.
The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).
Trait Implementations§
source§impl Clone for DateRangeBuilder
impl Clone for DateRangeBuilder
source§fn clone(&self) -> DateRangeBuilder
fn clone(&self) -> DateRangeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DateRangeBuilder
impl Debug for DateRangeBuilder
source§impl Default for DateRangeBuilder
impl Default for DateRangeBuilder
source§fn default() -> DateRangeBuilder
fn default() -> DateRangeBuilder
source§impl PartialEq for DateRangeBuilder
impl PartialEq for DateRangeBuilder
source§fn eq(&self, other: &DateRangeBuilder) -> bool
fn eq(&self, other: &DateRangeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.