Class SubscriptionFeatureRegistrationProperties
java.lang.Object
com.azure.resourcemanager.resources.models.SubscriptionFeatureRegistrationProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SubscriptionFeatureRegistrationProperties>
public final class SubscriptionFeatureRegistrationProperties
extends Object
implements com.azure.json.JsonSerializable<SubscriptionFeatureRegistrationProperties>
The SubscriptionFeatureRegistrationProperties model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SubscriptionFeatureRegistrationProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the approvalType property: The feature approval type.Get the authorizationProfile property: Authorization Profile.Get the description property: The feature description.Get the displayName property: The featureDisplayName.Get the documentationLink property: The feature documentation link.Get the featureName property: The featureName.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SubscriptionFeatureRegistrationProperties from the JsonReader.metadata()Get the metadata property: Key-value pairs for meta data.Get the providerNamespace property: The providerNamespace.Get the registrationDate property: The feature registration date.Get the releaseDate property: The feature release date.Get the shouldFeatureDisplayInPortal property: Indicates whether feature should be displayed in Portal.state()Get the state property: The state.Get the subscriptionId property: The subscriptionId.tenantId()Get the tenantId property: The tenantId.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAuthorizationProfile(AuthorizationProfile authorizationProfile) Set the authorizationProfile property: Authorization Profile.withDescription(String description) Set the description property: The feature description.withMetadata(Map<String, String> metadata) Set the metadata property: Key-value pairs for meta data.withShouldFeatureDisplayInPortal(Boolean shouldFeatureDisplayInPortal) Set the shouldFeatureDisplayInPortal property: Indicates whether feature should be displayed in Portal.Set the state property: The state.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SubscriptionFeatureRegistrationProperties
public SubscriptionFeatureRegistrationProperties()Creates an instance of SubscriptionFeatureRegistrationProperties class.
-
-
Method Details
-
tenantId
Get the tenantId property: The tenantId.- Returns:
- the tenantId value.
-
subscriptionId
Get the subscriptionId property: The subscriptionId.- Returns:
- the subscriptionId value.
-
featureName
Get the featureName property: The featureName.- Returns:
- the featureName value.
-
displayName
Get the displayName property: The featureDisplayName.- Returns:
- the displayName value.
-
providerNamespace
Get the providerNamespace property: The providerNamespace.- Returns:
- the providerNamespace value.
-
state
Get the state property: The state.- Returns:
- the state value.
-
withState
public SubscriptionFeatureRegistrationProperties withState(SubscriptionFeatureRegistrationState state) Set the state property: The state.- Parameters:
state- the state value to set.- Returns:
- the SubscriptionFeatureRegistrationProperties object itself.
-
authorizationProfile
Get the authorizationProfile property: Authorization Profile.- Returns:
- the authorizationProfile value.
-
withAuthorizationProfile
public SubscriptionFeatureRegistrationProperties withAuthorizationProfile(AuthorizationProfile authorizationProfile) Set the authorizationProfile property: Authorization Profile.- Parameters:
authorizationProfile- the authorizationProfile value to set.- Returns:
- the SubscriptionFeatureRegistrationProperties object itself.
-
metadata
Get the metadata property: Key-value pairs for meta data.- Returns:
- the metadata value.
-
withMetadata
Set the metadata property: Key-value pairs for meta data.- Parameters:
metadata- the metadata value to set.- Returns:
- the SubscriptionFeatureRegistrationProperties object itself.
-
releaseDate
Get the releaseDate property: The feature release date.- Returns:
- the releaseDate value.
-
registrationDate
Get the registrationDate property: The feature registration date.- Returns:
- the registrationDate value.
-
documentationLink
Get the documentationLink property: The feature documentation link.- Returns:
- the documentationLink value.
-
approvalType
Get the approvalType property: The feature approval type.- Returns:
- the approvalType value.
-
shouldFeatureDisplayInPortal
Get the shouldFeatureDisplayInPortal property: Indicates whether feature should be displayed in Portal.- Returns:
- the shouldFeatureDisplayInPortal value.
-
withShouldFeatureDisplayInPortal
public SubscriptionFeatureRegistrationProperties withShouldFeatureDisplayInPortal(Boolean shouldFeatureDisplayInPortal) Set the shouldFeatureDisplayInPortal property: Indicates whether feature should be displayed in Portal.- Parameters:
shouldFeatureDisplayInPortal- the shouldFeatureDisplayInPortal value to set.- Returns:
- the SubscriptionFeatureRegistrationProperties object itself.
-
description
Get the description property: The feature description.- Returns:
- the description value.
-
withDescription
Set the description property: The feature description.- Parameters:
description- the description value to set.- Returns:
- the SubscriptionFeatureRegistrationProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SubscriptionFeatureRegistrationProperties>- Throws:
IOException
-
fromJson
public static SubscriptionFeatureRegistrationProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of SubscriptionFeatureRegistrationProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SubscriptionFeatureRegistrationProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the SubscriptionFeatureRegistrationProperties.
-