Struct aws_sdk_iot::operation::start_thing_registration_task::builders::StartThingRegistrationTaskInputBuilder
source · #[non_exhaustive]pub struct StartThingRegistrationTaskInputBuilder { /* private fields */ }
Expand description
A builder for StartThingRegistrationTaskInput
.
Implementations§
source§impl StartThingRegistrationTaskInputBuilder
impl StartThingRegistrationTaskInputBuilder
sourcepub fn template_body(self, input: impl Into<String>) -> Self
pub fn template_body(self, input: impl Into<String>) -> Self
The provisioning template.
This field is required.sourcepub fn set_template_body(self, input: Option<String>) -> Self
pub fn set_template_body(self, input: Option<String>) -> Self
The provisioning template.
sourcepub fn get_template_body(&self) -> &Option<String>
pub fn get_template_body(&self) -> &Option<String>
The provisioning template.
sourcepub fn input_file_bucket(self, input: impl Into<String>) -> Self
pub fn input_file_bucket(self, input: impl Into<String>) -> Self
The S3 bucket that contains the input file.
This field is required.sourcepub fn set_input_file_bucket(self, input: Option<String>) -> Self
pub fn set_input_file_bucket(self, input: Option<String>) -> Self
The S3 bucket that contains the input file.
sourcepub fn get_input_file_bucket(&self) -> &Option<String>
pub fn get_input_file_bucket(&self) -> &Option<String>
The S3 bucket that contains the input file.
sourcepub fn input_file_key(self, input: impl Into<String>) -> Self
pub fn input_file_key(self, input: impl Into<String>) -> Self
The name of input file within the S3 bucket. This file contains a newline delimited JSON file. Each line contains the parameter values to provision one device (thing).
This field is required.sourcepub fn set_input_file_key(self, input: Option<String>) -> Self
pub fn set_input_file_key(self, input: Option<String>) -> Self
The name of input file within the S3 bucket. This file contains a newline delimited JSON file. Each line contains the parameter values to provision one device (thing).
sourcepub fn get_input_file_key(&self) -> &Option<String>
pub fn get_input_file_key(&self) -> &Option<String>
The name of input file within the S3 bucket. This file contains a newline delimited JSON file. Each line contains the parameter values to provision one device (thing).
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The IAM role ARN that grants permission the input file.
This field is required.sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The IAM role ARN that grants permission the input file.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The IAM role ARN that grants permission the input file.
sourcepub fn build(self) -> Result<StartThingRegistrationTaskInput, BuildError>
pub fn build(self) -> Result<StartThingRegistrationTaskInput, BuildError>
Consumes the builder and constructs a StartThingRegistrationTaskInput
.
source§impl StartThingRegistrationTaskInputBuilder
impl StartThingRegistrationTaskInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartThingRegistrationTaskOutput, SdkError<StartThingRegistrationTaskError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartThingRegistrationTaskOutput, SdkError<StartThingRegistrationTaskError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartThingRegistrationTaskInputBuilder
impl Clone for StartThingRegistrationTaskInputBuilder
source§fn clone(&self) -> StartThingRegistrationTaskInputBuilder
fn clone(&self) -> StartThingRegistrationTaskInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StartThingRegistrationTaskInputBuilder
impl Default for StartThingRegistrationTaskInputBuilder
source§fn default() -> StartThingRegistrationTaskInputBuilder
fn default() -> StartThingRegistrationTaskInputBuilder
source§impl PartialEq for StartThingRegistrationTaskInputBuilder
impl PartialEq for StartThingRegistrationTaskInputBuilder
source§fn eq(&self, other: &StartThingRegistrationTaskInputBuilder) -> bool
fn eq(&self, other: &StartThingRegistrationTaskInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StartThingRegistrationTaskInputBuilder
Auto Trait Implementations§
impl Freeze for StartThingRegistrationTaskInputBuilder
impl RefUnwindSafe for StartThingRegistrationTaskInputBuilder
impl Send for StartThingRegistrationTaskInputBuilder
impl Sync for StartThingRegistrationTaskInputBuilder
impl Unpin for StartThingRegistrationTaskInputBuilder
impl UnwindSafe for StartThingRegistrationTaskInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more