Struct aws_sdk_serverlessapplicationrepository::output::get_application_policy_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetApplicationPolicyOutput
.
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) -> GetApplicationPolicyOutput
pub fn build(self) -> GetApplicationPolicyOutput
Consumes the builder and constructs a GetApplicationPolicyOutput
.