Struct aws_sdk_verifiedpermissions::operation::create_policy_store::builders::CreatePolicyStoreOutputBuilder
source · #[non_exhaustive]pub struct CreatePolicyStoreOutputBuilder { /* private fields */ }Expand description
A builder for CreatePolicyStoreOutput.
Implementations§
source§impl CreatePolicyStoreOutputBuilder
impl CreatePolicyStoreOutputBuilder
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 new 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 unique ID of the new policy store.
sourcepub fn get_policy_store_id(&self) -> &Option<String>
pub fn get_policy_store_id(&self) -> &Option<String>
The unique ID of the new 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 new 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 new policy store.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the new policy store.
sourcepub fn created_date(self, input: DateTime) -> Self
pub fn created_date(self, input: DateTime) -> Self
The date and time 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 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 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 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 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 the policy store was last updated.
sourcepub fn build(self) -> Result<CreatePolicyStoreOutput, BuildError>
pub fn build(self) -> Result<CreatePolicyStoreOutput, BuildError>
Consumes the builder and constructs a CreatePolicyStoreOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreatePolicyStoreOutputBuilder
impl Clone for CreatePolicyStoreOutputBuilder
source§fn clone(&self) -> CreatePolicyStoreOutputBuilder
fn clone(&self) -> CreatePolicyStoreOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreatePolicyStoreOutputBuilder
impl Default for CreatePolicyStoreOutputBuilder
source§fn default() -> CreatePolicyStoreOutputBuilder
fn default() -> CreatePolicyStoreOutputBuilder
source§impl PartialEq for CreatePolicyStoreOutputBuilder
impl PartialEq for CreatePolicyStoreOutputBuilder
source§fn eq(&self, other: &CreatePolicyStoreOutputBuilder) -> bool
fn eq(&self, other: &CreatePolicyStoreOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.