Struct aws_sdk_mediaconnect::operation::update_gateway_instance::builders::UpdateGatewayInstanceInputBuilder
source · #[non_exhaustive]pub struct UpdateGatewayInstanceInputBuilder { /* private fields */ }
Expand description
A builder for UpdateGatewayInstanceInput
.
Implementations§
source§impl UpdateGatewayInstanceInputBuilder
impl UpdateGatewayInstanceInputBuilder
sourcepub fn bridge_placement(self, input: BridgePlacement) -> Self
pub fn bridge_placement(self, input: BridgePlacement) -> Self
The availability of the instance to host new bridges. The bridgePlacement property can be LOCKED or AVAILABLE. If it is LOCKED, no new bridges can be deployed to this instance. If it is AVAILABLE, new bridges can be added to this instance.
sourcepub fn set_bridge_placement(self, input: Option<BridgePlacement>) -> Self
pub fn set_bridge_placement(self, input: Option<BridgePlacement>) -> Self
The availability of the instance to host new bridges. The bridgePlacement property can be LOCKED or AVAILABLE. If it is LOCKED, no new bridges can be deployed to this instance. If it is AVAILABLE, new bridges can be added to this instance.
sourcepub fn get_bridge_placement(&self) -> &Option<BridgePlacement>
pub fn get_bridge_placement(&self) -> &Option<BridgePlacement>
The availability of the instance to host new bridges. The bridgePlacement property can be LOCKED or AVAILABLE. If it is LOCKED, no new bridges can be deployed to this instance. If it is AVAILABLE, new bridges can be added to this instance.
sourcepub fn gateway_instance_arn(self, input: impl Into<String>) -> Self
pub fn gateway_instance_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the instance that you want to update. This field is required.
sourcepub fn set_gateway_instance_arn(self, input: Option<String>) -> Self
pub fn set_gateway_instance_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the instance that you want to update.
sourcepub fn get_gateway_instance_arn(&self) -> &Option<String>
pub fn get_gateway_instance_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the instance that you want to update.
sourcepub fn build(self) -> Result<UpdateGatewayInstanceInput, BuildError>
pub fn build(self) -> Result<UpdateGatewayInstanceInput, BuildError>
Consumes the builder and constructs a UpdateGatewayInstanceInput
.
source§impl UpdateGatewayInstanceInputBuilder
impl UpdateGatewayInstanceInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateGatewayInstanceOutput, SdkError<UpdateGatewayInstanceError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateGatewayInstanceOutput, SdkError<UpdateGatewayInstanceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateGatewayInstanceInputBuilder
impl Clone for UpdateGatewayInstanceInputBuilder
source§fn clone(&self) -> UpdateGatewayInstanceInputBuilder
fn clone(&self) -> UpdateGatewayInstanceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateGatewayInstanceInputBuilder
impl Default for UpdateGatewayInstanceInputBuilder
source§fn default() -> UpdateGatewayInstanceInputBuilder
fn default() -> UpdateGatewayInstanceInputBuilder
source§impl PartialEq for UpdateGatewayInstanceInputBuilder
impl PartialEq for UpdateGatewayInstanceInputBuilder
source§fn eq(&self, other: &UpdateGatewayInstanceInputBuilder) -> bool
fn eq(&self, other: &UpdateGatewayInstanceInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateGatewayInstanceInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateGatewayInstanceInputBuilder
impl RefUnwindSafe for UpdateGatewayInstanceInputBuilder
impl Send for UpdateGatewayInstanceInputBuilder
impl Sync for UpdateGatewayInstanceInputBuilder
impl Unpin for UpdateGatewayInstanceInputBuilder
impl UnwindSafe for UpdateGatewayInstanceInputBuilder
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