Struct aws_sdk_securityhub::model::aws_iam_user_policy::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AwsIamUserPolicy
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn policy_name(self, input: impl Into<String>) -> Self
pub fn policy_name(self, input: impl Into<String>) -> Self
The name of the policy.
sourcepub fn set_policy_name(self, input: Option<String>) -> Self
pub fn set_policy_name(self, input: Option<String>) -> Self
The name of the policy.
sourcepub fn build(self) -> AwsIamUserPolicy
pub fn build(self) -> AwsIamUserPolicy
Consumes the builder and constructs a AwsIamUserPolicy
.