com.volcengine.tos.model.bucket.DeleteBucketCORSInput 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.model.GenericInput;
public class DeleteBucketCORSInput extends GenericInput {
private String bucket;
public String getBucket() {
return bucket;
}
public DeleteBucketCORSInput setBucket(String bucket) {
this.bucket = bucket;
return this;
}
@Override
public String toString() {
return "DeleteBucketCORSInput{" +
"bucket='" + bucket + '\'' +
'}';
}
public static DeleteBucketCORSInputBuilder builder() {
return new DeleteBucketCORSInputBuilder();
}
public static final class DeleteBucketCORSInputBuilder {
private String bucket;
private DeleteBucketCORSInputBuilder() {
}
public DeleteBucketCORSInputBuilder bucket(String bucket) {
this.bucket = bucket;
return this;
}
public DeleteBucketCORSInput build() {
DeleteBucketCORSInput deleteBucketCORSInput = new DeleteBucketCORSInput();
deleteBucketCORSInput.setBucket(bucket);
return deleteBucketCORSInput;
}
}
}