Struct aws_sdk_opsworkscm::operation::update_server_engine_attributes::builders::UpdateServerEngineAttributesInputBuilder
source · #[non_exhaustive]pub struct UpdateServerEngineAttributesInputBuilder { /* private fields */ }
Expand description
A builder for UpdateServerEngineAttributesInput
.
Implementations§
source§impl UpdateServerEngineAttributesInputBuilder
impl UpdateServerEngineAttributesInputBuilder
sourcepub fn server_name(self, input: impl Into<String>) -> Self
pub fn server_name(self, input: impl Into<String>) -> Self
The name of the server to update.
This field is required.sourcepub fn set_server_name(self, input: Option<String>) -> Self
pub fn set_server_name(self, input: Option<String>) -> Self
The name of the server to update.
sourcepub fn get_server_name(&self) -> &Option<String>
pub fn get_server_name(&self) -> &Option<String>
The name of the server to update.
sourcepub fn attribute_name(self, input: impl Into<String>) -> Self
pub fn attribute_name(self, input: impl Into<String>) -> Self
The name of the engine attribute to update.
This field is required.sourcepub fn set_attribute_name(self, input: Option<String>) -> Self
pub fn set_attribute_name(self, input: Option<String>) -> Self
The name of the engine attribute to update.
sourcepub fn get_attribute_name(&self) -> &Option<String>
pub fn get_attribute_name(&self) -> &Option<String>
The name of the engine attribute to update.
sourcepub fn attribute_value(self, input: impl Into<String>) -> Self
pub fn attribute_value(self, input: impl Into<String>) -> Self
The value to set for the attribute.
sourcepub fn set_attribute_value(self, input: Option<String>) -> Self
pub fn set_attribute_value(self, input: Option<String>) -> Self
The value to set for the attribute.
sourcepub fn get_attribute_value(&self) -> &Option<String>
pub fn get_attribute_value(&self) -> &Option<String>
The value to set for the attribute.
sourcepub fn build(self) -> Result<UpdateServerEngineAttributesInput, BuildError>
pub fn build(self) -> Result<UpdateServerEngineAttributesInput, BuildError>
Consumes the builder and constructs a UpdateServerEngineAttributesInput
.
source§impl UpdateServerEngineAttributesInputBuilder
impl UpdateServerEngineAttributesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateServerEngineAttributesOutput, SdkError<UpdateServerEngineAttributesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateServerEngineAttributesOutput, SdkError<UpdateServerEngineAttributesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateServerEngineAttributesInputBuilder
impl Clone for UpdateServerEngineAttributesInputBuilder
source§fn clone(&self) -> UpdateServerEngineAttributesInputBuilder
fn clone(&self) -> UpdateServerEngineAttributesInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for UpdateServerEngineAttributesInputBuilder
impl Default for UpdateServerEngineAttributesInputBuilder
source§fn default() -> UpdateServerEngineAttributesInputBuilder
fn default() -> UpdateServerEngineAttributesInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateServerEngineAttributesInputBuilder
impl PartialEq for UpdateServerEngineAttributesInputBuilder
source§fn eq(&self, other: &UpdateServerEngineAttributesInputBuilder) -> bool
fn eq(&self, other: &UpdateServerEngineAttributesInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateServerEngineAttributesInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateServerEngineAttributesInputBuilder
impl Send for UpdateServerEngineAttributesInputBuilder
impl Sync for UpdateServerEngineAttributesInputBuilder
impl Unpin for UpdateServerEngineAttributesInputBuilder
impl UnwindSafe for UpdateServerEngineAttributesInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.