类 Action


  • public class Action
    extends Object
    For Bos Bucket Lifecycle. Operation actions performed on the resource. Required Parameters: actionName. Optional Parameters: actionStorageClass.
    • 构造器详细资料

      • Action

        public Action()
    • 方法详细资料

      • getName

        public String getName()
        Gets the name of the bucket Lifecycle, just for Lifecycle json
        返回:
        the name of the bucket Lifecycle.
      • setName

        public void setName​(String name)
        Sets the name of the bucket Lifecycle, just for Lifecycle json
        参数:
        name - of the bucket Lifecycle.
      • withName

        public Action withName​(String name)
        Sets the name of the Action.
        参数:
        name - The name of the Action
        返回:
        this object
      • getStorageClass

        public String getStorageClass()
        Gets the storageClass of the bucket Lifecycle, just for Lifecycle json
        返回:
        the storageClass of the bucket Lifecycle.
      • setStorageClass

        public void setStorageClass​(String storageClass)
        Sets the storageClass of the bucket Lifecycle Action,just for Lifecycle json
        参数:
        storageClass - The storageClass if the Bucket Lifecycel Action.
      • withStorageClass

        public Action withStorageClass​(String storageClass)
        sets the storageClass of the Bucket Lifecycle Action
        参数:
        storageClass - The storageClass if the Bucket Lifecycel Action.
        返回:
        this object