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 Summary
Constructors Constructor Description StaticSiteUserInvitationRequestResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdomain()Get the domain property: The domain name for the static site custom domain.IntegernumHoursToExpiration()Get the numHoursToExpiration property: The number of hours the sas token stays valid.Stringprovider()Get the provider property: The identity provider for the static site user.Stringroles()Get the roles property: The roles for the static site user, in free-form string format.StringuserDetails()Get the userDetails property: The user id for the static site user.voidvalidate()Validates the instance.StaticSiteUserInvitationRequestResourcewithDomain(String domain)Set the domain property: The domain name for the static site custom domain.StaticSiteUserInvitationRequestResourcewithKind(String kind)Set the kind property: Kind of resource.StaticSiteUserInvitationRequestResourcewithNumHoursToExpiration(Integer numHoursToExpiration)Set the numHoursToExpiration property: The number of hours the sas token stays valid.StaticSiteUserInvitationRequestResourcewithProvider(String provider)Set the provider property: The identity provider for the static site user.StaticSiteUserInvitationRequestResourcewithRoles(String roles)Set the roles property: The roles for the static site user, in free-form string format.StaticSiteUserInvitationRequestResourcewithUserDetails(String userDetails)Set the userDetails property: The user id for the static site user.-
Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
-
-
-
-
Method Detail
-
withKind
public StaticSiteUserInvitationRequestResource withKind(String kind)
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- 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
public StaticSiteUserInvitationRequestResource withRoles(String roles)
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:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-