#[non_exhaustive]pub struct PutSchemaOutputBuilder { /* private fields */ }Expand description
A builder for PutSchemaOutput.
Implementations§
source§impl PutSchemaOutputBuilder
impl PutSchemaOutputBuilder
sourcepub fn policy_store_id(self, input: impl Into<String>) -> Self
pub fn policy_store_id(self, input: impl Into<String>) -> Self
The unique ID of the policy store that contains the schema.
This field is required.sourcepub fn set_policy_store_id(self, input: Option<String>) -> Self
pub fn set_policy_store_id(self, input: Option<String>) -> Self
The unique ID of the policy store that contains the schema.
sourcepub fn get_policy_store_id(&self) -> &Option<String>
pub fn get_policy_store_id(&self) -> &Option<String>
The unique ID of the policy store that contains the schema.
sourcepub fn namespaces(self, input: impl Into<String>) -> Self
pub fn namespaces(self, input: impl Into<String>) -> Self
Appends an item to namespaces.
To override the contents of this collection use set_namespaces.
Identifies the namespaces of the entities referenced by this schema.
sourcepub fn set_namespaces(self, input: Option<Vec<String>>) -> Self
pub fn set_namespaces(self, input: Option<Vec<String>>) -> Self
Identifies the namespaces of the entities referenced by this schema.
sourcepub fn get_namespaces(&self) -> &Option<Vec<String>>
pub fn get_namespaces(&self) -> &Option<Vec<String>>
Identifies the namespaces of the entities referenced by this schema.
sourcepub fn created_date(self, input: DateTime) -> Self
pub fn created_date(self, input: DateTime) -> Self
The date and time that the schema was originally created.
This field is required.sourcepub fn set_created_date(self, input: Option<DateTime>) -> Self
pub fn set_created_date(self, input: Option<DateTime>) -> Self
The date and time that the schema was originally created.
sourcepub fn get_created_date(&self) -> &Option<DateTime>
pub fn get_created_date(&self) -> &Option<DateTime>
The date and time that the schema was originally created.
sourcepub fn last_updated_date(self, input: DateTime) -> Self
pub fn last_updated_date(self, input: DateTime) -> Self
The date and time that the schema was last updated.
This field is required.sourcepub fn set_last_updated_date(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_date(self, input: Option<DateTime>) -> Self
The date and time that the schema was last updated.
sourcepub fn get_last_updated_date(&self) -> &Option<DateTime>
pub fn get_last_updated_date(&self) -> &Option<DateTime>
The date and time that the schema was last updated.
sourcepub fn build(self) -> Result<PutSchemaOutput, BuildError>
pub fn build(self) -> Result<PutSchemaOutput, BuildError>
Consumes the builder and constructs a PutSchemaOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for PutSchemaOutputBuilder
impl Clone for PutSchemaOutputBuilder
source§fn clone(&self) -> PutSchemaOutputBuilder
fn clone(&self) -> PutSchemaOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PutSchemaOutputBuilder
impl Debug for PutSchemaOutputBuilder
source§impl Default for PutSchemaOutputBuilder
impl Default for PutSchemaOutputBuilder
source§fn default() -> PutSchemaOutputBuilder
fn default() -> PutSchemaOutputBuilder
source§impl PartialEq for PutSchemaOutputBuilder
impl PartialEq for PutSchemaOutputBuilder
impl StructuralPartialEq for PutSchemaOutputBuilder
Auto Trait Implementations§
impl Freeze for PutSchemaOutputBuilder
impl RefUnwindSafe for PutSchemaOutputBuilder
impl Send for PutSchemaOutputBuilder
impl Sync for PutSchemaOutputBuilder
impl Unpin for PutSchemaOutputBuilder
impl UnwindSafe for PutSchemaOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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