Struct aws_sdk_connect::types::builders::ViewBuilder
source · #[non_exhaustive]pub struct ViewBuilder { /* private fields */ }
Expand description
A builder for View
.
Implementations§
source§impl ViewBuilder
impl ViewBuilder
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the view.
sourcepub fn status(self, input: ViewStatus) -> Self
pub fn status(self, input: ViewStatus) -> Self
Indicates the view status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content.
sourcepub fn set_status(self, input: Option<ViewStatus>) -> Self
pub fn set_status(self, input: Option<ViewStatus>) -> Self
Indicates the view status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content.
sourcepub fn get_status(&self) -> &Option<ViewStatus>
pub fn get_status(&self) -> &Option<ViewStatus>
Indicates the view status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content.
sourcepub fn set_type(self, input: Option<ViewType>) -> Self
pub fn set_type(self, input: Option<ViewType>) -> Self
The type of the view - CUSTOMER_MANAGED
.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the view.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the view.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the view.
sourcepub fn set_version(self, input: Option<i32>) -> Self
pub fn set_version(self, input: Option<i32>) -> Self
Current version of the view.
sourcepub fn get_version(&self) -> &Option<i32>
pub fn get_version(&self) -> &Option<i32>
Current version of the view.
sourcepub fn version_description(self, input: impl Into<String>) -> Self
pub fn version_description(self, input: impl Into<String>) -> Self
The description of the version.
sourcepub fn set_version_description(self, input: Option<String>) -> Self
pub fn set_version_description(self, input: Option<String>) -> Self
The description of the version.
sourcepub fn get_version_description(&self) -> &Option<String>
pub fn get_version_description(&self) -> &Option<String>
The description of the version.
sourcepub fn content(self, input: ViewContent) -> Self
pub fn content(self, input: ViewContent) -> Self
View content containing all content necessary to render a view except for runtime input data.
sourcepub fn set_content(self, input: Option<ViewContent>) -> Self
pub fn set_content(self, input: Option<ViewContent>) -> Self
View content containing all content necessary to render a view except for runtime input data.
sourcepub fn get_content(&self) -> &Option<ViewContent>
pub fn get_content(&self) -> &Option<ViewContent>
View content containing all content necessary to render a view except for runtime input data.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags associated with the view resource (not specific to view version).
The tags associated with the view resource (not specific to view version).
The tags associated with the view resource (not specific to view version).
sourcepub fn created_time(self, input: DateTime) -> Self
pub fn created_time(self, input: DateTime) -> Self
The timestamp of when the view was created.
sourcepub fn set_created_time(self, input: Option<DateTime>) -> Self
pub fn set_created_time(self, input: Option<DateTime>) -> Self
The timestamp of when the view was created.
sourcepub fn get_created_time(&self) -> &Option<DateTime>
pub fn get_created_time(&self) -> &Option<DateTime>
The timestamp of when the view was created.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
Latest timestamp of the UpdateViewContent
or CreateViewVersion
operations.
sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
Latest timestamp of the UpdateViewContent
or CreateViewVersion
operations.
sourcepub fn get_last_modified_time(&self) -> &Option<DateTime>
pub fn get_last_modified_time(&self) -> &Option<DateTime>
Latest timestamp of the UpdateViewContent
or CreateViewVersion
operations.
sourcepub fn view_content_sha256(self, input: impl Into<String>) -> Self
pub fn view_content_sha256(self, input: impl Into<String>) -> Self
Indicates the checksum value of the latest published view content.
sourcepub fn set_view_content_sha256(self, input: Option<String>) -> Self
pub fn set_view_content_sha256(self, input: Option<String>) -> Self
Indicates the checksum value of the latest published view content.
sourcepub fn get_view_content_sha256(&self) -> &Option<String>
pub fn get_view_content_sha256(&self) -> &Option<String>
Indicates the checksum value of the latest published view content.
Trait Implementations§
source§impl Clone for ViewBuilder
impl Clone for ViewBuilder
source§fn clone(&self) -> ViewBuilder
fn clone(&self) -> ViewBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ViewBuilder
impl Debug for ViewBuilder
source§impl Default for ViewBuilder
impl Default for ViewBuilder
source§fn default() -> ViewBuilder
fn default() -> ViewBuilder
source§impl PartialEq for ViewBuilder
impl PartialEq for ViewBuilder
source§fn eq(&self, other: &ViewBuilder) -> bool
fn eq(&self, other: &ViewBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.