Struct aws_sdk_redshift::operation::describe_scheduled_actions::builders::DescribeScheduledActionsInputBuilder
source · #[non_exhaustive]pub struct DescribeScheduledActionsInputBuilder { /* private fields */ }Expand description
A builder for DescribeScheduledActionsInput.
Implementations§
source§impl DescribeScheduledActionsInputBuilder
impl DescribeScheduledActionsInputBuilder
sourcepub fn scheduled_action_name(self, input: impl Into<String>) -> Self
pub fn scheduled_action_name(self, input: impl Into<String>) -> Self
The name of the scheduled action to retrieve.
sourcepub fn set_scheduled_action_name(self, input: Option<String>) -> Self
pub fn set_scheduled_action_name(self, input: Option<String>) -> Self
The name of the scheduled action to retrieve.
sourcepub fn get_scheduled_action_name(&self) -> &Option<String>
pub fn get_scheduled_action_name(&self) -> &Option<String>
The name of the scheduled action to retrieve.
sourcepub fn target_action_type(self, input: ScheduledActionTypeValues) -> Self
pub fn target_action_type(self, input: ScheduledActionTypeValues) -> Self
The type of the scheduled actions to retrieve.
sourcepub fn set_target_action_type(
self,
input: Option<ScheduledActionTypeValues>
) -> Self
pub fn set_target_action_type( self, input: Option<ScheduledActionTypeValues> ) -> Self
The type of the scheduled actions to retrieve.
sourcepub fn get_target_action_type(&self) -> &Option<ScheduledActionTypeValues>
pub fn get_target_action_type(&self) -> &Option<ScheduledActionTypeValues>
The type of the scheduled actions to retrieve.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The start time in UTC of the scheduled actions to retrieve. Only active scheduled actions that have invocations after this time are retrieved.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The start time in UTC of the scheduled actions to retrieve. Only active scheduled actions that have invocations after this time are retrieved.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The start time in UTC of the scheduled actions to retrieve. Only active scheduled actions that have invocations after this time are retrieved.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The end time in UTC of the scheduled action to retrieve. Only active scheduled actions that have invocations before this time are retrieved.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The end time in UTC of the scheduled action to retrieve. Only active scheduled actions that have invocations before this time are retrieved.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The end time in UTC of the scheduled action to retrieve. Only active scheduled actions that have invocations before this time are retrieved.
sourcepub fn active(self, input: bool) -> Self
pub fn active(self, input: bool) -> Self
If true, retrieve only active scheduled actions. If false, retrieve only disabled scheduled actions.
sourcepub fn set_active(self, input: Option<bool>) -> Self
pub fn set_active(self, input: Option<bool>) -> Self
If true, retrieve only active scheduled actions. If false, retrieve only disabled scheduled actions.
sourcepub fn get_active(&self) -> &Option<bool>
pub fn get_active(&self) -> &Option<bool>
If true, retrieve only active scheduled actions. If false, retrieve only disabled scheduled actions.
sourcepub fn filters(self, input: ScheduledActionFilter) -> Self
pub fn filters(self, input: ScheduledActionFilter) -> Self
Appends an item to filters.
To override the contents of this collection use set_filters.
List of scheduled action filters.
sourcepub fn set_filters(self, input: Option<Vec<ScheduledActionFilter>>) -> Self
pub fn set_filters(self, input: Option<Vec<ScheduledActionFilter>>) -> Self
List of scheduled action filters.
sourcepub fn get_filters(&self) -> &Option<Vec<ScheduledActionFilter>>
pub fn get_filters(&self) -> &Option<Vec<ScheduledActionFilter>>
List of scheduled action filters.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeScheduledActions request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeScheduledActions request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeScheduledActions request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
sourcepub fn max_records(self, input: i32) -> Self
pub fn max_records(self, input: i32) -> Self
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
Default: 100
Constraints: minimum 20, maximum 100.
sourcepub fn set_max_records(self, input: Option<i32>) -> Self
pub fn set_max_records(self, input: Option<i32>) -> Self
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
Default: 100
Constraints: minimum 20, maximum 100.
sourcepub fn get_max_records(&self) -> &Option<i32>
pub fn get_max_records(&self) -> &Option<i32>
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
Default: 100
Constraints: minimum 20, maximum 100.
sourcepub fn build(self) -> Result<DescribeScheduledActionsInput, BuildError>
pub fn build(self) -> Result<DescribeScheduledActionsInput, BuildError>
Consumes the builder and constructs a DescribeScheduledActionsInput.
source§impl DescribeScheduledActionsInputBuilder
impl DescribeScheduledActionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeScheduledActionsOutput, SdkError<DescribeScheduledActionsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeScheduledActionsOutput, SdkError<DescribeScheduledActionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeScheduledActionsInputBuilder
impl Clone for DescribeScheduledActionsInputBuilder
source§fn clone(&self) -> DescribeScheduledActionsInputBuilder
fn clone(&self) -> DescribeScheduledActionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeScheduledActionsInputBuilder
impl Default for DescribeScheduledActionsInputBuilder
source§fn default() -> DescribeScheduledActionsInputBuilder
fn default() -> DescribeScheduledActionsInputBuilder
source§impl PartialEq<DescribeScheduledActionsInputBuilder> for DescribeScheduledActionsInputBuilder
impl PartialEq<DescribeScheduledActionsInputBuilder> for DescribeScheduledActionsInputBuilder
source§fn eq(&self, other: &DescribeScheduledActionsInputBuilder) -> bool
fn eq(&self, other: &DescribeScheduledActionsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.