Struct aws_sdk_robomaker::operation::update_robot_application::builders::UpdateRobotApplicationInputBuilder
source · #[non_exhaustive]pub struct UpdateRobotApplicationInputBuilder { /* private fields */ }Expand description
A builder for UpdateRobotApplicationInput.
Implementations§
source§impl UpdateRobotApplicationInputBuilder
impl UpdateRobotApplicationInputBuilder
sourcepub fn application(self, input: impl Into<String>) -> Self
pub fn application(self, input: impl Into<String>) -> Self
The application information for the robot application.
This field is required.sourcepub fn set_application(self, input: Option<String>) -> Self
pub fn set_application(self, input: Option<String>) -> Self
The application information for the robot application.
sourcepub fn get_application(&self) -> &Option<String>
pub fn get_application(&self) -> &Option<String>
The application information for the robot application.
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 distribution) 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 distribution) 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 distribution) used by the robot application.
sourcepub fn current_revision_id(self, input: impl Into<String>) -> Self
pub fn current_revision_id(self, input: impl Into<String>) -> Self
The revision id for the robot application.
sourcepub fn set_current_revision_id(self, input: Option<String>) -> Self
pub fn set_current_revision_id(self, input: Option<String>) -> Self
The revision id for the robot application.
sourcepub fn get_current_revision_id(&self) -> &Option<String>
pub fn get_current_revision_id(&self) -> &Option<String>
The revision id for the robot application.
sourcepub fn environment(self, input: Environment) -> Self
pub fn environment(self, input: Environment) -> Self
The object that contains the Docker image URI 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 the Docker image URI for your robot application.
sourcepub fn get_environment(&self) -> &Option<Environment>
pub fn get_environment(&self) -> &Option<Environment>
The object that contains the Docker image URI for your robot application.
sourcepub fn build(self) -> Result<UpdateRobotApplicationInput, BuildError>
pub fn build(self) -> Result<UpdateRobotApplicationInput, BuildError>
Consumes the builder and constructs a UpdateRobotApplicationInput.
source§impl UpdateRobotApplicationInputBuilder
impl UpdateRobotApplicationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateRobotApplicationOutput, SdkError<UpdateRobotApplicationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateRobotApplicationOutput, SdkError<UpdateRobotApplicationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateRobotApplicationInputBuilder
impl Clone for UpdateRobotApplicationInputBuilder
source§fn clone(&self) -> UpdateRobotApplicationInputBuilder
fn clone(&self) -> UpdateRobotApplicationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateRobotApplicationInputBuilder
impl Default for UpdateRobotApplicationInputBuilder
source§fn default() -> UpdateRobotApplicationInputBuilder
fn default() -> UpdateRobotApplicationInputBuilder
source§impl PartialEq for UpdateRobotApplicationInputBuilder
impl PartialEq for UpdateRobotApplicationInputBuilder
source§fn eq(&self, other: &UpdateRobotApplicationInputBuilder) -> bool
fn eq(&self, other: &UpdateRobotApplicationInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateRobotApplicationInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateRobotApplicationInputBuilder
impl RefUnwindSafe for UpdateRobotApplicationInputBuilder
impl Send for UpdateRobotApplicationInputBuilder
impl Sync for UpdateRobotApplicationInputBuilder
impl Unpin for UpdateRobotApplicationInputBuilder
impl UnwindSafe for UpdateRobotApplicationInputBuilder
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