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