All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.ccp.ossclient.models.CorsRule Maven / Gradle / Ivy

Go to download

Aliyun CCP oss SDK for Java Copyright (C) Alibaba Cloud Computing All rights reserved. 版权所有 (C)阿里云计算有限公司 http://www.aliyun.com

There is a newer version: 2.2.7
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ccp.ossclient.models;

import com.aliyun.tea.*;

public class CorsRule extends TeaModel {
    @NameInMap("allowed_header")
    public String[] allowedHeader;

    @NameInMap("allowed_method")
    public String[] allowedMethod;

    @NameInMap("allowed_origin")
    public String[] allowedOrigin;

    @NameInMap("expose_header")
    public String[] exposeHeader;

    @NameInMap("max_age_seconds")
    public Long maxAgeSeconds;

    public static CorsRule build(java.util.Map map) throws Exception {
        CorsRule self = new CorsRule();
        return TeaModel.build(map, self);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy