#[non_exhaustive]pub struct ThirdPartyJobDataBuilder { /* private fields */ }
Expand description
A builder for ThirdPartyJobData
.
Implementations§
source§impl ThirdPartyJobDataBuilder
impl ThirdPartyJobDataBuilder
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 get_action_type_id(&self) -> &Option<ActionTypeId>
pub fn get_action_type_id(&self) -> &Option<ActionTypeId>
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 get_action_configuration(&self) -> &Option<ActionConfiguration>
pub fn get_action_configuration(&self) -> &Option<ActionConfiguration>
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.
Does not include pipelineArn
and pipelineExecutionId
for ThirdParty 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.
Does not include pipelineArn
and pipelineExecutionId
for ThirdParty jobs.
sourcepub fn get_pipeline_context(&self) -> &Option<PipelineContext>
pub fn get_pipeline_context(&self) -> &Option<PipelineContext>
Represents information about a pipeline to a job worker.
Does not include pipelineArn
and pipelineExecutionId
for ThirdParty 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 name of the artifact that is worked on by the action, if any. This name might be system-generated, such as "MyApp", or it might be defined by the user when the action is created. The input artifact name must match the name of an output artifact generated by an action in an earlier action or stage of the pipeline.
sourcepub fn set_input_artifacts(self, input: Option<Vec<Artifact>>) -> Self
pub fn set_input_artifacts(self, input: Option<Vec<Artifact>>) -> Self
The name of the artifact that is worked on by the action, if any. This name might be system-generated, such as "MyApp", or it might be defined by the user when the action is created. The input artifact name must match the name of an output artifact generated by an action in an earlier action or stage of the pipeline.
sourcepub fn get_input_artifacts(&self) -> &Option<Vec<Artifact>>
pub fn get_input_artifacts(&self) -> &Option<Vec<Artifact>>
The name of the artifact that is worked on by the action, if any. This name might be system-generated, such as "MyApp", or it might be defined by the user when the action is created. The input artifact name must match the name of an output artifact generated by an action in an earlier action or stage of the pipeline.
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 name of the artifact that is the result of the action, if any. This name might be system-generated, such as "MyBuiltApp", or it might be defined by the user when the action is created.
sourcepub fn set_output_artifacts(self, input: Option<Vec<Artifact>>) -> Self
pub fn set_output_artifacts(self, input: Option<Vec<Artifact>>) -> Self
The name of the artifact that is the result of the action, if any. This name might be system-generated, such as "MyBuiltApp", or it might be defined by the user when the action is created.
sourcepub fn get_output_artifacts(&self) -> &Option<Vec<Artifact>>
pub fn get_output_artifacts(&self) -> &Option<Vec<Artifact>>
The name of the artifact that is the result of the action, if any. This name might be system-generated, such as "MyBuiltApp", or it might be defined by the user when the action is created.
sourcepub fn artifact_credentials(self, input: AwsSessionCredentials) -> Self
pub fn artifact_credentials(self, input: AwsSessionCredentials) -> Self
Represents an Amazon Web Services session credentials object. These credentials are temporary credentials that are issued by Amazon Web Services Secure Token Service (STS). They can be used to access input and output artifacts in the S3 bucket used to store artifact for the pipeline in CodePipeline.
sourcepub fn set_artifact_credentials(
self,
input: Option<AwsSessionCredentials>
) -> Self
pub fn set_artifact_credentials( self, input: Option<AwsSessionCredentials> ) -> Self
Represents an Amazon Web Services session credentials object. These credentials are temporary credentials that are issued by Amazon Web Services Secure Token Service (STS). They can be used to access input and output artifacts in the S3 bucket used to store artifact for the pipeline in CodePipeline.
sourcepub fn get_artifact_credentials(&self) -> &Option<AwsSessionCredentials>
pub fn get_artifact_credentials(&self) -> &Option<AwsSessionCredentials>
Represents an Amazon Web Services session credentials object. These credentials are temporary credentials that are issued by Amazon Web Services Secure Token Service (STS). They can be used to access input and output artifacts in the S3 bucket used to store artifact for the pipeline in 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 CodeDeploy deployment ID, that a job requires 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 CodeDeploy deployment ID, that a job requires to continue the job asynchronously.
sourcepub fn get_continuation_token(&self) -> &Option<String>
pub fn get_continuation_token(&self) -> &Option<String>
A system-generated token, such as a CodeDeploy deployment ID, that a job requires to continue the job asynchronously.
sourcepub fn encryption_key(self, input: EncryptionKey) -> Self
pub fn encryption_key(self, input: EncryptionKey) -> Self
The encryption key used to encrypt and decrypt data in the artifact store for the pipeline, such as an Amazon Web Services Key Management Service (Amazon Web Services KMS) key. This is optional and might not be present.
sourcepub fn set_encryption_key(self, input: Option<EncryptionKey>) -> Self
pub fn set_encryption_key(self, input: Option<EncryptionKey>) -> Self
The encryption key used to encrypt and decrypt data in the artifact store for the pipeline, such as an Amazon Web Services Key Management Service (Amazon Web Services KMS) key. This is optional and might not be present.
sourcepub fn get_encryption_key(&self) -> &Option<EncryptionKey>
pub fn get_encryption_key(&self) -> &Option<EncryptionKey>
The encryption key used to encrypt and decrypt data in the artifact store for the pipeline, such as an Amazon Web Services Key Management Service (Amazon Web Services KMS) key. This is optional and might not be present.
sourcepub fn build(self) -> ThirdPartyJobData
pub fn build(self) -> ThirdPartyJobData
Consumes the builder and constructs a ThirdPartyJobData
.
Trait Implementations§
source§impl Clone for ThirdPartyJobDataBuilder
impl Clone for ThirdPartyJobDataBuilder
source§fn clone(&self) -> ThirdPartyJobDataBuilder
fn clone(&self) -> ThirdPartyJobDataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ThirdPartyJobDataBuilder
impl Debug for ThirdPartyJobDataBuilder
source§impl Default for ThirdPartyJobDataBuilder
impl Default for ThirdPartyJobDataBuilder
source§fn default() -> ThirdPartyJobDataBuilder
fn default() -> ThirdPartyJobDataBuilder
source§impl PartialEq for ThirdPartyJobDataBuilder
impl PartialEq for ThirdPartyJobDataBuilder
source§fn eq(&self, other: &ThirdPartyJobDataBuilder) -> bool
fn eq(&self, other: &ThirdPartyJobDataBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.