Struct aws_sdk_emrcontainers::operation::create_job_template::builders::CreateJobTemplateFluentBuilder
source · pub struct CreateJobTemplateFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateJobTemplate.
Creates a job template. Job template stores values of StartJobRun API request in a template and can be used to start a job run. Job template allows two use cases: avoid repeating recurring StartJobRun API request values, enforcing certain values in StartJobRun API request.
Implementations§
source§impl CreateJobTemplateFluentBuilder
impl CreateJobTemplateFluentBuilder
sourcepub fn as_input(&self) -> &CreateJobTemplateInputBuilder
pub fn as_input(&self) -> &CreateJobTemplateInputBuilder
Access the CreateJobTemplate as a reference.
sourcepub async fn send(
self
) -> Result<CreateJobTemplateOutput, SdkError<CreateJobTemplateError, HttpResponse>>
pub async fn send( self ) -> Result<CreateJobTemplateOutput, SdkError<CreateJobTemplateError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateJobTemplateOutput, CreateJobTemplateError>, SdkError<CreateJobTemplateError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateJobTemplateOutput, CreateJobTemplateError>, SdkError<CreateJobTemplateError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
The client token of the job template.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
The client token of the job template.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
The client token of the job template.
sourcepub fn job_template_data(self, input: JobTemplateData) -> Self
pub fn job_template_data(self, input: JobTemplateData) -> Self
The job template data which holds values of StartJobRun API request.
sourcepub fn set_job_template_data(self, input: Option<JobTemplateData>) -> Self
pub fn set_job_template_data(self, input: Option<JobTemplateData>) -> Self
The job template data which holds values of StartJobRun API request.
sourcepub fn get_job_template_data(&self) -> &Option<JobTemplateData>
pub fn get_job_template_data(&self) -> &Option<JobTemplateData>
The job template data which holds values of StartJobRun API request.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
The tags that are associated with the job template.
The tags that are associated with the job template.
The tags that are associated with the job template.
sourcepub fn kms_key_arn(self, input: impl Into<String>) -> Self
pub fn kms_key_arn(self, input: impl Into<String>) -> Self
The KMS key ARN used to encrypt the job template.
sourcepub fn set_kms_key_arn(self, input: Option<String>) -> Self
pub fn set_kms_key_arn(self, input: Option<String>) -> Self
The KMS key ARN used to encrypt the job template.
sourcepub fn get_kms_key_arn(&self) -> &Option<String>
pub fn get_kms_key_arn(&self) -> &Option<String>
The KMS key ARN used to encrypt the job template.
Trait Implementations§
source§impl Clone for CreateJobTemplateFluentBuilder
impl Clone for CreateJobTemplateFluentBuilder
source§fn clone(&self) -> CreateJobTemplateFluentBuilder
fn clone(&self) -> CreateJobTemplateFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more