Class ProviderRegistrationRequest

java.lang.Object
com.azure.resourcemanager.resources.models.ProviderRegistrationRequest

public final class ProviderRegistrationRequest extends Object
The provider registration definition.
  • Constructor Details

    • ProviderRegistrationRequest

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

    • thirdPartyProviderConsent

      public ProviderConsentDefinition thirdPartyProviderConsent()
      Get the thirdPartyProviderConsent property: The provider consent.
      Returns:
      the thirdPartyProviderConsent value.
    • withThirdPartyProviderConsent

      public ProviderRegistrationRequest withThirdPartyProviderConsent(ProviderConsentDefinition thirdPartyProviderConsent)
      Set the thirdPartyProviderConsent property: The provider consent.
      Parameters:
      thirdPartyProviderConsent - the thirdPartyProviderConsent value to set.
      Returns:
      the ProviderRegistrationRequest object itself.
    • validate

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