Struct aws_sdk_iotsitewise::operation::update_dashboard::builders::UpdateDashboardInputBuilder
source · #[non_exhaustive]pub struct UpdateDashboardInputBuilder { /* private fields */ }Expand description
A builder for UpdateDashboardInput.
Implementations§
source§impl UpdateDashboardInputBuilder
impl UpdateDashboardInputBuilder
sourcepub fn dashboard_id(self, input: impl Into<String>) -> Self
pub fn dashboard_id(self, input: impl Into<String>) -> Self
The ID of the dashboard to update.
This field is required.sourcepub fn set_dashboard_id(self, input: Option<String>) -> Self
pub fn set_dashboard_id(self, input: Option<String>) -> Self
The ID of the dashboard to update.
sourcepub fn get_dashboard_id(&self) -> &Option<String>
pub fn get_dashboard_id(&self) -> &Option<String>
The ID of the dashboard to update.
sourcepub fn dashboard_name(self, input: impl Into<String>) -> Self
pub fn dashboard_name(self, input: impl Into<String>) -> Self
A new friendly name for the dashboard.
This field is required.sourcepub fn set_dashboard_name(self, input: Option<String>) -> Self
pub fn set_dashboard_name(self, input: Option<String>) -> Self
A new friendly name for the dashboard.
sourcepub fn get_dashboard_name(&self) -> &Option<String>
pub fn get_dashboard_name(&self) -> &Option<String>
A new friendly name for the dashboard.
sourcepub fn dashboard_description(self, input: impl Into<String>) -> Self
pub fn dashboard_description(self, input: impl Into<String>) -> Self
A new description for the dashboard.
sourcepub fn set_dashboard_description(self, input: Option<String>) -> Self
pub fn set_dashboard_description(self, input: Option<String>) -> Self
A new description for the dashboard.
sourcepub fn get_dashboard_description(&self) -> &Option<String>
pub fn get_dashboard_description(&self) -> &Option<String>
A new description for the dashboard.
sourcepub fn dashboard_definition(self, input: impl Into<String>) -> Self
pub fn dashboard_definition(self, input: impl Into<String>) -> Self
The new dashboard definition, as specified in a JSON literal. For detailed information, see Creating dashboards (CLI) in the IoT SiteWise User Guide.
This field is required.sourcepub fn set_dashboard_definition(self, input: Option<String>) -> Self
pub fn set_dashboard_definition(self, input: Option<String>) -> Self
The new dashboard definition, as specified in a JSON literal. For detailed information, see Creating dashboards (CLI) in the IoT SiteWise User Guide.
sourcepub fn get_dashboard_definition(&self) -> &Option<String>
pub fn get_dashboard_definition(&self) -> &Option<String>
The new dashboard definition, as specified in a JSON literal. For detailed information, see Creating dashboards (CLI) in the IoT SiteWise User Guide.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
sourcepub fn build(self) -> Result<UpdateDashboardInput, BuildError>
pub fn build(self) -> Result<UpdateDashboardInput, BuildError>
Consumes the builder and constructs a UpdateDashboardInput.
source§impl UpdateDashboardInputBuilder
impl UpdateDashboardInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateDashboardOutput, SdkError<UpdateDashboardError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateDashboardOutput, SdkError<UpdateDashboardError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateDashboardInputBuilder
impl Clone for UpdateDashboardInputBuilder
source§fn clone(&self) -> UpdateDashboardInputBuilder
fn clone(&self) -> UpdateDashboardInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateDashboardInputBuilder
impl Debug for UpdateDashboardInputBuilder
source§impl Default for UpdateDashboardInputBuilder
impl Default for UpdateDashboardInputBuilder
source§fn default() -> UpdateDashboardInputBuilder
fn default() -> UpdateDashboardInputBuilder
source§impl PartialEq for UpdateDashboardInputBuilder
impl PartialEq for UpdateDashboardInputBuilder
source§fn eq(&self, other: &UpdateDashboardInputBuilder) -> bool
fn eq(&self, other: &UpdateDashboardInputBuilder) -> bool
self and other values to be equal, and is used
by ==.