Struct aws_sdk_iotsitewise::operation::describe_project::builders::DescribeProjectOutputBuilder
source · #[non_exhaustive]pub struct DescribeProjectOutputBuilder { /* private fields */ }Expand description
A builder for DescribeProjectOutput.
Implementations§
source§impl DescribeProjectOutputBuilder
impl DescribeProjectOutputBuilder
sourcepub fn project_id(self, input: impl Into<String>) -> Self
pub fn project_id(self, input: impl Into<String>) -> Self
The ID of the project.
This field is required.sourcepub fn set_project_id(self, input: Option<String>) -> Self
pub fn set_project_id(self, input: Option<String>) -> Self
The ID of the project.
sourcepub fn get_project_id(&self) -> &Option<String>
pub fn get_project_id(&self) -> &Option<String>
The ID of the project.
sourcepub fn project_arn(self, input: impl Into<String>) -> Self
pub fn project_arn(self, input: impl Into<String>) -> Self
The ARN of the project, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:project/${ProjectId}
sourcepub fn set_project_arn(self, input: Option<String>) -> Self
pub fn set_project_arn(self, input: Option<String>) -> Self
The ARN of the project, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:project/${ProjectId}
sourcepub fn get_project_arn(&self) -> &Option<String>
pub fn get_project_arn(&self) -> &Option<String>
The ARN of the project, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:project/${ProjectId}
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.
This field is required.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.
sourcepub fn get_project_name(&self) -> &Option<String>
pub fn get_project_name(&self) -> &Option<String>
The name of the project.
sourcepub fn portal_id(self, input: impl Into<String>) -> Self
pub fn portal_id(self, input: impl Into<String>) -> Self
The ID of the portal that the project is in.
This field is required.sourcepub fn set_portal_id(self, input: Option<String>) -> Self
pub fn set_portal_id(self, input: Option<String>) -> Self
The ID of the portal that the project is in.
sourcepub fn get_portal_id(&self) -> &Option<String>
pub fn get_portal_id(&self) -> &Option<String>
The ID of the portal that the project is in.
sourcepub fn project_description(self, input: impl Into<String>) -> Self
pub fn project_description(self, input: impl Into<String>) -> Self
The project's description.
sourcepub fn set_project_description(self, input: Option<String>) -> Self
pub fn set_project_description(self, input: Option<String>) -> Self
The project's description.
sourcepub fn get_project_description(&self) -> &Option<String>
pub fn get_project_description(&self) -> &Option<String>
The project's description.
sourcepub fn project_creation_date(self, input: DateTime) -> Self
pub fn project_creation_date(self, input: DateTime) -> Self
The date the project was created, in Unix epoch time.
This field is required.sourcepub fn set_project_creation_date(self, input: Option<DateTime>) -> Self
pub fn set_project_creation_date(self, input: Option<DateTime>) -> Self
The date the project was created, in Unix epoch time.
sourcepub fn get_project_creation_date(&self) -> &Option<DateTime>
pub fn get_project_creation_date(&self) -> &Option<DateTime>
The date the project was created, in Unix epoch time.
sourcepub fn project_last_update_date(self, input: DateTime) -> Self
pub fn project_last_update_date(self, input: DateTime) -> Self
The date the project was last updated, in Unix epoch time.
This field is required.sourcepub fn set_project_last_update_date(self, input: Option<DateTime>) -> Self
pub fn set_project_last_update_date(self, input: Option<DateTime>) -> Self
The date the project was last updated, in Unix epoch time.
sourcepub fn get_project_last_update_date(&self) -> &Option<DateTime>
pub fn get_project_last_update_date(&self) -> &Option<DateTime>
The date the project was last updated, in Unix epoch time.
sourcepub fn build(self) -> Result<DescribeProjectOutput, BuildError>
pub fn build(self) -> Result<DescribeProjectOutput, BuildError>
Consumes the builder and constructs a DescribeProjectOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DescribeProjectOutputBuilder
impl Clone for DescribeProjectOutputBuilder
source§fn clone(&self) -> DescribeProjectOutputBuilder
fn clone(&self) -> DescribeProjectOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribeProjectOutputBuilder
impl Debug for DescribeProjectOutputBuilder
source§impl Default for DescribeProjectOutputBuilder
impl Default for DescribeProjectOutputBuilder
source§fn default() -> DescribeProjectOutputBuilder
fn default() -> DescribeProjectOutputBuilder
source§impl PartialEq for DescribeProjectOutputBuilder
impl PartialEq for DescribeProjectOutputBuilder
source§fn eq(&self, other: &DescribeProjectOutputBuilder) -> bool
fn eq(&self, other: &DescribeProjectOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DescribeProjectOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeProjectOutputBuilder
impl RefUnwindSafe for DescribeProjectOutputBuilder
impl Send for DescribeProjectOutputBuilder
impl Sync for DescribeProjectOutputBuilder
impl Unpin for DescribeProjectOutputBuilder
impl UnwindSafe for DescribeProjectOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more