Struct aws_sdk_robomaker::operation::create_robot_application::builders::CreateRobotApplicationInputBuilder
source · #[non_exhaustive]pub struct CreateRobotApplicationInputBuilder { /* private fields */ }Expand description
A builder for CreateRobotApplicationInput.
Implementations§
source§impl CreateRobotApplicationInputBuilder
impl CreateRobotApplicationInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the robot application.
This field is required.sourcepub fn sources(self, input: SourceConfig) -> Self
pub fn sources(self, input: SourceConfig) -> Self
Appends an item to sources.
To override the contents of this collection use set_sources.
The sources of the robot application.
sourcepub fn set_sources(self, input: Option<Vec<SourceConfig>>) -> Self
pub fn set_sources(self, input: Option<Vec<SourceConfig>>) -> Self
The sources of the robot application.
sourcepub fn get_sources(&self) -> &Option<Vec<SourceConfig>>
pub fn get_sources(&self) -> &Option<Vec<SourceConfig>>
The sources of the robot application.
sourcepub fn robot_software_suite(self, input: RobotSoftwareSuite) -> Self
pub fn robot_software_suite(self, input: RobotSoftwareSuite) -> Self
The robot software suite (ROS distribuition) used by the robot application.
This field is required.sourcepub fn set_robot_software_suite(self, input: Option<RobotSoftwareSuite>) -> Self
pub fn set_robot_software_suite(self, input: Option<RobotSoftwareSuite>) -> Self
The robot software suite (ROS distribuition) used by the robot application.
sourcepub fn get_robot_software_suite(&self) -> &Option<RobotSoftwareSuite>
pub fn get_robot_software_suite(&self) -> &Option<RobotSoftwareSuite>
The robot software suite (ROS distribuition) used by the robot application.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
A map that contains tag keys and tag values that are attached to the robot application.
A map that contains tag keys and tag values that are attached to the robot application.
A map that contains tag keys and tag values that are attached to the robot application.
sourcepub fn environment(self, input: Environment) -> Self
pub fn environment(self, input: Environment) -> Self
The object that contains that URI of the Docker image that you use for your robot application.
sourcepub fn set_environment(self, input: Option<Environment>) -> Self
pub fn set_environment(self, input: Option<Environment>) -> Self
The object that contains that URI of the Docker image that you use for your robot application.
sourcepub fn get_environment(&self) -> &Option<Environment>
pub fn get_environment(&self) -> &Option<Environment>
The object that contains that URI of the Docker image that you use for your robot application.
sourcepub fn build(self) -> Result<CreateRobotApplicationInput, BuildError>
pub fn build(self) -> Result<CreateRobotApplicationInput, BuildError>
Consumes the builder and constructs a CreateRobotApplicationInput.
source§impl CreateRobotApplicationInputBuilder
impl CreateRobotApplicationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateRobotApplicationOutput, SdkError<CreateRobotApplicationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateRobotApplicationOutput, SdkError<CreateRobotApplicationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateRobotApplicationInputBuilder
impl Clone for CreateRobotApplicationInputBuilder
source§fn clone(&self) -> CreateRobotApplicationInputBuilder
fn clone(&self) -> CreateRobotApplicationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateRobotApplicationInputBuilder
impl Default for CreateRobotApplicationInputBuilder
source§fn default() -> CreateRobotApplicationInputBuilder
fn default() -> CreateRobotApplicationInputBuilder
source§impl PartialEq for CreateRobotApplicationInputBuilder
impl PartialEq for CreateRobotApplicationInputBuilder
source§fn eq(&self, other: &CreateRobotApplicationInputBuilder) -> bool
fn eq(&self, other: &CreateRobotApplicationInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateRobotApplicationInputBuilder
Auto Trait Implementations§
impl Freeze for CreateRobotApplicationInputBuilder
impl RefUnwindSafe for CreateRobotApplicationInputBuilder
impl Send for CreateRobotApplicationInputBuilder
impl Sync for CreateRobotApplicationInputBuilder
impl Unpin for CreateRobotApplicationInputBuilder
impl UnwindSafe for CreateRobotApplicationInputBuilder
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