Struct aws_sdk_verifiedpermissions::operation::get_policy_store::builders::GetPolicyStoreOutputBuilder
source · #[non_exhaustive]pub struct GetPolicyStoreOutputBuilder { /* private fields */ }Expand description
A builder for GetPolicyStoreOutput.
Implementations§
source§impl GetPolicyStoreOutputBuilder
impl GetPolicyStoreOutputBuilder
sourcepub fn policy_store_id(self, input: impl Into<String>) -> Self
pub fn policy_store_id(self, input: impl Into<String>) -> Self
The ID of the policy store;
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 ID of the policy store;
sourcepub fn get_policy_store_id(&self) -> &Option<String>
pub fn get_policy_store_id(&self) -> &Option<String>
The ID of the policy store;
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the policy store.
This field is required.sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the policy store.
sourcepub fn validation_settings(self, input: ValidationSettings) -> Self
pub fn validation_settings(self, input: ValidationSettings) -> Self
The current validation settings for the policy store.
This field is required.sourcepub fn set_validation_settings(self, input: Option<ValidationSettings>) -> Self
pub fn set_validation_settings(self, input: Option<ValidationSettings>) -> Self
The current validation settings for the policy store.
sourcepub fn get_validation_settings(&self) -> &Option<ValidationSettings>
pub fn get_validation_settings(&self) -> &Option<ValidationSettings>
The current validation settings for the policy store.
sourcepub fn created_date(self, input: DateTime) -> Self
pub fn created_date(self, input: DateTime) -> Self
The date and time that the policy store 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 policy store 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 policy store 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 policy store 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 policy store 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 policy store was last updated.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
Descriptive text that you can provide to help with identification of the current policy store.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
Descriptive text that you can provide to help with identification of the current policy store.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
Descriptive text that you can provide to help with identification of the current policy store.
sourcepub fn build(self) -> Result<GetPolicyStoreOutput, BuildError>
pub fn build(self) -> Result<GetPolicyStoreOutput, BuildError>
Consumes the builder and constructs a GetPolicyStoreOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetPolicyStoreOutputBuilder
impl Clone for GetPolicyStoreOutputBuilder
source§fn clone(&self) -> GetPolicyStoreOutputBuilder
fn clone(&self) -> GetPolicyStoreOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetPolicyStoreOutputBuilder
impl Debug for GetPolicyStoreOutputBuilder
source§impl Default for GetPolicyStoreOutputBuilder
impl Default for GetPolicyStoreOutputBuilder
source§fn default() -> GetPolicyStoreOutputBuilder
fn default() -> GetPolicyStoreOutputBuilder
impl StructuralPartialEq for GetPolicyStoreOutputBuilder
Auto Trait Implementations§
impl Freeze for GetPolicyStoreOutputBuilder
impl RefUnwindSafe for GetPolicyStoreOutputBuilder
impl Send for GetPolicyStoreOutputBuilder
impl Sync for GetPolicyStoreOutputBuilder
impl Unpin for GetPolicyStoreOutputBuilder
impl UnwindSafe for GetPolicyStoreOutputBuilder
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