Class ServerConfiguration

java.lang.Object
com.okta.sdk.resource.client.ServerConfiguration

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-09-23T08:35:59.300824-05:00[America/Chicago]", comments="Generator version: 7.8.0") public class ServerConfiguration extends Object
Representing a Server configuration.
  • Field Details

  • Constructor Details

    • ServerConfiguration

      public ServerConfiguration(String URL, String description, Map<String,ServerVariable> variables)
      Parameters:
      URL - A URL to the target host.
      description - A description of the host designated by the URL.
      variables - A map between a variable name and its value. The value is used for substitution in the server's URL template.
  • Method Details

    • URL

      public String URL(Map<String,String> variables)
      Format URL template using given variables.
      Parameters:
      variables - A map between a variable name and its value.
      Returns:
      Formatted URL.
    • URL

      public String URL()
      Format URL template using default server variables.
      Returns:
      Formatted URL.