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