Struct aws_sdk_lambda::output::get_policy_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetPolicyOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_policy(self, input: Option<String>) -> Self
pub fn set_policy(self, input: Option<String>) -> Self
The resource-based policy.
sourcepub fn revision_id(self, input: impl Into<String>) -> Self
pub fn revision_id(self, input: impl Into<String>) -> Self
A unique identifier for the current revision of the policy.
sourcepub fn set_revision_id(self, input: Option<String>) -> Self
pub fn set_revision_id(self, input: Option<String>) -> Self
A unique identifier for the current revision of the policy.
sourcepub fn build(self) -> GetPolicyOutput
pub fn build(self) -> GetPolicyOutput
Consumes the builder and constructs a GetPolicyOutput
.