com.volcengine.tos.model.bucket.HeadBucketV2Output Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ve-tos-java-sdk Show documentation
Show all versions of ve-tos-java-sdk Show documentation
The VolcEngine TOS SDK for Java
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 +
'}';
}
}