Struct aws_sdk_lambda::output::add_permission_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AddPermissionOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn statement(self, input: impl Into<String>) -> Self
pub fn statement(self, input: impl Into<String>) -> Self
The permission statement that's added to the function policy.
sourcepub fn set_statement(self, input: Option<String>) -> Self
pub fn set_statement(self, input: Option<String>) -> Self
The permission statement that's added to the function policy.
sourcepub fn build(self) -> AddPermissionOutput
pub fn build(self) -> AddPermissionOutput
Consumes the builder and constructs a AddPermissionOutput
.