pub struct TransferJobArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> TransferJobArgsBuilder<S>
impl<S: State> TransferJobArgsBuilder<S>
sourcepub fn build_struct(self) -> TransferJobArgswhere
S: IsComplete,
pub fn build_struct(self) -> TransferJobArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn description(
self,
value: impl Into<Output<String>>,
) -> TransferJobArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Output<String>>,
) -> TransferJobArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
Required.
Unique description to identify the Transfer Job.
sourcepub fn event_stream(
self,
value: impl Into<Output<Option<TransferJobEventStream>>>,
) -> TransferJobArgsBuilder<SetEventStream<S>>where
S::EventStream: IsUnset,
pub fn event_stream(
self,
value: impl Into<Output<Option<TransferJobEventStream>>>,
) -> TransferJobArgsBuilder<SetEventStream<S>>where
S::EventStream: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::storage::TransferJobEventStream>,
> as Default>::default()
Specifies the Event-driven transfer options. Event-driven transfers listen to an event stream to transfer updated files. Structure documented below Either event_stream
or schedule
must be set.
sourcepub fn maybe_event_stream(
self,
value: Option<impl Into<Output<Option<TransferJobEventStream>>>>,
) -> TransferJobArgsBuilder<SetEventStream<S>>where
S::EventStream: IsUnset,
pub fn maybe_event_stream(
self,
value: Option<impl Into<Output<Option<TransferJobEventStream>>>>,
) -> TransferJobArgsBuilder<SetEventStream<S>>where
S::EventStream: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::storage::TransferJobEventStream>,
> as Default>::default()
Specifies the Event-driven transfer options. Event-driven transfers listen to an event stream to transfer updated files. Structure documented below Either event_stream
or schedule
must be set.
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> TransferJobArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> TransferJobArgsBuilder<SetName<S>>where
S::Name: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The name of the Transfer Job. This name must start with “transferJobs/” prefix and end with a letter or a number, and should be no more than 128 characters ( transferJobs/^(?!OPI)[A-Za-z0-9-._~]*[A-Za-z0-9]$
). For transfers involving PosixFilesystem, this name must start with transferJobs/OPI specifically ( transferJobs/OPI^[A-Za-z0-9-._~]*[A-Za-z0-9]$
). For all other transfer types, this name must not start with transferJobs/OPI. Default the provider will assign a random unique name with transferJobs/{{name}}
format, where name
is a numeric value.
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TransferJobArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TransferJobArgsBuilder<SetName<S>>where
S::Name: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The name of the Transfer Job. This name must start with “transferJobs/” prefix and end with a letter or a number, and should be no more than 128 characters ( transferJobs/^(?!OPI)[A-Za-z0-9-._~]*[A-Za-z0-9]$
). For transfers involving PosixFilesystem, this name must start with transferJobs/OPI specifically ( transferJobs/OPI^[A-Za-z0-9-._~]*[A-Za-z0-9]$
). For all other transfer types, this name must not start with transferJobs/OPI. Default the provider will assign a random unique name with transferJobs/{{name}}
format, where name
is a numeric value.
sourcepub fn notification_config(
self,
value: impl Into<Output<Option<TransferJobNotificationConfig>>>,
) -> TransferJobArgsBuilder<SetNotificationConfig<S>>where
S::NotificationConfig: IsUnset,
pub fn notification_config(
self,
value: impl Into<Output<Option<TransferJobNotificationConfig>>>,
) -> TransferJobArgsBuilder<SetNotificationConfig<S>>where
S::NotificationConfig: IsUnset,
sourcepub fn maybe_notification_config(
self,
value: Option<impl Into<Output<Option<TransferJobNotificationConfig>>>>,
) -> TransferJobArgsBuilder<SetNotificationConfig<S>>where
S::NotificationConfig: IsUnset,
pub fn maybe_notification_config(
self,
value: Option<impl Into<Output<Option<TransferJobNotificationConfig>>>>,
) -> TransferJobArgsBuilder<SetNotificationConfig<S>>where
S::NotificationConfig: IsUnset,
sourcepub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> TransferJobArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> TransferJobArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TransferJobArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TransferJobArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn schedule(
self,
value: impl Into<Output<Option<TransferJobSchedule>>>,
) -> TransferJobArgsBuilder<SetSchedule<S>>where
S::Schedule: IsUnset,
pub fn schedule(
self,
value: impl Into<Output<Option<TransferJobSchedule>>>,
) -> TransferJobArgsBuilder<SetSchedule<S>>where
S::Schedule: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::storage::TransferJobSchedule>,
> as Default>::default()
Schedule specification defining when the Transfer Job should be scheduled to start, end and what time to run. Structure documented below. Either schedule
or event_stream
must be set.
sourcepub fn maybe_schedule(
self,
value: Option<impl Into<Output<Option<TransferJobSchedule>>>>,
) -> TransferJobArgsBuilder<SetSchedule<S>>where
S::Schedule: IsUnset,
pub fn maybe_schedule(
self,
value: Option<impl Into<Output<Option<TransferJobSchedule>>>>,
) -> TransferJobArgsBuilder<SetSchedule<S>>where
S::Schedule: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::storage::TransferJobSchedule>,
> as Default>::default()
Schedule specification defining when the Transfer Job should be scheduled to start, end and what time to run. Structure documented below. Either schedule
or event_stream
must be set.
sourcepub fn status(
self,
value: impl Into<Output<Option<String>>>,
) -> TransferJobArgsBuilder<SetStatus<S>>where
S::Status: IsUnset,
pub fn status(
self,
value: impl Into<Output<Option<String>>>,
) -> TransferJobArgsBuilder<SetStatus<S>>where
S::Status: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Status of the job. Default: ENABLED
. NOTE: The effect of the new job status takes place during a subsequent job run. For example, if you change the job status from ENABLED to DISABLED, and an operation spawned by the transfer is running, the status change would not affect the current operation.
sourcepub fn maybe_status(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TransferJobArgsBuilder<SetStatus<S>>where
S::Status: IsUnset,
pub fn maybe_status(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TransferJobArgsBuilder<SetStatus<S>>where
S::Status: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Status of the job. Default: ENABLED
. NOTE: The effect of the new job status takes place during a subsequent job run. For example, if you change the job status from ENABLED to DISABLED, and an operation spawned by the transfer is running, the status change would not affect the current operation.
sourcepub fn transfer_spec(
self,
value: impl Into<Output<TransferJobTransferSpec>>,
) -> TransferJobArgsBuilder<SetTransferSpec<S>>where
S::TransferSpec: IsUnset,
pub fn transfer_spec(
self,
value: impl Into<Output<TransferJobTransferSpec>>,
) -> TransferJobArgsBuilder<SetTransferSpec<S>>where
S::TransferSpec: IsUnset,
Required.
Transfer specification. Structure documented below.