Class GatewayCustomDomainProperties

java.lang.Object
com.azure.resourcemanager.appplatform.models.GatewayCustomDomainProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<GatewayCustomDomainProperties>

public final class GatewayCustomDomainProperties extends Object implements com.azure.json.JsonSerializable<GatewayCustomDomainProperties>
The properties of custom domain for Spring Cloud Gateway.
  • Constructor Details

    • GatewayCustomDomainProperties

      public GatewayCustomDomainProperties()
      Creates an instance of GatewayCustomDomainProperties class.
  • Method Details

    • thumbprint

      public String thumbprint()
      Get the thumbprint property: The thumbprint of bound certificate.
      Returns:
      the thumbprint value.
    • withThumbprint

      public GatewayCustomDomainProperties withThumbprint(String thumbprint)
      Set the thumbprint property: The thumbprint of bound certificate.
      Parameters:
      thumbprint - the thumbprint value to set.
      Returns:
      the GatewayCustomDomainProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<GatewayCustomDomainProperties>
      Throws:
      IOException
    • fromJson

      public static GatewayCustomDomainProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of GatewayCustomDomainProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of GatewayCustomDomainProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the GatewayCustomDomainProperties.