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 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
source§impl PartialEq for GetPolicyStoreOutputBuilder
impl PartialEq for GetPolicyStoreOutputBuilder
source§fn eq(&self, other: &GetPolicyStoreOutputBuilder) -> bool
fn eq(&self, other: &GetPolicyStoreOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.