Struct aws_sdk_mobile::types::builders::ProjectDetailsBuilder
source · #[non_exhaustive]pub struct ProjectDetailsBuilder { /* private fields */ }Expand description
A builder for ProjectDetails.
Implementations§
source§impl ProjectDetailsBuilder
impl ProjectDetailsBuilder
sourcepub fn project_id(self, input: impl Into<String>) -> Self
pub fn project_id(self, input: impl Into<String>) -> Self
Unique project identifier.
sourcepub fn set_project_id(self, input: Option<String>) -> Self
pub fn set_project_id(self, input: Option<String>) -> Self
Unique project identifier.
sourcepub fn get_project_id(&self) -> &Option<String>
pub fn get_project_id(&self) -> &Option<String>
Unique project identifier.
sourcepub fn region(self, input: impl Into<String>) -> Self
pub fn region(self, input: impl Into<String>) -> Self
Default region to use for AWS resource creation in the AWS Mobile Hub project.
sourcepub fn set_region(self, input: Option<String>) -> Self
pub fn set_region(self, input: Option<String>) -> Self
Default region to use for AWS resource creation in the AWS Mobile Hub project.
sourcepub fn get_region(&self) -> &Option<String>
pub fn get_region(&self) -> &Option<String>
Default region to use for AWS resource creation in the AWS Mobile Hub project.
sourcepub fn state(self, input: ProjectState) -> Self
pub fn state(self, input: ProjectState) -> Self
Synchronization state for a project.
sourcepub fn set_state(self, input: Option<ProjectState>) -> Self
pub fn set_state(self, input: Option<ProjectState>) -> Self
Synchronization state for a project.
sourcepub fn get_state(&self) -> &Option<ProjectState>
pub fn get_state(&self) -> &Option<ProjectState>
Synchronization state for a project.
sourcepub fn created_date(self, input: DateTime) -> Self
pub fn created_date(self, input: DateTime) -> Self
Date the project was created.
sourcepub fn set_created_date(self, input: Option<DateTime>) -> Self
pub fn set_created_date(self, input: Option<DateTime>) -> Self
Date the project was created.
sourcepub fn get_created_date(&self) -> &Option<DateTime>
pub fn get_created_date(&self) -> &Option<DateTime>
Date the project was created.
sourcepub fn last_updated_date(self, input: DateTime) -> Self
pub fn last_updated_date(self, input: DateTime) -> Self
Date of the last modification of the project.
sourcepub fn set_last_updated_date(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_date(self, input: Option<DateTime>) -> Self
Date of the last modification of the project.
sourcepub fn get_last_updated_date(&self) -> &Option<DateTime>
pub fn get_last_updated_date(&self) -> &Option<DateTime>
Date of the last modification of the project.
sourcepub fn console_url(self, input: impl Into<String>) -> Self
pub fn console_url(self, input: impl Into<String>) -> Self
Website URL for this project in the AWS Mobile Hub console.
sourcepub fn set_console_url(self, input: Option<String>) -> Self
pub fn set_console_url(self, input: Option<String>) -> Self
Website URL for this project in the AWS Mobile Hub console.
sourcepub fn get_console_url(&self) -> &Option<String>
pub fn get_console_url(&self) -> &Option<String>
Website URL for this project in the AWS Mobile Hub console.
sourcepub fn resources(self, input: Resource) -> Self
pub fn resources(self, input: Resource) -> Self
Appends an item to resources.
To override the contents of this collection use set_resources.
List of AWS resources associated with a project.
sourcepub fn set_resources(self, input: Option<Vec<Resource>>) -> Self
pub fn set_resources(self, input: Option<Vec<Resource>>) -> Self
List of AWS resources associated with a project.
sourcepub fn get_resources(&self) -> &Option<Vec<Resource>>
pub fn get_resources(&self) -> &Option<Vec<Resource>>
List of AWS resources associated with a project.
sourcepub fn build(self) -> ProjectDetails
pub fn build(self) -> ProjectDetails
Consumes the builder and constructs a ProjectDetails.
Trait Implementations§
source§impl Clone for ProjectDetailsBuilder
impl Clone for ProjectDetailsBuilder
source§fn clone(&self) -> ProjectDetailsBuilder
fn clone(&self) -> ProjectDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ProjectDetailsBuilder
impl Debug for ProjectDetailsBuilder
source§impl Default for ProjectDetailsBuilder
impl Default for ProjectDetailsBuilder
source§fn default() -> ProjectDetailsBuilder
fn default() -> ProjectDetailsBuilder
source§impl PartialEq for ProjectDetailsBuilder
impl PartialEq for ProjectDetailsBuilder
source§fn eq(&self, other: &ProjectDetailsBuilder) -> bool
fn eq(&self, other: &ProjectDetailsBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ProjectDetailsBuilder
Auto Trait Implementations§
impl Freeze for ProjectDetailsBuilder
impl RefUnwindSafe for ProjectDetailsBuilder
impl Send for ProjectDetailsBuilder
impl Sync for ProjectDetailsBuilder
impl Unpin for ProjectDetailsBuilder
impl UnwindSafe for ProjectDetailsBuilder
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