Class StaticSiteUserInvitationRequestResourceProperties
- java.lang.Object
-
- com.azure.resourcemanager.appservice.fluent.models.StaticSiteUserInvitationRequestResourceProperties
-
public final class StaticSiteUserInvitationRequestResourceProperties extends Object
StaticSiteUserInvitationRequestResource resource specific properties.
-
-
Constructor Summary
Constructors Constructor Description StaticSiteUserInvitationRequestResourceProperties()
-
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.StaticSiteUserInvitationRequestResourcePropertieswithDomain(String domain)Set the domain property: The domain name for the static site custom domain.StaticSiteUserInvitationRequestResourcePropertieswithNumHoursToExpiration(Integer numHoursToExpiration)Set the numHoursToExpiration property: The number of hours the sas token stays valid.StaticSiteUserInvitationRequestResourcePropertieswithProvider(String provider)Set the provider property: The identity provider for the static site user.StaticSiteUserInvitationRequestResourcePropertieswithRoles(String roles)Set the roles property: The roles for the static site user, in free-form string format.StaticSiteUserInvitationRequestResourcePropertieswithUserDetails(String userDetails)Set the userDetails property: The user id for the static site user.
-
-
-
Method Detail
-
domain
public String domain()
Get the domain property: The domain name for the static site custom domain.- Returns:
- the domain value.
-
withDomain
public StaticSiteUserInvitationRequestResourceProperties 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 StaticSiteUserInvitationRequestResourceProperties object itself.
-
provider
public String provider()
Get the provider property: The identity provider for the static site user.- Returns:
- the provider value.
-
withProvider
public StaticSiteUserInvitationRequestResourceProperties withProvider(String provider)
Set the provider property: The identity provider for the static site user.- Parameters:
provider- the provider value to set.- Returns:
- the StaticSiteUserInvitationRequestResourceProperties object itself.
-
userDetails
public String userDetails()
Get the userDetails property: The user id for the static site user.- Returns:
- the userDetails value.
-
withUserDetails
public StaticSiteUserInvitationRequestResourceProperties withUserDetails(String userDetails)
Set the userDetails property: The user id for the static site user.- Parameters:
userDetails- the userDetails value to set.- Returns:
- the StaticSiteUserInvitationRequestResourceProperties 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 StaticSiteUserInvitationRequestResourceProperties 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 StaticSiteUserInvitationRequestResourceProperties 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 StaticSiteUserInvitationRequestResourceProperties 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 StaticSiteUserInvitationRequestResourceProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-