// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.videoanalyzer.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
 * Unsecured endpoint describes an endpoint that the pipeline can connect to over clear transport (no encryption in
 * transit).
 */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "@type")
@JsonTypeName("#Microsoft.VideoAnalyzer.UnsecuredEndpoint")
@Fluent
public final class UnsecuredEndpoint extends EndpointBase {
    /** {@inheritDoc} */
    @Override
    public UnsecuredEndpoint withCredentials(CredentialsBase credentials) {
        super.withCredentials(credentials);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public UnsecuredEndpoint withUrl(String url) {
        super.withUrl(url);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public UnsecuredEndpoint withTunnel(TunnelBase tunnel) {
        super.withTunnel(tunnel);
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    @Override
    public void validate() {
        super.validate();
    }
}
