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

com.qcloud.cos.model.lifecycle.LifecyclePrefixPredicate Maven / Gradle / Ivy

There is a newer version: 5.6.238.2
Show newest version
package com.qcloud.cos.model.lifecycle;


/**
 * A {@link LifecycleFilterPredicate} class to represent the
 * prefix identifying one or more objects to which the
 */
public final class LifecyclePrefixPredicate extends LifecycleFilterPredicate {

    private final String prefix;

    public LifecyclePrefixPredicate(String prefix) {
        this.prefix = prefix;
    }

    /**
     * Returns the key prefix for which the
     */
    public String getPrefix() {
        return prefix;
    }

    @Override
    public void accept(LifecyclePredicateVisitor lifecyclePredicateVisitor) {
        lifecyclePredicateVisitor.visit(this);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy