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

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

There is a newer version: 2.8.3
Show newest version
package com.volcengine.tos.model.bucket;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.volcengine.tos.model.GenericInput;

public class PutBucketEncryptionInput extends GenericInput {
    @JsonIgnore
    private String bucket;

    @JsonProperty("Rule")
    private BucketEncryptionRule rule;

    public String getBucket() {
        return bucket;
    }

    public PutBucketEncryptionInput setBucket(String bucket) {
        this.bucket = bucket;
        return this;
    }

    public BucketEncryptionRule getRule() {
        return rule;
    }

    public PutBucketEncryptionInput setRule(BucketEncryptionRule rule) {
        this.rule = rule;
        return this;
    }

    @Override
    public String toString() {
        return "PutBucketEncryptionInput{" +
                "bucket='" + bucket + '\'' +
                ", rule=" + rule +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy