Struct aws_sdk_nimble::operation::create_streaming_session::builders::CreateStreamingSessionInputBuilder
source · #[non_exhaustive]pub struct CreateStreamingSessionInputBuilder { /* private fields */ }
Expand description
A builder for CreateStreamingSessionInput
.
Implementations§
source§impl CreateStreamingSessionInputBuilder
impl CreateStreamingSessionInputBuilder
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
sourcepub fn ec2_instance_type(self, input: StreamingInstanceType) -> Self
pub fn ec2_instance_type(self, input: StreamingInstanceType) -> Self
The EC2 Instance type used for the streaming session.
sourcepub fn set_ec2_instance_type(self, input: Option<StreamingInstanceType>) -> Self
pub fn set_ec2_instance_type(self, input: Option<StreamingInstanceType>) -> Self
The EC2 Instance type used for the streaming session.
sourcepub fn get_ec2_instance_type(&self) -> &Option<StreamingInstanceType>
pub fn get_ec2_instance_type(&self) -> &Option<StreamingInstanceType>
The EC2 Instance type used for the streaming session.
sourcepub fn launch_profile_id(self, input: impl Into<String>) -> Self
pub fn launch_profile_id(self, input: impl Into<String>) -> Self
The ID of the launch profile used to control access from the streaming session.
This field is required.sourcepub fn set_launch_profile_id(self, input: Option<String>) -> Self
pub fn set_launch_profile_id(self, input: Option<String>) -> Self
The ID of the launch profile used to control access from the streaming session.
sourcepub fn get_launch_profile_id(&self) -> &Option<String>
pub fn get_launch_profile_id(&self) -> &Option<String>
The ID of the launch profile used to control access from the streaming session.
sourcepub fn owned_by(self, input: impl Into<String>) -> Self
pub fn owned_by(self, input: impl Into<String>) -> Self
The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation.
sourcepub fn set_owned_by(self, input: Option<String>) -> Self
pub fn set_owned_by(self, input: Option<String>) -> Self
The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation.
sourcepub fn get_owned_by(&self) -> &Option<String>
pub fn get_owned_by(&self) -> &Option<String>
The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation.
sourcepub fn streaming_image_id(self, input: impl Into<String>) -> Self
pub fn streaming_image_id(self, input: impl Into<String>) -> Self
The ID of the streaming image.
sourcepub fn set_streaming_image_id(self, input: Option<String>) -> Self
pub fn set_streaming_image_id(self, input: Option<String>) -> Self
The ID of the streaming image.
sourcepub fn get_streaming_image_id(&self) -> &Option<String>
pub fn get_streaming_image_id(&self) -> &Option<String>
The ID of the streaming image.
sourcepub fn studio_id(self, input: impl Into<String>) -> Self
pub fn studio_id(self, input: impl Into<String>) -> Self
The studio ID.
This field is required.sourcepub fn set_studio_id(self, input: Option<String>) -> Self
pub fn set_studio_id(self, input: Option<String>) -> Self
The studio ID.
sourcepub fn get_studio_id(&self) -> &Option<String>
pub fn get_studio_id(&self) -> &Option<String>
The studio ID.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
A collection of labels, in the form of key-value pairs, that apply to this resource.
A collection of labels, in the form of key-value pairs, that apply to this resource.
A collection of labels, in the form of key-value pairs, that apply to this resource.
sourcepub fn build(self) -> Result<CreateStreamingSessionInput, BuildError>
pub fn build(self) -> Result<CreateStreamingSessionInput, BuildError>
Consumes the builder and constructs a CreateStreamingSessionInput
.
source§impl CreateStreamingSessionInputBuilder
impl CreateStreamingSessionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateStreamingSessionOutput, SdkError<CreateStreamingSessionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateStreamingSessionOutput, SdkError<CreateStreamingSessionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateStreamingSessionInputBuilder
impl Clone for CreateStreamingSessionInputBuilder
source§fn clone(&self) -> CreateStreamingSessionInputBuilder
fn clone(&self) -> CreateStreamingSessionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateStreamingSessionInputBuilder
impl Default for CreateStreamingSessionInputBuilder
source§fn default() -> CreateStreamingSessionInputBuilder
fn default() -> CreateStreamingSessionInputBuilder
source§impl PartialEq for CreateStreamingSessionInputBuilder
impl PartialEq for CreateStreamingSessionInputBuilder
source§fn eq(&self, other: &CreateStreamingSessionInputBuilder) -> bool
fn eq(&self, other: &CreateStreamingSessionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.