#[non_exhaustive]pub struct ProjectAppConfigResourceBuilder { /* private fields */ }
Expand description
A builder for ProjectAppConfigResource
.
Implementations§
source§impl ProjectAppConfigResourceBuilder
impl ProjectAppConfigResourceBuilder
sourcepub fn application_id(self, input: impl Into<String>) -> Self
pub fn application_id(self, input: impl Into<String>) -> Self
The ID of the AppConfig application to use for client-side evaluation.
This field is required.sourcepub fn set_application_id(self, input: Option<String>) -> Self
pub fn set_application_id(self, input: Option<String>) -> Self
The ID of the AppConfig application to use for client-side evaluation.
sourcepub fn get_application_id(&self) -> &Option<String>
pub fn get_application_id(&self) -> &Option<String>
The ID of the AppConfig application to use for client-side evaluation.
sourcepub fn environment_id(self, input: impl Into<String>) -> Self
pub fn environment_id(self, input: impl Into<String>) -> Self
The ID of the AppConfig environment to use for client-side evaluation. This must be an environment that is within the application that you specify for applicationId
.
sourcepub fn set_environment_id(self, input: Option<String>) -> Self
pub fn set_environment_id(self, input: Option<String>) -> Self
The ID of the AppConfig environment to use for client-side evaluation. This must be an environment that is within the application that you specify for applicationId
.
sourcepub fn get_environment_id(&self) -> &Option<String>
pub fn get_environment_id(&self) -> &Option<String>
The ID of the AppConfig environment to use for client-side evaluation. This must be an environment that is within the application that you specify for applicationId
.
sourcepub fn configuration_profile_id(self, input: impl Into<String>) -> Self
pub fn configuration_profile_id(self, input: impl Into<String>) -> Self
The ID of the AppConfig profile to use for client-side evaluation.
This field is required.sourcepub fn set_configuration_profile_id(self, input: Option<String>) -> Self
pub fn set_configuration_profile_id(self, input: Option<String>) -> Self
The ID of the AppConfig profile to use for client-side evaluation.
sourcepub fn get_configuration_profile_id(&self) -> &Option<String>
pub fn get_configuration_profile_id(&self) -> &Option<String>
The ID of the AppConfig profile to use for client-side evaluation.
sourcepub fn build(self) -> Result<ProjectAppConfigResource, BuildError>
pub fn build(self) -> Result<ProjectAppConfigResource, BuildError>
Consumes the builder and constructs a ProjectAppConfigResource
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ProjectAppConfigResourceBuilder
impl Clone for ProjectAppConfigResourceBuilder
source§fn clone(&self) -> ProjectAppConfigResourceBuilder
fn clone(&self) -> ProjectAppConfigResourceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ProjectAppConfigResourceBuilder
impl Default for ProjectAppConfigResourceBuilder
source§fn default() -> ProjectAppConfigResourceBuilder
fn default() -> ProjectAppConfigResourceBuilder
source§impl PartialEq for ProjectAppConfigResourceBuilder
impl PartialEq for ProjectAppConfigResourceBuilder
source§fn eq(&self, other: &ProjectAppConfigResourceBuilder) -> bool
fn eq(&self, other: &ProjectAppConfigResourceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProjectAppConfigResourceBuilder
Auto Trait Implementations§
impl Freeze for ProjectAppConfigResourceBuilder
impl RefUnwindSafe for ProjectAppConfigResourceBuilder
impl Send for ProjectAppConfigResourceBuilder
impl Sync for ProjectAppConfigResourceBuilder
impl Unpin for ProjectAppConfigResourceBuilder
impl UnwindSafe for ProjectAppConfigResourceBuilder
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