Struct aws_sdk_verifiedpermissions::operation::update_policy_store::builders::UpdatePolicyStoreInputBuilder
source · #[non_exhaustive]pub struct UpdatePolicyStoreInputBuilder { /* private fields */ }Expand description
A builder for UpdatePolicyStoreInput.
Implementations§
source§impl UpdatePolicyStoreInputBuilder
impl UpdatePolicyStoreInputBuilder
sourcepub fn policy_store_id(self, input: impl Into<String>) -> Self
pub fn policy_store_id(self, input: impl Into<String>) -> Self
Specifies the ID of the policy store that you want to update
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
Specifies the ID of the policy store that you want to update
sourcepub fn get_policy_store_id(&self) -> &Option<String>
pub fn get_policy_store_id(&self) -> &Option<String>
Specifies the ID of the policy store that you want to update
sourcepub fn validation_settings(self, input: ValidationSettings) -> Self
pub fn validation_settings(self, input: ValidationSettings) -> Self
A structure that defines the validation settings that want to enable 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
A structure that defines the validation settings that want to enable for the policy store.
sourcepub fn get_validation_settings(&self) -> &Option<ValidationSettings>
pub fn get_validation_settings(&self) -> &Option<ValidationSettings>
A structure that defines the validation settings that want to enable for the policy store.
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<UpdatePolicyStoreInput, BuildError>
pub fn build(self) -> Result<UpdatePolicyStoreInput, BuildError>
Consumes the builder and constructs a UpdatePolicyStoreInput.
source§impl UpdatePolicyStoreInputBuilder
impl UpdatePolicyStoreInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdatePolicyStoreOutput, SdkError<UpdatePolicyStoreError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdatePolicyStoreOutput, SdkError<UpdatePolicyStoreError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdatePolicyStoreInputBuilder
impl Clone for UpdatePolicyStoreInputBuilder
source§fn clone(&self) -> UpdatePolicyStoreInputBuilder
fn clone(&self) -> UpdatePolicyStoreInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdatePolicyStoreInputBuilder
impl Default for UpdatePolicyStoreInputBuilder
source§fn default() -> UpdatePolicyStoreInputBuilder
fn default() -> UpdatePolicyStoreInputBuilder
source§impl PartialEq for UpdatePolicyStoreInputBuilder
impl PartialEq for UpdatePolicyStoreInputBuilder
source§fn eq(&self, other: &UpdatePolicyStoreInputBuilder) -> bool
fn eq(&self, other: &UpdatePolicyStoreInputBuilder) -> bool
self and other values to be equal, and is used
by ==.