类的使用
com.baidubce.services.bos.model.AllowedMethods
-
使用AllowedMethods的程序包 程序包 说明 com.baidubce.services.bos.model -
-
com.baidubce.services.bos.model中AllowedMethods的使用
返回AllowedMethods的com.baidubce.services.bos.model中的方法 修饰符和类型 方法 说明 static AllowedMethodsAllowedMethods. valueOf(String name)返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)static AllowedMethods[]AllowedMethods. values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (AllowedMethods c : AllowedMethods.values()) System.out.println(c);
返回变量类型为AllowedMethods的类型的com.baidubce.services.bos.model中的方法 修饰符和类型 方法 说明 List<AllowedMethods>CorsConfiguration. getAllowedMethods()Gets allowedMethods of Bucket CORS.类型变量类型为AllowedMethods的com.baidubce.services.bos.model中的方法参数 修饰符和类型 方法 说明 voidCorsConfiguration. setAllowedMethods(List<AllowedMethods> allowedMethods)Sets allowedMethods of Bucket CORS.CorsConfigurationCorsConfiguration. withAllowedMethods(List<AllowedMethods> allowedMethods)Sets allowedMethods of Bucket CORS.
-