Struct aws_sdk_iot1clickprojects::operation::update_project::builders::UpdateProjectFluentBuilder
source · pub struct UpdateProjectFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateProject.
Updates a project associated with your AWS account and region. With the exception of device template names, you can pass just the values that need to be updated because the update request will change only the values that are provided. To clear a value, pass the empty string (i.e., "").
Implementations§
source§impl UpdateProjectFluentBuilder
impl UpdateProjectFluentBuilder
sourcepub fn as_input(&self) -> &UpdateProjectInputBuilder
pub fn as_input(&self) -> &UpdateProjectInputBuilder
Access the UpdateProject as a reference.
sourcepub async fn send(
self
) -> Result<UpdateProjectOutput, SdkError<UpdateProjectError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateProjectOutput, SdkError<UpdateProjectError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateProjectOutput, UpdateProjectError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateProjectOutput, UpdateProjectError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn project_name(self, input: impl Into<String>) -> Self
pub fn project_name(self, input: impl Into<String>) -> Self
The name of the project to be updated.
sourcepub fn set_project_name(self, input: Option<String>) -> Self
pub fn set_project_name(self, input: Option<String>) -> Self
The name of the project to be updated.
sourcepub fn get_project_name(&self) -> &Option<String>
pub fn get_project_name(&self) -> &Option<String>
The name of the project to be updated.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
An optional user-defined description for the project.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
An optional user-defined description for the project.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
An optional user-defined description for the project.
sourcepub fn placement_template(self, input: PlacementTemplate) -> Self
pub fn placement_template(self, input: PlacementTemplate) -> Self
An object defining the project update. Once a project has been created, you cannot add device template names to the project. However, for a given placementTemplate, you can update the associated callbackOverrides for the device definition using this API.
sourcepub fn set_placement_template(self, input: Option<PlacementTemplate>) -> Self
pub fn set_placement_template(self, input: Option<PlacementTemplate>) -> Self
An object defining the project update. Once a project has been created, you cannot add device template names to the project. However, for a given placementTemplate, you can update the associated callbackOverrides for the device definition using this API.
sourcepub fn get_placement_template(&self) -> &Option<PlacementTemplate>
pub fn get_placement_template(&self) -> &Option<PlacementTemplate>
An object defining the project update. Once a project has been created, you cannot add device template names to the project. However, for a given placementTemplate, you can update the associated callbackOverrides for the device definition using this API.
Trait Implementations§
source§impl Clone for UpdateProjectFluentBuilder
impl Clone for UpdateProjectFluentBuilder
source§fn clone(&self) -> UpdateProjectFluentBuilder
fn clone(&self) -> UpdateProjectFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more