pub fn resource_types(mut self, input: crate::model::ResourceTypeValues) -> Self {
            let mut v = self.resource_types.unwrap_or_default();
            v.push(input);
            self.resource_types = Some(v);
            self
        }
/// Appends an item to `resource_types`.
///
/// To override the contents of this collection use [`set_resource_types`](Self::set_resource_types).
///
/// <p>The target resource type for snapshot and AMI lifecycle policies. Use <code>VOLUME </code>to create snapshots of individual volumes or use <code>INSTANCE</code> to create multi-volume snapshots from the volumes for an instance.</p>
/// <p>This parameter is required for snapshot and AMI policies only. If you are creating an event-based policy, omit this parameter.</p>
Appends an item to `resource_types`.
To override the contents of this collection use [`set_resource_types`](Self::set_resource_types).

The target resource type for snapshot and AMI lifecycle policies. Use VOLUME to create snapshots of individual volumes or use INSTANCE to create multi-volume snapshots from the volumes for an instance.
This parameter is required for snapshot and AMI policies only. If you are creating an event-based policy, omit this parameter.
Appends an item to ` resource_types ` . To override the contents of this collection use [ ` set_resource_types ` ] ( Self :: set_resource_types ) . The target resource type for snapshot and AMI lifecycle policies . Use VOLUME to create snapshots of individual volumes or use INSTANCE to create multi - volume snapshots from the volumes for an instance . This parameter is required for snapshot and AMI policies only . If you are creating an event - based policy omit this parameter .
pub fn resource_types(mut self, input: crate::model::ResourceTypeValues) -> Self {
            let mut v = self.resource_types.unwrap_or_default();
            v.push(input);
            self.resource_types = Some(v);
            self
        }
pub fn resource_types ( mut self , input : crate :: model :: ResourceTypeValues ) -> Self { let mut v = self . resource_types . unwrap_or_default ( ) ; v . push ( input ) ; self . resource_types = Some ( v ) ; self }
Appends an item to `resource_types`.
Appends an item to ` resource_types ` .
mut self
input
crate::model::ResourceTypeValues
mut self
input
crate::model::ResourceTypeValues