Struct aws_sdk_deadline::types::builders::AssignedSessionBuilder
source · #[non_exhaustive]pub struct AssignedSessionBuilder { /* private fields */ }Expand description
A builder for AssignedSession.
Implementations§
source§impl AssignedSessionBuilder
impl AssignedSessionBuilder
sourcepub fn queue_id(self, input: impl Into<String>) -> Self
pub fn queue_id(self, input: impl Into<String>) -> Self
The queue ID of the assigned session.
This field is required.sourcepub fn set_queue_id(self, input: Option<String>) -> Self
pub fn set_queue_id(self, input: Option<String>) -> Self
The queue ID of the assigned session.
sourcepub fn get_queue_id(&self) -> &Option<String>
pub fn get_queue_id(&self) -> &Option<String>
The queue ID of the assigned session.
sourcepub fn job_id(self, input: impl Into<String>) -> Self
pub fn job_id(self, input: impl Into<String>) -> Self
The job ID for the assigned session.
This field is required.sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The job ID for the assigned session.
sourcepub fn get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
The job ID for the assigned session.
sourcepub fn session_actions(self, input: AssignedSessionAction) -> Self
pub fn session_actions(self, input: AssignedSessionAction) -> Self
Appends an item to session_actions.
To override the contents of this collection use set_session_actions.
The session actions to apply to the assigned session.
sourcepub fn set_session_actions(
self,
input: Option<Vec<AssignedSessionAction>>
) -> Self
pub fn set_session_actions( self, input: Option<Vec<AssignedSessionAction>> ) -> Self
The session actions to apply to the assigned session.
sourcepub fn get_session_actions(&self) -> &Option<Vec<AssignedSessionAction>>
pub fn get_session_actions(&self) -> &Option<Vec<AssignedSessionAction>>
The session actions to apply to the assigned session.
sourcepub fn log_configuration(self, input: LogConfiguration) -> Self
pub fn log_configuration(self, input: LogConfiguration) -> Self
The log configuration for the worker's assigned session.
This field is required.sourcepub fn set_log_configuration(self, input: Option<LogConfiguration>) -> Self
pub fn set_log_configuration(self, input: Option<LogConfiguration>) -> Self
The log configuration for the worker's assigned session.
sourcepub fn get_log_configuration(&self) -> &Option<LogConfiguration>
pub fn get_log_configuration(&self) -> &Option<LogConfiguration>
The log configuration for the worker's assigned session.
sourcepub fn build(self) -> Result<AssignedSession, BuildError>
pub fn build(self) -> Result<AssignedSession, BuildError>
Consumes the builder and constructs a AssignedSession.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AssignedSessionBuilder
impl Clone for AssignedSessionBuilder
source§fn clone(&self) -> AssignedSessionBuilder
fn clone(&self) -> AssignedSessionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AssignedSessionBuilder
impl Debug for AssignedSessionBuilder
source§impl Default for AssignedSessionBuilder
impl Default for AssignedSessionBuilder
source§fn default() -> AssignedSessionBuilder
fn default() -> AssignedSessionBuilder
source§impl PartialEq for AssignedSessionBuilder
impl PartialEq for AssignedSessionBuilder
source§fn eq(&self, other: &AssignedSessionBuilder) -> bool
fn eq(&self, other: &AssignedSessionBuilder) -> bool
self and other values to be equal, and is used
by ==.