pub struct Builder { /* private fields */ }
Expand description
A builder for JobData
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn action_type_id(self, input: ActionTypeId) -> Self
pub fn action_type_id(self, input: ActionTypeId) -> Self
Represents information about an action type.
sourcepub fn set_action_type_id(self, input: Option<ActionTypeId>) -> Self
pub fn set_action_type_id(self, input: Option<ActionTypeId>) -> Self
Represents information about an action type.
sourcepub fn action_configuration(self, input: ActionConfiguration) -> Self
pub fn action_configuration(self, input: ActionConfiguration) -> Self
Represents information about an action configuration.
sourcepub fn set_action_configuration(self, input: Option<ActionConfiguration>) -> Self
pub fn set_action_configuration(self, input: Option<ActionConfiguration>) -> Self
Represents information about an action configuration.
sourcepub fn pipeline_context(self, input: PipelineContext) -> Self
pub fn pipeline_context(self, input: PipelineContext) -> Self
Represents information about a pipeline to a job worker.
Includes pipelineArn
and pipelineExecutionId
for custom jobs.
sourcepub fn set_pipeline_context(self, input: Option<PipelineContext>) -> Self
pub fn set_pipeline_context(self, input: Option<PipelineContext>) -> Self
Represents information about a pipeline to a job worker.
Includes pipelineArn
and pipelineExecutionId
for custom jobs.
sourcepub fn input_artifacts(self, input: Artifact) -> Self
pub fn input_artifacts(self, input: Artifact) -> Self
Appends an item to input_artifacts
.
To override the contents of this collection use set_input_artifacts
.
The artifact supplied to the job.
sourcepub fn set_input_artifacts(self, input: Option<Vec<Artifact>>) -> Self
pub fn set_input_artifacts(self, input: Option<Vec<Artifact>>) -> Self
The artifact supplied to the job.
sourcepub fn output_artifacts(self, input: Artifact) -> Self
pub fn output_artifacts(self, input: Artifact) -> Self
Appends an item to output_artifacts
.
To override the contents of this collection use set_output_artifacts
.
The output of the job.
sourcepub fn set_output_artifacts(self, input: Option<Vec<Artifact>>) -> Self
pub fn set_output_artifacts(self, input: Option<Vec<Artifact>>) -> Self
The output of the job.
sourcepub fn artifact_credentials(self, input: AwsSessionCredentials) -> Self
pub fn artifact_credentials(self, input: AwsSessionCredentials) -> Self
Represents an AWS session credentials object. These credentials are temporary credentials that are issued by AWS Secure Token Service (STS). They can be used to access input and output artifacts in the S3 bucket used to store artifacts for the pipeline in AWS CodePipeline.
sourcepub fn set_artifact_credentials(
self,
input: Option<AwsSessionCredentials>
) -> Self
pub fn set_artifact_credentials(
self,
input: Option<AwsSessionCredentials>
) -> Self
Represents an AWS session credentials object. These credentials are temporary credentials that are issued by AWS Secure Token Service (STS). They can be used to access input and output artifacts in the S3 bucket used to store artifacts for the pipeline in AWS CodePipeline.
sourcepub fn continuation_token(self, input: impl Into<String>) -> Self
pub fn continuation_token(self, input: impl Into<String>) -> Self
A system-generated token, such as a AWS CodeDeploy deployment ID, required by a job to continue the job asynchronously.
sourcepub fn set_continuation_token(self, input: Option<String>) -> Self
pub fn set_continuation_token(self, input: Option<String>) -> Self
A system-generated token, such as a AWS CodeDeploy deployment ID, required by a job to continue the job asynchronously.
sourcepub fn encryption_key(self, input: EncryptionKey) -> Self
pub fn encryption_key(self, input: EncryptionKey) -> Self
Represents information about the key used to encrypt data in the artifact store, such as an AWS Key Management Service (AWS KMS) key.
sourcepub fn set_encryption_key(self, input: Option<EncryptionKey>) -> Self
pub fn set_encryption_key(self, input: Option<EncryptionKey>) -> Self
Represents information about the key used to encrypt data in the artifact store, such as an AWS Key Management Service (AWS KMS) key.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more