Class OpenidConnectProviderUpdateContractProperties

java.lang.Object
com.azure.resourcemanager.apimanagement.fluent.models.OpenidConnectProviderUpdateContractProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<OpenidConnectProviderUpdateContractProperties>

public final class OpenidConnectProviderUpdateContractProperties extends Object implements com.azure.json.JsonSerializable<OpenidConnectProviderUpdateContractProperties>
Parameters supplied to the Update OpenID Connect Provider operation.
  • Constructor Details

    • OpenidConnectProviderUpdateContractProperties

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

    • displayName

      public String displayName()
      Get the displayName property: User-friendly OpenID Connect Provider name.
      Returns:
      the displayName value.
    • withDisplayName

      public OpenidConnectProviderUpdateContractProperties withDisplayName(String displayName)
      Set the displayName property: User-friendly OpenID Connect Provider name.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the OpenidConnectProviderUpdateContractProperties object itself.
    • description

      public String description()
      Get the description property: User-friendly description of OpenID Connect Provider.
      Returns:
      the description value.
    • withDescription

      public OpenidConnectProviderUpdateContractProperties withDescription(String description)
      Set the description property: User-friendly description of OpenID Connect Provider.
      Parameters:
      description - the description value to set.
      Returns:
      the OpenidConnectProviderUpdateContractProperties object itself.
    • metadataEndpoint

      public String metadataEndpoint()
      Get the metadataEndpoint property: Metadata endpoint URI.
      Returns:
      the metadataEndpoint value.
    • withMetadataEndpoint

      public OpenidConnectProviderUpdateContractProperties withMetadataEndpoint(String metadataEndpoint)
      Set the metadataEndpoint property: Metadata endpoint URI.
      Parameters:
      metadataEndpoint - the metadataEndpoint value to set.
      Returns:
      the OpenidConnectProviderUpdateContractProperties object itself.
    • clientId

      public String clientId()
      Get the clientId property: Client ID of developer console which is the client application.
      Returns:
      the clientId value.
    • withClientId

      public OpenidConnectProviderUpdateContractProperties withClientId(String clientId)
      Set the clientId property: Client ID of developer console which is the client application.
      Parameters:
      clientId - the clientId value to set.
      Returns:
      the OpenidConnectProviderUpdateContractProperties object itself.
    • clientSecret

      public String clientSecret()
      Get the clientSecret property: Client Secret of developer console which is the client application.
      Returns:
      the clientSecret value.
    • withClientSecret

      public OpenidConnectProviderUpdateContractProperties withClientSecret(String clientSecret)
      Set the clientSecret property: Client Secret of developer console which is the client application.
      Parameters:
      clientSecret - the clientSecret value to set.
      Returns:
      the OpenidConnectProviderUpdateContractProperties object itself.
    • useInTestConsole

      public Boolean useInTestConsole()
      Get the useInTestConsole property: If true, the Open ID Connect provider may be used in the developer portal test console. True by default if no value is provided.
      Returns:
      the useInTestConsole value.
    • withUseInTestConsole

      public OpenidConnectProviderUpdateContractProperties withUseInTestConsole(Boolean useInTestConsole)
      Set the useInTestConsole property: If true, the Open ID Connect provider may be used in the developer portal test console. True by default if no value is provided.
      Parameters:
      useInTestConsole - the useInTestConsole value to set.
      Returns:
      the OpenidConnectProviderUpdateContractProperties object itself.
    • useInApiDocumentation

      public Boolean useInApiDocumentation()
      Get the useInApiDocumentation property: If true, the Open ID Connect provider will be used in the API documentation in the developer portal. False by default if no value is provided.
      Returns:
      the useInApiDocumentation value.
    • withUseInApiDocumentation

      public OpenidConnectProviderUpdateContractProperties withUseInApiDocumentation(Boolean useInApiDocumentation)
      Set the useInApiDocumentation property: If true, the Open ID Connect provider will be used in the API documentation in the developer portal. False by default if no value is provided.
      Parameters:
      useInApiDocumentation - the useInApiDocumentation value to set.
      Returns:
      the OpenidConnectProviderUpdateContractProperties 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<OpenidConnectProviderUpdateContractProperties>
      Throws:
      IOException
    • fromJson

      public static OpenidConnectProviderUpdateContractProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of OpenidConnectProviderUpdateContractProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of OpenidConnectProviderUpdateContractProperties 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 OpenidConnectProviderUpdateContractProperties.