pub struct Builder { /* private fields */ }
Expand description
A builder for PutModelPackageGroupPolicyInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn model_package_group_name(self, input: impl Into<String>) -> Self
pub fn model_package_group_name(self, input: impl Into<String>) -> Self
The name of the model group to add a resource policy to.
sourcepub fn set_model_package_group_name(self, input: Option<String>) -> Self
pub fn set_model_package_group_name(self, input: Option<String>) -> Self
The name of the model group to add a resource policy to.
sourcepub fn resource_policy(self, input: impl Into<String>) -> Self
pub fn resource_policy(self, input: impl Into<String>) -> Self
The resource policy for the model group.
sourcepub fn set_resource_policy(self, input: Option<String>) -> Self
pub fn set_resource_policy(self, input: Option<String>) -> Self
The resource policy for the model group.
sourcepub fn build(self) -> Result<PutModelPackageGroupPolicyInput, BuildError>
pub fn build(self) -> Result<PutModelPackageGroupPolicyInput, BuildError>
Consumes the builder and constructs a PutModelPackageGroupPolicyInput
.