pub struct Builder { /* private fields */ }
Expand description
A builder for AddLayerVersionPermissionOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_statement(self, input: Option<String>) -> Self
pub fn set_statement(self, input: Option<String>) -> Self
The permission statement.
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) -> AddLayerVersionPermissionOutput
pub fn build(self) -> AddLayerVersionPermissionOutput
Consumes the builder and constructs a AddLayerVersionPermissionOutput
.