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 ==.