Class Endpoint

java.lang.Object
com.amazonaws.partitions.model.Endpoint

public class Endpoint extends Object
Endpoint configuration.
  • Constructor Details

    • Endpoint

      public Endpoint()
  • Method Details

    • merge

      public static Endpoint merge(Endpoint defaults, Endpoint override)
      Merges the given endpoints and returns the merged one.
    • getHostName

      public String getHostName()
      returns the endpoint string.
    • setHostName

      public void setHostName(String hostName)
      sets the endpoint string.
    • getCredentialScope

      public CredentialScope getCredentialScope()
      returns credential scope for the endpoint.
    • setCredentialScope

      public void setCredentialScope(CredentialScope credentialScope)
      sets the credential scope for the endpoint.
    • getProtocols

      public Set<String> getProtocols()
      returns the supported schemes for the endpoint.
    • setProtocols

      public void setProtocols(Set<String> protocols)
      sets the supported schemes for the endpoint.
    • getSignatureVersions

      public Set<String> getSignatureVersions()
      returns the supported signature versions of the endpoint.
    • setSignatureVersions

      public void setSignatureVersions(Set<String> signatureVersions)
      returns the supported signature versions of the endpoint.
    • getSslCommonName

      public String getSslCommonName()
      returns the ssl common name for the endpoint.
    • setSslCommonName

      public void setSslCommonName(String sslCommonName)
      sets the ssl common name for the endpoint.
    • hasHttpsSupport

      public boolean hasHttpsSupport()
      A convienient methods that returns true if the endpoint support HTTPS scheme. Returns false otherwise.
    • hasHttpSupport

      public boolean hasHttpSupport()
      A convienient methods that returns true if the endpoint support HTTP scheme. Returns false otherwise.