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

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

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;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy