Class PortalSignupSettingsProperties
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.fluent.models.PortalSignupSettingsProperties
-
public final class PortalSignupSettingsProperties extends Object
Sign-up settings contract properties.
-
-
Constructor Summary
Constructors Constructor Description PortalSignupSettingsProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
enabled()
Get the enabled property: Allow users to sign up on a developer portal.TermsOfServiceProperties
termsOfService()
Get the termsOfService property: Terms of service contract properties.void
validate()
Validates the instance.PortalSignupSettingsProperties
withEnabled(Boolean enabled)
Set the enabled property: Allow users to sign up on a developer portal.PortalSignupSettingsProperties
withTermsOfService(TermsOfServiceProperties termsOfService)
Set the termsOfService property: Terms of service contract properties.
-
-
-
Method Detail
-
enabled
public Boolean enabled()
Get the enabled property: Allow users to sign up on a developer portal.- Returns:
- the enabled value.
-
withEnabled
public PortalSignupSettingsProperties withEnabled(Boolean enabled)
Set the enabled property: Allow users to sign up on a developer portal.- Parameters:
enabled
- the enabled value to set.- Returns:
- the PortalSignupSettingsProperties object itself.
-
termsOfService
public TermsOfServiceProperties termsOfService()
Get the termsOfService property: Terms of service contract properties.- Returns:
- the termsOfService value.
-
withTermsOfService
public PortalSignupSettingsProperties withTermsOfService(TermsOfServiceProperties termsOfService)
Set the termsOfService property: Terms of service contract properties.- Parameters:
termsOfService
- the termsOfService value to set.- Returns:
- the PortalSignupSettingsProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-