Struct aws_sdk_iotfleetwise::types::builders::CustomStructBuilder
source · #[non_exhaustive]pub struct CustomStructBuilder { /* private fields */ }Expand description
A builder for CustomStruct.
Implementations§
source§impl CustomStructBuilder
impl CustomStructBuilder
sourcepub fn fully_qualified_name(self, input: impl Into<String>) -> Self
pub fn fully_qualified_name(self, input: impl Into<String>) -> Self
The fully qualified name of the custom structure. For example, the fully qualified name of a custom structure might be ComplexDataTypes.VehicleDataTypes.SVMCamera.
sourcepub fn set_fully_qualified_name(self, input: Option<String>) -> Self
pub fn set_fully_qualified_name(self, input: Option<String>) -> Self
The fully qualified name of the custom structure. For example, the fully qualified name of a custom structure might be ComplexDataTypes.VehicleDataTypes.SVMCamera.
sourcepub fn get_fully_qualified_name(&self) -> &Option<String>
pub fn get_fully_qualified_name(&self) -> &Option<String>
The fully qualified name of the custom structure. For example, the fully qualified name of a custom structure might be ComplexDataTypes.VehicleDataTypes.SVMCamera.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A brief description of the custom structure.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A brief description of the custom structure.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A brief description of the custom structure.
sourcepub fn deprecation_message(self, input: impl Into<String>) -> Self
pub fn deprecation_message(self, input: impl Into<String>) -> Self
The deprecation message for the node or the branch that was moved or deleted.
sourcepub fn set_deprecation_message(self, input: Option<String>) -> Self
pub fn set_deprecation_message(self, input: Option<String>) -> Self
The deprecation message for the node or the branch that was moved or deleted.
sourcepub fn get_deprecation_message(&self) -> &Option<String>
pub fn get_deprecation_message(&self) -> &Option<String>
The deprecation message for the node or the branch that was moved or deleted.
sourcepub fn comment(self, input: impl Into<String>) -> Self
pub fn comment(self, input: impl Into<String>) -> Self
A comment in addition to the description.
sourcepub fn set_comment(self, input: Option<String>) -> Self
pub fn set_comment(self, input: Option<String>) -> Self
A comment in addition to the description.
sourcepub fn get_comment(&self) -> &Option<String>
pub fn get_comment(&self) -> &Option<String>
A comment in addition to the description.
sourcepub fn build(self) -> Result<CustomStruct, BuildError>
pub fn build(self) -> Result<CustomStruct, BuildError>
Consumes the builder and constructs a CustomStruct.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CustomStructBuilder
impl Clone for CustomStructBuilder
source§fn clone(&self) -> CustomStructBuilder
fn clone(&self) -> CustomStructBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CustomStructBuilder
impl Debug for CustomStructBuilder
source§impl Default for CustomStructBuilder
impl Default for CustomStructBuilder
source§fn default() -> CustomStructBuilder
fn default() -> CustomStructBuilder
source§impl PartialEq for CustomStructBuilder
impl PartialEq for CustomStructBuilder
source§fn eq(&self, other: &CustomStructBuilder) -> bool
fn eq(&self, other: &CustomStructBuilder) -> bool
self and other values to be equal, and is used
by ==.