Package com.amazonaws.partitions.model
Class Endpoint
- java.lang.Object
-
- com.amazonaws.partitions.model.Endpoint
-
public class Endpoint extends Object
Endpoint configuration.
-
-
Constructor Summary
Constructors Constructor Description Endpoint()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CredentialScope
getCredentialScope()
returns credential scope for the endpoint.String
getHostName()
returns the endpoint string.Set<String>
getProtocols()
returns the supported schemes for the endpoint.Set<String>
getSignatureVersions()
returns the supported signature versions of the endpoint.String
getSslCommonName()
returns the ssl common name for the endpoint.boolean
hasHttpsSupport()
A convienient methods that returns true if the endpoint support HTTPS scheme.boolean
hasHttpSupport()
A convienient methods that returns true if the endpoint support HTTP scheme.static Endpoint
merge(Endpoint defaults, Endpoint override)
Merges the given endpoints and returns the merged one.void
setCredentialScope(CredentialScope credentialScope)
sets the credential scope for the endpoint.void
setHostName(String hostName)
sets the endpoint string.void
setProtocols(Set<String> protocols)
sets the supported schemes for the endpoint.void
setSignatureVersions(Set<String> signatureVersions)
returns the supported signature versions of the endpoint.void
setSslCommonName(String sslCommonName)
sets the ssl common name for the endpoint.
-
-
-
Method Detail
-
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.
-
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.
-
-