#[non_exhaustive]pub struct ProjectDescriptionBuilder { /* private fields */ }Expand description
A builder for ProjectDescription.
Implementations§
source§impl ProjectDescriptionBuilder
impl ProjectDescriptionBuilder
sourcepub fn project_arn(self, input: impl Into<String>) -> Self
pub fn project_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the project.
sourcepub fn set_project_arn(self, input: Option<String>) -> Self
pub fn set_project_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the project.
sourcepub fn get_project_arn(&self) -> &Option<String>
pub fn get_project_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the project.
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.
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 creation_timestamp(self, input: DateTime) -> Self
pub fn creation_timestamp(self, input: DateTime) -> Self
The unix timestamp for the date and time that the project was created.
sourcepub fn set_creation_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_creation_timestamp(self, input: Option<DateTime>) -> Self
The unix timestamp for the date and time that the project was created.
sourcepub fn get_creation_timestamp(&self) -> &Option<DateTime>
pub fn get_creation_timestamp(&self) -> &Option<DateTime>
The unix timestamp for the date and time that the project was created.
sourcepub fn datasets(self, input: DatasetMetadata) -> Self
pub fn datasets(self, input: DatasetMetadata) -> Self
Appends an item to datasets.
To override the contents of this collection use set_datasets.
A list of datasets in the project.
sourcepub fn set_datasets(self, input: Option<Vec<DatasetMetadata>>) -> Self
pub fn set_datasets(self, input: Option<Vec<DatasetMetadata>>) -> Self
A list of datasets in the project.
sourcepub fn get_datasets(&self) -> &Option<Vec<DatasetMetadata>>
pub fn get_datasets(&self) -> &Option<Vec<DatasetMetadata>>
A list of datasets in the project.
sourcepub fn build(self) -> ProjectDescription
pub fn build(self) -> ProjectDescription
Consumes the builder and constructs a ProjectDescription.
Trait Implementations§
source§impl Clone for ProjectDescriptionBuilder
impl Clone for ProjectDescriptionBuilder
source§fn clone(&self) -> ProjectDescriptionBuilder
fn clone(&self) -> ProjectDescriptionBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ProjectDescriptionBuilder
impl Debug for ProjectDescriptionBuilder
source§impl Default for ProjectDescriptionBuilder
impl Default for ProjectDescriptionBuilder
source§fn default() -> ProjectDescriptionBuilder
fn default() -> ProjectDescriptionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ProjectDescriptionBuilder
impl PartialEq for ProjectDescriptionBuilder
source§fn eq(&self, other: &ProjectDescriptionBuilder) -> bool
fn eq(&self, other: &ProjectDescriptionBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ProjectDescriptionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ProjectDescriptionBuilder
impl Send for ProjectDescriptionBuilder
impl Sync for ProjectDescriptionBuilder
impl Unpin for ProjectDescriptionBuilder
impl UnwindSafe for ProjectDescriptionBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.