com.volcengine.tos.model.bucket.PutBucketEncryptionInput 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.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 +
'}';
}
}