Struct aws_sdk_appstream::operation::create_image_builder_streaming_url::builders::CreateImageBuilderStreamingUrlInputBuilder
source · #[non_exhaustive]pub struct CreateImageBuilderStreamingUrlInputBuilder { /* private fields */ }
Expand description
A builder for CreateImageBuilderStreamingUrlInput
.
Implementations§
source§impl CreateImageBuilderStreamingUrlInputBuilder
impl CreateImageBuilderStreamingUrlInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the image builder.
This field is required.sourcepub fn validity(self, input: i64) -> Self
pub fn validity(self, input: i64) -> Self
The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 3600 seconds.
sourcepub fn set_validity(self, input: Option<i64>) -> Self
pub fn set_validity(self, input: Option<i64>) -> Self
The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 3600 seconds.
sourcepub fn get_validity(&self) -> &Option<i64>
pub fn get_validity(&self) -> &Option<i64>
The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 3600 seconds.
sourcepub fn build(self) -> Result<CreateImageBuilderStreamingUrlInput, BuildError>
pub fn build(self) -> Result<CreateImageBuilderStreamingUrlInput, BuildError>
Consumes the builder and constructs a CreateImageBuilderStreamingUrlInput
.
source§impl CreateImageBuilderStreamingUrlInputBuilder
impl CreateImageBuilderStreamingUrlInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateImageBuilderStreamingUrlOutput, SdkError<CreateImageBuilderStreamingURLError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateImageBuilderStreamingUrlOutput, SdkError<CreateImageBuilderStreamingURLError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateImageBuilderStreamingUrlInputBuilder
impl Clone for CreateImageBuilderStreamingUrlInputBuilder
source§fn clone(&self) -> CreateImageBuilderStreamingUrlInputBuilder
fn clone(&self) -> CreateImageBuilderStreamingUrlInputBuilder
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 CreateImageBuilderStreamingUrlInputBuilder
impl Default for CreateImageBuilderStreamingUrlInputBuilder
source§fn default() -> CreateImageBuilderStreamingUrlInputBuilder
fn default() -> CreateImageBuilderStreamingUrlInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateImageBuilderStreamingUrlInputBuilder
impl PartialEq for CreateImageBuilderStreamingUrlInputBuilder
source§fn eq(&self, other: &CreateImageBuilderStreamingUrlInputBuilder) -> bool
fn eq(&self, other: &CreateImageBuilderStreamingUrlInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateImageBuilderStreamingUrlInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateImageBuilderStreamingUrlInputBuilder
impl Send for CreateImageBuilderStreamingUrlInputBuilder
impl Sync for CreateImageBuilderStreamingUrlInputBuilder
impl Unpin for CreateImageBuilderStreamingUrlInputBuilder
impl UnwindSafe for CreateImageBuilderStreamingUrlInputBuilder
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.