Class StaticSiteUserInvitationRequestResource

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.models.StaticSiteUserInvitationRequestResource

public final class StaticSiteUserInvitationRequestResource extends ProxyOnlyResource
Static sites user roles invitation resource.
  • Constructor Details

    • StaticSiteUserInvitationRequestResource

      public StaticSiteUserInvitationRequestResource()
  • Method Details

    • withKind

      Set the kind property: Kind of resource.
      Overrides:
      withKind in class ProxyOnlyResource
      Parameters:
      kind - the kind value to set.
      Returns:
      the ProxyOnlyResource object itself.
    • domain

      public String domain()
      Get the domain property: The domain name for the static site custom domain.
      Returns:
      the domain value.
    • withDomain

      public StaticSiteUserInvitationRequestResource withDomain(String domain)
      Set the domain property: The domain name for the static site custom domain.
      Parameters:
      domain - the domain value to set.
      Returns:
      the StaticSiteUserInvitationRequestResource object itself.
    • provider

      public String provider()
      Get the provider property: The identity provider for the static site user.
      Returns:
      the provider value.
    • withProvider

      public StaticSiteUserInvitationRequestResource withProvider(String provider)
      Set the provider property: The identity provider for the static site user.
      Parameters:
      provider - the provider value to set.
      Returns:
      the StaticSiteUserInvitationRequestResource object itself.
    • userDetails

      public String userDetails()
      Get the userDetails property: The user id for the static site user.
      Returns:
      the userDetails value.
    • withUserDetails

      public StaticSiteUserInvitationRequestResource withUserDetails(String userDetails)
      Set the userDetails property: The user id for the static site user.
      Parameters:
      userDetails - the userDetails value to set.
      Returns:
      the StaticSiteUserInvitationRequestResource object itself.
    • roles

      public String roles()
      Get the roles property: The roles for the static site user, in free-form string format.
      Returns:
      the roles value.
    • withRoles

      Set the roles property: The roles for the static site user, in free-form string format.
      Parameters:
      roles - the roles value to set.
      Returns:
      the StaticSiteUserInvitationRequestResource object itself.
    • numHoursToExpiration

      public Integer numHoursToExpiration()
      Get the numHoursToExpiration property: The number of hours the sas token stays valid.
      Returns:
      the numHoursToExpiration value.
    • withNumHoursToExpiration

      public StaticSiteUserInvitationRequestResource withNumHoursToExpiration(Integer numHoursToExpiration)
      Set the numHoursToExpiration property: The number of hours the sas token stays valid.
      Parameters:
      numHoursToExpiration - the numHoursToExpiration value to set.
      Returns:
      the StaticSiteUserInvitationRequestResource object itself.
    • validate

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