Class PolicyAttachmentState.Builder

  • Enclosing class:
    PolicyAttachmentState

    public static final class PolicyAttachmentState.Builder
    extends java.lang.Object
    • Method Detail

      • groups

        public PolicyAttachmentState.Builder groups​(@Nullable
                                                    com.pulumi.core.Output<java.util.List<java.lang.String>> groups)
        Parameters:
        groups - The group(s) the policy should be applied to
        Returns:
        builder
      • groups

        public PolicyAttachmentState.Builder groups​(java.util.List<java.lang.String> groups)
        Parameters:
        groups - The group(s) the policy should be applied to
        Returns:
        builder
      • groups

        public PolicyAttachmentState.Builder groups​(java.lang.String... groups)
        Parameters:
        groups - The group(s) the policy should be applied to
        Returns:
        builder
      • name

        public PolicyAttachmentState.Builder name​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the attachment. This cannot be an empty string.
        Returns:
        builder
      • name

        public PolicyAttachmentState.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the attachment. This cannot be an empty string.
        Returns:
        builder
      • policyArn

        public PolicyAttachmentState.Builder policyArn​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> policyArn)
        Parameters:
        policyArn - The ARN of the policy you want to apply
        Returns:
        builder
      • policyArn

        public PolicyAttachmentState.Builder policyArn​(java.lang.String policyArn)
        Parameters:
        policyArn - The ARN of the policy you want to apply
        Returns:
        builder
      • roles

        public PolicyAttachmentState.Builder roles​(@Nullable
                                                   com.pulumi.core.Output<java.util.List<java.lang.String>> roles)
        Parameters:
        roles - The role(s) the policy should be applied to
        Returns:
        builder
      • roles

        public PolicyAttachmentState.Builder roles​(java.util.List<java.lang.String> roles)
        Parameters:
        roles - The role(s) the policy should be applied to
        Returns:
        builder
      • roles

        public PolicyAttachmentState.Builder roles​(java.lang.String... roles)
        Parameters:
        roles - The role(s) the policy should be applied to
        Returns:
        builder
      • users

        public PolicyAttachmentState.Builder users​(@Nullable
                                                   com.pulumi.core.Output<java.util.List<java.lang.String>> users)
        Parameters:
        users - The user(s) the policy should be applied to
        Returns:
        builder
      • users

        public PolicyAttachmentState.Builder users​(java.util.List<java.lang.String> users)
        Parameters:
        users - The user(s) the policy should be applied to
        Returns:
        builder
      • users

        public PolicyAttachmentState.Builder users​(java.lang.String... users)
        Parameters:
        users - The user(s) the policy should be applied to
        Returns:
        builder