@on_policy_switch.setter
def on_policy_switch(self, value: Optional[pulumi.Input['ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnPolicySwitch']]):
    pulumi.set(self, 'on_policy_switch', value)
@on_policy_switch.setter
def on_policy_switch(self, value: Optional[pulumi.Input['ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnPolicySwitch']]):
    pulumi.set(self, 'on_policy_switch', value)