Package com.mongodb.stitch.core
Class StitchAppClientConfiguration
- java.lang.Object
-
- com.mongodb.stitch.core.StitchClientConfiguration
-
- com.mongodb.stitch.core.StitchAppClientConfiguration
-
public final class StitchAppClientConfiguration extends StitchClientConfiguration
Properties representing the configuration of an app client that communicate with a particular MongoDB Stitch application.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStitchAppClientConfiguration.BuilderA builder that can build aStitchAppClientConfigurationobject.
-
Method Summary
Modifier and Type Method Description StitchAppClientConfiguration.Builderbuilder()Gets the builder form of this configuration.StringgetLocalAppName()Gets the name of the local application.StringgetLocalAppVersion()Gets the current version of the local application.-
Methods inherited from class com.mongodb.stitch.core.StitchClientConfiguration
getBaseUrl, getCodecRegistry, getDataDirectory, getDefaultRequestTimeout, getNetworkMonitor, getStorage, getTransport
-
-
-
-
Method Detail
-
getLocalAppName
public String getLocalAppName()
Gets the name of the local application.- Returns:
- the name of the local application.
-
getLocalAppVersion
public String getLocalAppVersion()
Gets the current version of the local application.- Returns:
- the current version of the local application.
-
builder
public StitchAppClientConfiguration.Builder builder()
Gets the builder form of this configuration.- Overrides:
builderin classStitchClientConfiguration- Returns:
- the builder form of this configuration.
-
-