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

com.volcengine.tos.model.bucket.HeadBucketV2Output Maven / Gradle / Ivy

There is a newer version: 2.8.3
Show newest version
package com.volcengine.tos.model.bucket;

import com.volcengine.tos.comm.common.AzRedundancyType;
import com.volcengine.tos.comm.common.BucketType;
import com.volcengine.tos.comm.common.StorageClassType;
import com.volcengine.tos.model.RequestInfo;

import java.io.Serializable;

public class HeadBucketV2Output implements Serializable {
    private RequestInfo requestInfo;
    private String region;
    private StorageClassType storageClass;
    private AzRedundancyType azRedundancy;
    private String projectName;
    private BucketType bucketType;

    public HeadBucketV2Output() {
    }

    public HeadBucketV2Output(RequestInfo requestInfo, String region, StorageClassType storageClass) {
        this.requestInfo = requestInfo;
        this.region = region;
        this.storageClass = storageClass;
    }

    public String getRegion() {
        return region;
    }

    public RequestInfo getRequestInfo() {
        return requestInfo;
    }

    public StorageClassType getStorageClass() {
        return storageClass;
    }

    public HeadBucketV2Output setRequestInfo(RequestInfo requestInfo) {
        this.requestInfo = requestInfo;
        return this;
    }

    public HeadBucketV2Output setRegion(String region) {
        this.region = region;
        return this;
    }

    public HeadBucketV2Output setStorageClass(StorageClassType storageClass) {
        this.storageClass = storageClass;
        return this;
    }

    public AzRedundancyType getAzRedundancy() {
        return azRedundancy;
    }

    public HeadBucketV2Output setAzRedundancy(AzRedundancyType azRedundancy) {
        this.azRedundancy = azRedundancy;
        return this;
    }

    public String getProjectName() {
        return projectName;
    }

    public HeadBucketV2Output setProjectName(String projectName) {
        this.projectName = projectName;
        return this;
    }

    public BucketType getBucketType() {
        return bucketType;
    }

    public HeadBucketV2Output setBucketType(BucketType bucketType) {
        this.bucketType = bucketType;
        return this;
    }

    @Override
    public String toString() {
        return "HeadBucketV2Output{" +
                "requestInfo=" + requestInfo +
                ", region='" + region + '\'' +
                ", storageClass=" + storageClass +
                ", azRedundancy=" + azRedundancy +
                ", projectName='" + projectName + '\'' +
                ", bucketType=" + bucketType +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy