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 class
StitchAppClientConfiguration.Builder
A builder that can build aStitchAppClientConfiguration
object.
-
Method Summary
Modifier and Type Method Description StitchAppClientConfiguration.Builder
builder()
Gets the builder form of this configuration.String
getLocalAppName()
Gets the name of the local application.String
getLocalAppVersion()
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:
builder
in classStitchClientConfiguration
- Returns:
- the builder form of this configuration.
-
-