pub struct Builder { /* private fields */ }
Expand description
A builder for ThirdPartyJobDetails
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier used to identify the job details in AWS CodePipeline.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier used to identify the job details in AWS CodePipeline.
sourcepub fn data(self, input: ThirdPartyJobData) -> Self
pub fn data(self, input: ThirdPartyJobData) -> Self
The data to be returned by the third party job worker.
sourcepub fn set_data(self, input: Option<ThirdPartyJobData>) -> Self
pub fn set_data(self, input: Option<ThirdPartyJobData>) -> Self
The data to be returned by the third party job worker.
sourcepub fn nonce(self, input: impl Into<String>) -> Self
pub fn nonce(self, input: impl Into<String>) -> Self
A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker. Use this number in an AcknowledgeThirdPartyJob
request.
sourcepub fn set_nonce(self, input: Option<String>) -> Self
pub fn set_nonce(self, input: Option<String>) -> Self
A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker. Use this number in an AcknowledgeThirdPartyJob
request.
sourcepub fn build(self) -> ThirdPartyJobDetails
pub fn build(self) -> ThirdPartyJobDetails
Consumes the builder and constructs a ThirdPartyJobDetails
.