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 String
getDeploymentModel()
Provides the deployment model for the application.String
getHostname()
Provides the hostname to use when accessing client API for the application.String
getLocation()
Provides the location for the application.void
setDeploymentModel(String deploymentModel)
Sets the deployment model for the application.void
setHostname(String hostname)
Sets the client API hostname.void
setLocation(String location)
Sets the application's location.String
toString()
-
-
-
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
-
-