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

info.freelibrary.vertx.s3.Endpoint Maven / Gradle / Ivy

There is a newer version: 2.0.0-alpha-2
Show newest version

package info.freelibrary.vertx.s3;

/**
 * A public interface for S3 endpoints.
 */
public interface Endpoint {

    /**
     * Returns the URL (in string form) of the endpoint.
     *
     * @return The URL (in string form) of the endpoint
     */
    @Override
    String toString();

    /**
     * Gets the dual-stack version of the endpoint.
     *
     * @return The dual-stack version of the endpoint
     */
    String getDualStack();

    /**
     * Gets the region string for the endpoint.
     *
     * @return The region string for the endpoint
     */
    String getRegion();

    /**
     * Gets the host name for the endpoint.
     *
     * @return The host name for the endpoint
     */
    String getHost();

    /**
     * Gets the port for the endpoint.
     *
     * @return The port for the endpoint
     */
    int getPort();

    /**
     * Gets a human-friendly name for the endpoint.
     *
     * @return The human-friendly name for the endpoint
     */
    String getLabel();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy