class_docstr: This class is used to configure a Mapper after deployment.
class_docstr_tok: ["This","class","is","used","to","configure","a","Mapper","after","deployment","."]
docstr: Creates a new Option object to add time-to-live to a mapper operation. This is only
  valid for save operations.
docstr_tok: ["Creates","a","new","Option","object","to","add","time-to-live","to","a","mapper","operation",".","This","is","only","valid","for","save","operations","."]
code: def ttl(self, ttl: int) -> "MapperOptions":
      """
      Creates a new Option object to add time-to-live to a mapper operation. This is only
      valid for save operations.
      """
      self._j_mapper_options.ttl(ttl)
      return self
  
imports: from enum import Enum
  from pyflink.common import Duration
  from pyflink.java_gateway import get_gateway
label_desc: Use image node_id 2 for calling the MapperOptions obj's underlying member method code with example usage: obj.ttl(ttl) and returns: self