#[non_exhaustive]
pub struct GetCampaignOutputBuilder { /* private fields */ }
Expand description

A builder for GetCampaignOutput.

Implementations§

source§

impl GetCampaignOutputBuilder

source

pub fn name(self, input: impl Into<String>) -> Self

The name of the campaign.

source

pub fn set_name(self, input: Option<String>) -> Self

The name of the campaign.

source

pub fn get_name(&self) -> &Option<String>

The name of the campaign.

source

pub fn arn(self, input: impl Into<String>) -> Self

The Amazon Resource Name (ARN) of the campaign.

source

pub fn set_arn(self, input: Option<String>) -> Self

The Amazon Resource Name (ARN) of the campaign.

source

pub fn get_arn(&self) -> &Option<String>

The Amazon Resource Name (ARN) of the campaign.

source

pub fn description(self, input: impl Into<String>) -> Self

The description of the campaign.

source

pub fn set_description(self, input: Option<String>) -> Self

The description of the campaign.

source

pub fn get_description(&self) -> &Option<String>

The description of the campaign.

source

pub fn signal_catalog_arn(self, input: impl Into<String>) -> Self

The ARN of a signal catalog.

source

pub fn set_signal_catalog_arn(self, input: Option<String>) -> Self

The ARN of a signal catalog.

source

pub fn get_signal_catalog_arn(&self) -> &Option<String>

The ARN of a signal catalog.

source

pub fn target_arn(self, input: impl Into<String>) -> Self

The ARN of the vehicle or the fleet targeted by the campaign.

source

pub fn set_target_arn(self, input: Option<String>) -> Self

The ARN of the vehicle or the fleet targeted by the campaign.

source

pub fn get_target_arn(&self) -> &Option<String>

The ARN of the vehicle or the fleet targeted by the campaign.

source

pub fn status(self, input: CampaignStatus) -> Self

The state of the campaign. The status can be one of: CREATING, WAITING_FOR_APPROVAL, RUNNING, and SUSPENDED.

source

pub fn set_status(self, input: Option<CampaignStatus>) -> Self

The state of the campaign. The status can be one of: CREATING, WAITING_FOR_APPROVAL, RUNNING, and SUSPENDED.

source

pub fn get_status(&self) -> &Option<CampaignStatus>

The state of the campaign. The status can be one of: CREATING, WAITING_FOR_APPROVAL, RUNNING, and SUSPENDED.

source

pub fn start_time(self, input: DateTime) -> Self

The time, in milliseconds, to deliver a campaign after it was approved.

source

pub fn set_start_time(self, input: Option<DateTime>) -> Self

The time, in milliseconds, to deliver a campaign after it was approved.

source

pub fn get_start_time(&self) -> &Option<DateTime>

The time, in milliseconds, to deliver a campaign after it was approved.

source

pub fn expiry_time(self, input: DateTime) -> Self

The time the campaign expires, in seconds since epoch (January 1, 1970 at midnight UTC time). Vehicle data won't be collected after the campaign expires.

source

pub fn set_expiry_time(self, input: Option<DateTime>) -> Self

The time the campaign expires, in seconds since epoch (January 1, 1970 at midnight UTC time). Vehicle data won't be collected after the campaign expires.

source

pub fn get_expiry_time(&self) -> &Option<DateTime>

The time the campaign expires, in seconds since epoch (January 1, 1970 at midnight UTC time). Vehicle data won't be collected after the campaign expires.

source

pub fn post_trigger_collection_duration(self, input: i64) -> Self

How long (in seconds) to collect raw data after a triggering event initiates the collection.

source

pub fn set_post_trigger_collection_duration(self, input: Option<i64>) -> Self

How long (in seconds) to collect raw data after a triggering event initiates the collection.

source

pub fn get_post_trigger_collection_duration(&self) -> &Option<i64>

How long (in seconds) to collect raw data after a triggering event initiates the collection.

source

pub fn diagnostics_mode(self, input: DiagnosticsMode) -> Self

Option for a vehicle to send diagnostic trouble codes to Amazon Web Services IoT FleetWise.

source

pub fn set_diagnostics_mode(self, input: Option<DiagnosticsMode>) -> Self

Option for a vehicle to send diagnostic trouble codes to Amazon Web Services IoT FleetWise.

source

pub fn get_diagnostics_mode(&self) -> &Option<DiagnosticsMode>

Option for a vehicle to send diagnostic trouble codes to Amazon Web Services IoT FleetWise.

source

pub fn spooling_mode(self, input: SpoolingMode) -> Self

Whether to store collected data after a vehicle lost a connection with the cloud. After a connection is re-established, the data is automatically forwarded to Amazon Web Services IoT FleetWise.

source

pub fn set_spooling_mode(self, input: Option<SpoolingMode>) -> Self

Whether to store collected data after a vehicle lost a connection with the cloud. After a connection is re-established, the data is automatically forwarded to Amazon Web Services IoT FleetWise.

source

pub fn get_spooling_mode(&self) -> &Option<SpoolingMode>

Whether to store collected data after a vehicle lost a connection with the cloud. After a connection is re-established, the data is automatically forwarded to Amazon Web Services IoT FleetWise.

source

pub fn compression(self, input: Compression) -> Self

Whether to compress signals before transmitting data to Amazon Web Services IoT FleetWise. If OFF is specified, the signals aren't compressed. If it's not specified, SNAPPY is used.

