Class ApiAppMetadata
- java.lang.Object
-
- com.mongodb.stitch.core.internal.net.ApiAppMetadata
-
public class ApiAppMetadata extends Object
Represents the application metadata for a particular Stitch application.
-
-
Constructor Summary
Constructors Constructor Description ApiAppMetadata()
-
Method Summary
Modifier and Type Method Description StringgetDeploymentModel()Provides the deployment model for the application.StringgetHostname()Provides the hostname to use when accessing client API for the application.StringgetLocation()Provides the location for the application.voidsetDeploymentModel(String deploymentModel)Sets the deployment model for the application.voidsetHostname(String hostname)Sets the client API hostname.voidsetLocation(String location)Sets the application's location.StringtoString()
-
-
-
Method Detail
-
getDeploymentModel
public String getDeploymentModel()
Provides the deployment model for the application.- Returns:
- the deployment model.
-
setDeploymentModel
public void setDeploymentModel(String deploymentModel)
Sets the deployment model for the application.- Parameters:
deploymentModel- the deployment model to set.
-
getLocation
public String getLocation()
Provides the location for the application.- Returns:
- the location.
-
setLocation
public void setLocation(String location)
Sets the application's location.- Parameters:
location- the location to set.
-
getHostname
public String getHostname()
Provides the hostname to use when accessing client API for the application.- Returns:
- the client API hostname.
-
setHostname
public void setHostname(String hostname)
Sets the client API hostname.- Parameters:
hostname- the hostname to set
-
-