Struct aws_sdk_chime::operation::create_media_capture_pipeline::builders::CreateMediaCapturePipelineInputBuilder
source · #[non_exhaustive]pub struct CreateMediaCapturePipelineInputBuilder { /* private fields */ }
Expand description
A builder for CreateMediaCapturePipelineInput
.
Implementations§
source§impl CreateMediaCapturePipelineInputBuilder
impl CreateMediaCapturePipelineInputBuilder
sourcepub fn source_type(self, input: MediaPipelineSourceType) -> Self
pub fn source_type(self, input: MediaPipelineSourceType) -> Self
Source type from which the media artifacts will be captured. A Chime SDK Meeting is the only supported source.
This field is required.sourcepub fn set_source_type(self, input: Option<MediaPipelineSourceType>) -> Self
pub fn set_source_type(self, input: Option<MediaPipelineSourceType>) -> Self
Source type from which the media artifacts will be captured. A Chime SDK Meeting is the only supported source.
sourcepub fn get_source_type(&self) -> &Option<MediaPipelineSourceType>
pub fn get_source_type(&self) -> &Option<MediaPipelineSourceType>
Source type from which the media artifacts will be captured. A Chime SDK Meeting is the only supported source.
sourcepub fn source_arn(self, input: impl Into<String>) -> Self
pub fn source_arn(self, input: impl Into<String>) -> Self
ARN of the source from which the media artifacts are captured.
This field is required.sourcepub fn set_source_arn(self, input: Option<String>) -> Self
pub fn set_source_arn(self, input: Option<String>) -> Self
ARN of the source from which the media artifacts are captured.
sourcepub fn get_source_arn(&self) -> &Option<String>
pub fn get_source_arn(&self) -> &Option<String>
ARN of the source from which the media artifacts are captured.
sourcepub fn sink_type(self, input: MediaPipelineSinkType) -> Self
pub fn sink_type(self, input: MediaPipelineSinkType) -> Self
Destination type to which the media artifacts are saved. You must use an S3 bucket.
This field is required.sourcepub fn set_sink_type(self, input: Option<MediaPipelineSinkType>) -> Self
pub fn set_sink_type(self, input: Option<MediaPipelineSinkType>) -> Self
Destination type to which the media artifacts are saved. You must use an S3 bucket.
sourcepub fn get_sink_type(&self) -> &Option<MediaPipelineSinkType>
pub fn get_sink_type(&self) -> &Option<MediaPipelineSinkType>
Destination type to which the media artifacts are saved. You must use an S3 bucket.
sourcepub fn sink_arn(self, input: impl Into<String>) -> Self
pub fn sink_arn(self, input: impl Into<String>) -> Self
The ARN of the sink type.
This field is required.sourcepub fn set_sink_arn(self, input: Option<String>) -> Self
pub fn set_sink_arn(self, input: Option<String>) -> Self
The ARN of the sink type.
sourcepub fn get_sink_arn(&self) -> &Option<String>
pub fn get_sink_arn(&self) -> &Option<String>
The ARN of the sink type.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
The unique identifier for the client request. The token makes the API request idempotent. Use a different token for different media pipeline requests.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
The unique identifier for the client request. The token makes the API request idempotent. Use a different token for different media pipeline requests.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
The unique identifier for the client request. The token makes the API request idempotent. Use a different token for different media pipeline requests.
sourcepub fn chime_sdk_meeting_configuration(
self,
input: ChimeSdkMeetingConfiguration
) -> Self
pub fn chime_sdk_meeting_configuration( self, input: ChimeSdkMeetingConfiguration ) -> Self
The configuration for a specified media capture pipeline. SourceType
must be ChimeSdkMeeting
.
sourcepub fn set_chime_sdk_meeting_configuration(
self,
input: Option<ChimeSdkMeetingConfiguration>
) -> Self
pub fn set_chime_sdk_meeting_configuration( self, input: Option<ChimeSdkMeetingConfiguration> ) -> Self
The configuration for a specified media capture pipeline. SourceType
must be ChimeSdkMeeting
.
sourcepub fn get_chime_sdk_meeting_configuration(
&self
) -> &Option<ChimeSdkMeetingConfiguration>
pub fn get_chime_sdk_meeting_configuration( &self ) -> &Option<ChimeSdkMeetingConfiguration>
The configuration for a specified media capture pipeline. SourceType
must be ChimeSdkMeeting
.
sourcepub fn build(self) -> Result<CreateMediaCapturePipelineInput, BuildError>
pub fn build(self) -> Result<CreateMediaCapturePipelineInput, BuildError>
Consumes the builder and constructs a CreateMediaCapturePipelineInput
.
source§impl CreateMediaCapturePipelineInputBuilder
impl CreateMediaCapturePipelineInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateMediaCapturePipelineOutput, SdkError<CreateMediaCapturePipelineError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateMediaCapturePipelineOutput, SdkError<CreateMediaCapturePipelineError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateMediaCapturePipelineInputBuilder
impl Clone for CreateMediaCapturePipelineInputBuilder
source§fn clone(&self) -> CreateMediaCapturePipelineInputBuilder
fn clone(&self) -> CreateMediaCapturePipelineInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateMediaCapturePipelineInputBuilder
impl Default for CreateMediaCapturePipelineInputBuilder
source§fn default() -> CreateMediaCapturePipelineInputBuilder
fn default() -> CreateMediaCapturePipelineInputBuilder
source§impl PartialEq for CreateMediaCapturePipelineInputBuilder
impl PartialEq for CreateMediaCapturePipelineInputBuilder
source§fn eq(&self, other: &CreateMediaCapturePipelineInputBuilder) -> bool
fn eq(&self, other: &CreateMediaCapturePipelineInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateMediaCapturePipelineInputBuilder
Auto Trait Implementations§
impl Freeze for CreateMediaCapturePipelineInputBuilder
impl RefUnwindSafe for CreateMediaCapturePipelineInputBuilder
impl Send for CreateMediaCapturePipelineInputBuilder
impl Sync for CreateMediaCapturePipelineInputBuilder
impl Unpin for CreateMediaCapturePipelineInputBuilder
impl UnwindSafe for CreateMediaCapturePipelineInputBuilder
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