source

pub fn set_compression(self, input: Option<Compression>) -> Self

Whether to compress signals before transmitting data to Amazon Web Services IoT FleetWise. If OFF is specified, the signals aren't compressed. If it's not specified, SNAPPY is used.

source

pub fn get_compression(&self) -> &Option<Compression>

Whether to compress signals before transmitting data to Amazon Web Services IoT FleetWise. If OFF is specified, the signals aren't compressed. If it's not specified, SNAPPY is used.

source

pub fn priority(self, input: i32) -> Self

A number indicating the priority of one campaign over another campaign for a certain vehicle or fleet. A campaign with the lowest value is deployed to vehicles before any other campaigns.

source

pub fn set_priority(self, input: Option<i32>) -> Self

A number indicating the priority of one campaign over another campaign for a certain vehicle or fleet. A campaign with the lowest value is deployed to vehicles before any other campaigns.

source

pub fn get_priority(&self) -> &Option<i32>

A number indicating the priority of one campaign over another campaign for a certain vehicle or fleet. A campaign with the lowest value is deployed to vehicles before any other campaigns.

source

pub fn signals_to_collect(self, input: SignalInformation) -> Self

Appends an item to signals_to_collect.

To override the contents of this collection use set_signals_to_collect.

Information about a list of signals to collect data on.

source

pub fn set_signals_to_collect( self, input: Option<Vec<SignalInformation>> ) -> Self

Information about a list of signals to collect data on.

source

pub fn get_signals_to_collect(&self) -> &Option<Vec<SignalInformation>>

Information about a list of signals to collect data on.

source

pub fn collection_scheme(self, input: CollectionScheme) -> Self

Information about the data collection scheme associated with the campaign.

source

pub fn set_collection_scheme(self, input: Option<CollectionScheme>) -> Self

Information about the data collection scheme associated with the campaign.

source

pub fn get_collection_scheme(&self) -> &Option<CollectionScheme>

Information about the data collection scheme associated with the campaign.

source

pub fn data_extra_dimensions(self, input: impl Into<String>) -> Self

Appends an item to data_extra_dimensions.

To override the contents of this collection use set_data_extra_dimensions.

A list of vehicle attributes associated with the campaign.

source

pub fn set_data_extra_dimensions(self, input: Option<Vec<String>>) -> Self

A list of vehicle attributes associated with the campaign.

source

pub fn get_data_extra_dimensions(&self) -> &Option<Vec<String>>

A list of vehicle attributes associated with the campaign.

source

pub fn creation_time(self, input: DateTime) -> Self

The time the campaign was created in seconds since epoch (January 1, 1970 at midnight UTC time).

source

pub fn set_creation_time(self, input: Option<DateTime>) -> Self

The time the campaign was created in seconds since epoch (January 1, 1970 at midnight UTC time).

source

pub fn get_creation_time(&self) -> &Option<DateTime>

The time the campaign was created in seconds since epoch (January 1, 1970 at midnight UTC time).

source

pub fn last_modification_time(self, input: DateTime) -> Self

The last time the campaign was modified.

source

pub fn set_last_modification_time(self, input: Option<DateTime>) -> Self

The last time the campaign was modified.

source

pub fn get_last_modification_time(&self) -> &Option<DateTime>

The last time the campaign was modified.

source

pub fn data_destination_configs(self, input: DataDestinationConfig) -> Self

Appends an item to data_destination_configs.

To override the contents of this collection use set_data_destination_configs.

The destination where the campaign sends data. You can choose to send data to be stored in Amazon S3 or Amazon Timestream.

Amazon S3 optimizes the cost of data storage and provides additional mechanisms to use vehicle data, such as data lakes, centralized data storage, data processing pipelines, and analytics.

You can use Amazon Timestream to access and analyze time series data, and Timestream to query vehicle data so that you can identify trends and patterns.

source

pub fn set_data_destination_configs( self, input: Option<Vec<DataDestinationConfig>> ) -> Self

The destination where the campaign sends data. You can choose to send data to be stored in Amazon S3 or Amazon Timestream.

Amazon S3 optimizes the cost of data storage and provides additional mechanisms to use vehicle data, such as data lakes, centralized data storage, data processing pipelines, and analytics.

You can use Amazon Timestream to access and analyze time series data, and Timestream to query vehicle data so that you can identify trends and patterns.

source

pub fn get_data_destination_configs( &self ) -> &Option<Vec<DataDestinationConfig>>

The destination where the campaign sends data. You can choose to send data to be stored in Amazon S3 or Amazon Timestream.

Amazon S3 optimizes the cost of data storage and provides additional mechanisms to use vehicle data, such as data lakes, centralized data storage, data processing pipelines, and analytics.

You can use Amazon Timestream to access and analyze time series data, and Timestream to query vehicle data so that you can identify trends and patterns.

source

pub fn build(self) -> GetCampaignOutput

Consumes the builder and constructs a GetCampaignOutput.

Trait Implementations§

source§

impl Clone for GetCampaignOutputBuilder

source§

fn clone(&self) -> GetCampaignOutputBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GetCampaignOutputBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for GetCampaignOutputBuilder

source§

fn default() -> GetCampaignOutputBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq for GetCampaignOutputBuilder

source§

fn eq(&self, other: &GetCampaignOutputBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for GetCampaignOutputBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Unshared, Shared> IntoShared<Shared> for Unsharedwhere Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more