pub struct Builder { /* private fields */ }
Expand description
A builder for GetResourcePolicyOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn policy(self, input: impl Into<String>) -> Self
pub fn policy(self, input: impl Into<String>) -> Self
The resource policy for the resource identified by the input ARN parameter.
sourcepub fn set_policy(self, input: Option<String>) -> Self
pub fn set_policy(self, input: Option<String>) -> Self
The resource policy for the resource identified by the input ARN parameter.
sourcepub fn build(self) -> GetResourcePolicyOutput
pub fn build(self) -> GetResourcePolicyOutput
Consumes the builder and constructs a GetResourcePolicyOutput
.