Struct aws_sdk_verifiedpermissions::operation::update_policy_template::builders::UpdatePolicyTemplateOutputBuilder
source · #[non_exhaustive]pub struct UpdatePolicyTemplateOutputBuilder { /* private fields */ }Expand description
A builder for UpdatePolicyTemplateOutput.
Implementations§
source§impl UpdatePolicyTemplateOutputBuilder
impl UpdatePolicyTemplateOutputBuilder
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 that contains the updated policy template.
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 that contains the updated policy template.
sourcepub fn get_policy_store_id(&self) -> &Option<String>
pub fn get_policy_store_id(&self) -> &Option<String>
The ID of the policy store that contains the updated policy template.
sourcepub fn policy_template_id(self, input: impl Into<String>) -> Self
pub fn policy_template_id(self, input: impl Into<String>) -> Self
The ID of the updated policy template.
This field is required.sourcepub fn set_policy_template_id(self, input: Option<String>) -> Self
pub fn set_policy_template_id(self, input: Option<String>) -> Self
The ID of the updated policy template.
sourcepub fn get_policy_template_id(&self) -> &Option<String>
pub fn get_policy_template_id(&self) -> &Option<String>
The ID of the updated policy template.
sourcepub fn created_date(self, input: DateTime) -> Self
pub fn created_date(self, input: DateTime) -> Self
The date and time that the policy template 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 template 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 template 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 template was most recently 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 template was most recently 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 template was most recently updated.
sourcepub fn build(self) -> Result<UpdatePolicyTemplateOutput, BuildError>
pub fn build(self) -> Result<UpdatePolicyTemplateOutput, BuildError>
Consumes the builder and constructs a UpdatePolicyTemplateOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for UpdatePolicyTemplateOutputBuilder
impl Clone for UpdatePolicyTemplateOutputBuilder
source§fn clone(&self) -> UpdatePolicyTemplateOutputBuilder
fn clone(&self) -> UpdatePolicyTemplateOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdatePolicyTemplateOutputBuilder
impl Default for UpdatePolicyTemplateOutputBuilder
source§fn default() -> UpdatePolicyTemplateOutputBuilder
fn default() -> UpdatePolicyTemplateOutputBuilder
source§impl PartialEq for UpdatePolicyTemplateOutputBuilder
impl PartialEq for UpdatePolicyTemplateOutputBuilder
source§fn eq(&self, other: &UpdatePolicyTemplateOutputBuilder) -> bool
fn eq(&self, other: &UpdatePolicyTemplateOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.