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

com.ksyun.ks3.dto.ServerSideEncryptionConfiguration Maven / Gradle / Ivy

package com.ksyun.ks3.dto;


import com.ksyun.ks3.utils.StringUtils;

public class ServerSideEncryptionConfiguration {


    public ServerSideEncryptionRule rule;


    public ServerSideEncryptionConfiguration() {
    }

    public ServerSideEncryptionRule getRule() {
        return rule;
    }

    public void setRule(ServerSideEncryptionRule rule) {
        this.rule = rule;
    }

    @Override
    public String toString() {
        return StringUtils.object2string(this);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        } else if (obj == null) {
            return false;
        } else if (!(obj instanceof ServerSideEncryptionConfiguration)) {
            return false;
        } else {
            ServerSideEncryptionConfiguration other = (ServerSideEncryptionConfiguration)obj;
            if (other.getRule() == null ^ this.getRule() == null) {
                return false;
            } else {
                return other.getRule() == null || other.getRule().equals(this.getRule());
            }
        }
    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy