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

software.amazon.awssdk.codegen.rules.ErrorRule.resource Maven / Gradle / Ivy

import software.amazon.awssdk.annotations.SdkInternalApi;

@SdkInternalApi
public class ErrorRule extends Rule {
    private final Expr error;

    public ErrorRule(Builder builder, Expr error) {
        super(builder);
        this.error = error;
    }

    @Override
    public  T accept(RuleValueVisitor v) {
        return v.visitErrorRule(error);
    }

    @Override
    public String toString() {
        return "ErrorRule{" +
               "error=" + error +
               ", conditions=" + conditions +
               ", documentation='" + documentation + '\'' +
               '}';
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy