Struct aws_sdk_serverlessapplicationrepository::output::put_application_policy_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for PutApplicationPolicyOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn statements(self, input: ApplicationPolicyStatement) -> Self
pub fn statements(self, input: ApplicationPolicyStatement) -> Self
Appends an item to statements
.
To override the contents of this collection use set_statements
.
An array of policy statements applied to the application.
sourcepub fn set_statements(
self,
input: Option<Vec<ApplicationPolicyStatement>>
) -> Self
pub fn set_statements(
self,
input: Option<Vec<ApplicationPolicyStatement>>
) -> Self
An array of policy statements applied to the application.
sourcepub fn build(self) -> PutApplicationPolicyOutput
pub fn build(self) -> PutApplicationPolicyOutput
Consumes the builder and constructs a PutApplicationPolicyOutput
.