Struct aws_sdk_backup::model::date_range::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DateRange
.
Implementations§
source§impl Builder
impl Builder
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).
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 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).
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).