com.volcengine.tos.model.bucket.GetBucketLocationInput 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
The newest version!
package com.volcengine.tos.model.bucket;
import com.volcengine.tos.model.GenericInput;
public class GetBucketLocationInput extends GenericInput {
private String bucket;
public String getBucket() {
return bucket;
}
public GetBucketLocationInput setBucket(String bucket) {
this.bucket = bucket;
return this;
}
@Override
public String toString() {
return "GetBucketLocationInput{" +
"bucket='" + bucket + '\'' +
'}';
}
public static GetBucketLocationInputBuilder builder() {
return new GetBucketLocationInputBuilder();
}
public static final class GetBucketLocationInputBuilder {
private String bucket;
private GetBucketLocationInputBuilder() {
}
public GetBucketLocationInputBuilder bucket(String bucket) {
this.bucket = bucket;
return this;
}
public GetBucketLocationInput build() {
GetBucketLocationInput getBucketLocationInput = new GetBucketLocationInput();
getBucketLocationInput.setBucket(bucket);
return getBucketLocationInput;
}
}
}