Class PortalSignupSettingsInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.apimanagement.fluent.models.PortalSignupSettingsInner
-
public final class PortalSignupSettingsInner extends com.azure.core.management.ProxyResource
Sign-Up settings for a developer portal.
-
-
Constructor Summary
Constructors Constructor Description PortalSignupSettingsInner()
-
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.PortalSignupSettingsInner
withEnabled(Boolean enabled)
Set the enabled property: Allow users to sign up on a developer portal.PortalSignupSettingsInner
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 PortalSignupSettingsInner 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 PortalSignupSettingsInner object itself.
-
termsOfService
public TermsOfServiceProperties termsOfService()
Get the termsOfService property: Terms of service contract properties.- Returns:
- the termsOfService value.
-
withTermsOfService
public PortalSignupSettingsInner withTermsOfService(TermsOfServiceProperties termsOfService)
Set the termsOfService property: Terms of service contract properties.- Parameters:
termsOfService
- the termsOfService value to set.- Returns:
- the PortalSignupSettingsInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-