类 Condition


  • public class Condition
    extends Object
    The Conditon For Bucket Acl and Bucket Lifecycle. conditonTime for Bucket Lifecycle, the time restrictions, Implemented by the defined dateGreaterThan. referer for Bucket Acl, Identifies the referer that is granted access permission. ipAddress for Bucket Acl, Identifies the ip that is granted access permission.
    • 构造器详细资料

      • Condition

        public Condition()
    • 方法详细资料

      • getTime

        public Time getTime()
        Gets time of Bucket Lifecycle.
        返回:
        time of Bucket Lifecycle.
      • setTime

        public void setTime​(Time time)
        Sets time of Bucket Lifecycle.
        参数:
        time - The time of Bucket Lifecycle.
      • withTime

        public Condition withTime​(Time time)
        Sets time of Bucket Lifecycle.
        参数:
        time - The time of Bucket Lifecycle.
        返回:
        this object.
      • getIpAddress

        public List<String> getIpAddress()
        Gets ipAddress of Bucket Acl, just for Bucket Acl json
        返回:
        ipAddress of Bucket Acl.
      • setIpAddress

        public void setIpAddress​(List<String> ipAddress)
        Sets ipAddress of Bucket Acl, just for Bucket Acl json
        参数:
        ipAddress - The ipAddress of Bucket Acl.
      • withIpAddress

        public Condition withIpAddress​(List<String> ipAddress)
        Sets ipAddress of Bucket Acl, just for Bucket Acl json
        参数:
        ipAddress - The ipAddress of Bucket Acl.
        返回:
        this object.
      • getReferer

        public Referer getReferer()
        Gets referer of Bucket Acl.
        返回:
        referer of Bucket Acl.
      • setReferer

        public void setReferer​(Referer referer)
        Sets referer of Bucket Acl.
        参数:
        referer - The referer of Bucket Acl.
      • withReferer

        public Condition withReferer​(Referer referer)
        Sets referer of Bucket Acl.
        参数:
        referer - The referer of Bucket Acl.
        返回:
        this object.
      • isSecureTransport

        public boolean isSecureTransport()
        Gets secureTransport of Bucket Acl.
        返回:
        secureTransport of Bucket Acl
      • setSecureTransport

        public void setSecureTransport​(boolean secureTransport)
        Sets secureTransport of Bucket Acl.
        参数:
        secureTransport -
      • withSecureTransport

        public Condition withSecureTransport​(boolean secureTransport)
        Sets secureTransport of Bucket Acl.
        参数:
        secureTransport - The secureTransport of Bucket Acl
        返回:
        this object.