Struct aws_sdk_kinesisvideosignaling::operation::get_ice_server_config::builders::GetIceServerConfigInputBuilder
source · #[non_exhaustive]pub struct GetIceServerConfigInputBuilder { /* private fields */ }
Expand description
A builder for GetIceServerConfigInput
.
Implementations§
source§impl GetIceServerConfigInputBuilder
impl GetIceServerConfigInputBuilder
sourcepub fn channel_arn(self, input: impl Into<String>) -> Self
pub fn channel_arn(self, input: impl Into<String>) -> Self
The ARN of the signaling channel to be used for the peer-to-peer connection between configured peers.
This field is required.sourcepub fn set_channel_arn(self, input: Option<String>) -> Self
pub fn set_channel_arn(self, input: Option<String>) -> Self
The ARN of the signaling channel to be used for the peer-to-peer connection between configured peers.
sourcepub fn get_channel_arn(&self) -> &Option<String>
pub fn get_channel_arn(&self) -> &Option<String>
The ARN of the signaling channel to be used for the peer-to-peer connection between configured peers.
sourcepub fn client_id(self, input: impl Into<String>) -> Self
pub fn client_id(self, input: impl Into<String>) -> Self
Unique identifier for the viewer. Must be unique within the signaling channel.
sourcepub fn set_client_id(self, input: Option<String>) -> Self
pub fn set_client_id(self, input: Option<String>) -> Self
Unique identifier for the viewer. Must be unique within the signaling channel.
sourcepub fn get_client_id(&self) -> &Option<String>
pub fn get_client_id(&self) -> &Option<String>
Unique identifier for the viewer. Must be unique within the signaling channel.
sourcepub fn service(self, input: Service) -> Self
pub fn service(self, input: Service) -> Self
Specifies the desired service. Currently, TURN
is the only valid value.
sourcepub fn set_service(self, input: Option<Service>) -> Self
pub fn set_service(self, input: Option<Service>) -> Self
Specifies the desired service. Currently, TURN
is the only valid value.
sourcepub fn get_service(&self) -> &Option<Service>
pub fn get_service(&self) -> &Option<Service>
Specifies the desired service. Currently, TURN
is the only valid value.
sourcepub fn username(self, input: impl Into<String>) -> Self
pub fn username(self, input: impl Into<String>) -> Self
An optional user ID to be associated with the credentials.
sourcepub fn set_username(self, input: Option<String>) -> Self
pub fn set_username(self, input: Option<String>) -> Self
An optional user ID to be associated with the credentials.
sourcepub fn get_username(&self) -> &Option<String>
pub fn get_username(&self) -> &Option<String>
An optional user ID to be associated with the credentials.
sourcepub fn build(self) -> Result<GetIceServerConfigInput, BuildError>
pub fn build(self) -> Result<GetIceServerConfigInput, BuildError>
Consumes the builder and constructs a GetIceServerConfigInput
.
source§impl GetIceServerConfigInputBuilder
impl GetIceServerConfigInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetIceServerConfigOutput, SdkError<GetIceServerConfigError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetIceServerConfigOutput, SdkError<GetIceServerConfigError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetIceServerConfigInputBuilder
impl Clone for GetIceServerConfigInputBuilder
source§fn clone(&self) -> GetIceServerConfigInputBuilder
fn clone(&self) -> GetIceServerConfigInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetIceServerConfigInputBuilder
impl Default for GetIceServerConfigInputBuilder
source§fn default() -> GetIceServerConfigInputBuilder
fn default() -> GetIceServerConfigInputBuilder
source§impl PartialEq for GetIceServerConfigInputBuilder
impl PartialEq for GetIceServerConfigInputBuilder
source§fn eq(&self, other: &GetIceServerConfigInputBuilder) -> bool
fn eq(&self, other: &GetIceServerConfigInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetIceServerConfigInputBuilder
Auto Trait Implementations§
impl Freeze for GetIceServerConfigInputBuilder
impl RefUnwindSafe for GetIceServerConfigInputBuilder
impl Send for GetIceServerConfigInputBuilder
impl Sync for GetIceServerConfigInputBuilder
impl Unpin for GetIceServerConfigInputBuilder
impl UnwindSafe for GetIceServerConfigInputBuilder
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