Class StaticSiteUserInvitationRequestResource
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.models.StaticSiteUserInvitationRequestResource
Static sites user roles invitation resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondomain()
Get the domain property: The domain name for the static site custom domain.Get the numHoursToExpiration property: The number of hours the sas token stays valid.provider()
Get the provider property: The identity provider for the static site user.roles()
Get the roles property: The roles for the static site user, in free-form string format.Get the userDetails property: The user id for the static site user.void
validate()
Validates the instance.withDomain
(String domain) Set the domain property: The domain name for the static site custom domain.Set the kind property: Kind of resource.withNumHoursToExpiration
(Integer numHoursToExpiration) Set the numHoursToExpiration property: The number of hours the sas token stays valid.withProvider
(String provider) Set the provider property: The identity provider for the static site user.Set the roles property: The roles for the static site user, in free-form string format.withUserDetails
(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
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
StaticSiteUserInvitationRequestResource
public StaticSiteUserInvitationRequestResource()
-
-
Method Details
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKind
in classProxyOnlyResource
- Parameters:
kind
- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
domain
Get the domain property: The domain name for the static site custom domain.- Returns:
- the domain value.
-
withDomain
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
Get the provider property: The identity provider for the static site user.- Returns:
- the provider value.
-
withProvider
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
Get the userDetails property: The user id for the static site user.- Returns:
- the userDetails value.
-
withUserDetails
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
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
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 classProxyOnlyResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-