Struct aws_sdk_glue::model::glue_policy::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for GluePolicy.
Implementations§
source§impl Builder
impl Builder
sourcepub fn policy_in_json(self, input: impl Into<String>) -> Self
pub fn policy_in_json(self, input: impl Into<String>) -> Self
Contains the requested policy document, in JSON format.
sourcepub fn set_policy_in_json(self, input: Option<String>) -> Self
pub fn set_policy_in_json(self, input: Option<String>) -> Self
Contains the requested policy document, in JSON format.
sourcepub fn policy_hash(self, input: impl Into<String>) -> Self
pub fn policy_hash(self, input: impl Into<String>) -> Self
Contains the hash value associated with this policy.
sourcepub fn set_policy_hash(self, input: Option<String>) -> Self
pub fn set_policy_hash(self, input: Option<String>) -> Self
Contains the hash value associated with this policy.
sourcepub fn create_time(self, input: DateTime) -> Self
pub fn create_time(self, input: DateTime) -> Self
The date and time at which the policy was created.
sourcepub fn set_create_time(self, input: Option<DateTime>) -> Self
pub fn set_create_time(self, input: Option<DateTime>) -> Self
The date and time at which the policy was created.
sourcepub fn update_time(self, input: DateTime) -> Self
pub fn update_time(self, input: DateTime) -> Self
The date and time at which the policy was last updated.
sourcepub fn set_update_time(self, input: Option<DateTime>) -> Self
pub fn set_update_time(self, input: Option<DateTime>) -> Self
The date and time at which the policy was last updated.
sourcepub fn build(self) -> GluePolicy
pub fn build(self) -> GluePolicy
Consumes the builder and constructs a GluePolicy.