#[non_exhaustive]pub struct GetSceneOutputBuilder { /* private fields */ }
Expand description
A builder for GetSceneOutput
.
Implementations§
source§impl GetSceneOutputBuilder
impl GetSceneOutputBuilder
sourcepub fn workspace_id(self, input: impl Into<String>) -> Self
pub fn workspace_id(self, input: impl Into<String>) -> Self
The ID of the workspace that contains the scene.
This field is required.sourcepub fn set_workspace_id(self, input: Option<String>) -> Self
pub fn set_workspace_id(self, input: Option<String>) -> Self
The ID of the workspace that contains the scene.
sourcepub fn get_workspace_id(&self) -> &Option<String>
pub fn get_workspace_id(&self) -> &Option<String>
The ID of the workspace that contains the scene.
sourcepub fn scene_id(self, input: impl Into<String>) -> Self
pub fn scene_id(self, input: impl Into<String>) -> Self
The ID of the scene.
This field is required.sourcepub fn set_scene_id(self, input: Option<String>) -> Self
pub fn set_scene_id(self, input: Option<String>) -> Self
The ID of the scene.
sourcepub fn get_scene_id(&self) -> &Option<String>
pub fn get_scene_id(&self) -> &Option<String>
The ID of the scene.
sourcepub fn content_location(self, input: impl Into<String>) -> Self
pub fn content_location(self, input: impl Into<String>) -> Self
The relative path that specifies the location of the content definition file.
This field is required.sourcepub fn set_content_location(self, input: Option<String>) -> Self
pub fn set_content_location(self, input: Option<String>) -> Self
The relative path that specifies the location of the content definition file.
sourcepub fn get_content_location(&self) -> &Option<String>
pub fn get_content_location(&self) -> &Option<String>
The relative path that specifies the location of the content definition file.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The ARN of the scene.
This field is required.sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
The date and time when the scene was created.
This field is required.sourcepub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
The date and time when the scene was created.
sourcepub fn get_creation_date_time(&self) -> &Option<DateTime>
pub fn get_creation_date_time(&self) -> &Option<DateTime>
The date and time when the scene was created.
sourcepub fn update_date_time(self, input: DateTime) -> Self
pub fn update_date_time(self, input: DateTime) -> Self
The date and time when the scene was last updated.
This field is required.sourcepub fn set_update_date_time(self, input: Option<DateTime>) -> Self
pub fn set_update_date_time(self, input: Option<DateTime>) -> Self
The date and time when the scene was last updated.
sourcepub fn get_update_date_time(&self) -> &Option<DateTime>
pub fn get_update_date_time(&self) -> &Option<DateTime>
The date and time when the scene was last updated.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the scene.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the scene.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the scene.
sourcepub fn capabilities(self, input: impl Into<String>) -> Self
pub fn capabilities(self, input: impl Into<String>) -> Self
Appends an item to capabilities
.
To override the contents of this collection use set_capabilities
.
A list of capabilities that the scene uses to render.
sourcepub fn set_capabilities(self, input: Option<Vec<String>>) -> Self
pub fn set_capabilities(self, input: Option<Vec<String>>) -> Self
A list of capabilities that the scene uses to render.
sourcepub fn get_capabilities(&self) -> &Option<Vec<String>>
pub fn get_capabilities(&self) -> &Option<Vec<String>>
A list of capabilities that the scene uses to render.
sourcepub fn scene_metadata(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn scene_metadata(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to scene_metadata
.
To override the contents of this collection use set_scene_metadata
.
The response metadata.
sourcepub fn set_scene_metadata(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_scene_metadata(self, input: Option<HashMap<String, String>>) -> Self
The response metadata.
sourcepub fn generated_scene_metadata(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn generated_scene_metadata( self, k: impl Into<String>, v: impl Into<String> ) -> Self
Adds a key-value pair to generated_scene_metadata
.
To override the contents of this collection use set_generated_scene_metadata
.
The generated scene metadata.
sourcepub fn set_generated_scene_metadata(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_generated_scene_metadata( self, input: Option<HashMap<String, String>> ) -> Self
The generated scene metadata.
sourcepub fn get_generated_scene_metadata(&self) -> &Option<HashMap<String, String>>
pub fn get_generated_scene_metadata(&self) -> &Option<HashMap<String, String>>
The generated scene metadata.
sourcepub fn error(self, input: SceneError) -> Self
pub fn error(self, input: SceneError) -> Self
The SceneResponse error.
sourcepub fn set_error(self, input: Option<SceneError>) -> Self
pub fn set_error(self, input: Option<SceneError>) -> Self
The SceneResponse error.
sourcepub fn get_error(&self) -> &Option<SceneError>
pub fn get_error(&self) -> &Option<SceneError>
The SceneResponse error.
sourcepub fn build(self) -> Result<GetSceneOutput, BuildError>
pub fn build(self) -> Result<GetSceneOutput, BuildError>
Consumes the builder and constructs a GetSceneOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetSceneOutputBuilder
impl Clone for GetSceneOutputBuilder
source§fn clone(&self) -> GetSceneOutputBuilder
fn clone(&self) -> GetSceneOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetSceneOutputBuilder
impl Debug for GetSceneOutputBuilder
source§impl Default for GetSceneOutputBuilder
impl Default for GetSceneOutputBuilder
source§fn default() -> GetSceneOutputBuilder
fn default() -> GetSceneOutputBuilder
source§impl PartialEq for GetSceneOutputBuilder
impl PartialEq for GetSceneOutputBuilder
source§fn eq(&self, other: &GetSceneOutputBuilder) -> bool
fn eq(&self, other: &GetSceneOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.