Struct aws_sdk_mobile::model::project_details::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ProjectDetails
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 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 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 build(self) -> ProjectDetails
pub fn build(self) -> ProjectDetails
Consumes the builder and constructs a ProjectDetails
.