SubscriptionFeatureRegistrationProperties Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. SubscriptionFeatureRegistrationProperties
- com.
Implements
public final class SubscriptionFeatureRegistrationProperties
implements JsonSerializable<SubscriptionFeatureRegistrationProperties>
The SubscriptionFeatureRegistrationProperties model.
Constructor Summary
Constructor | Description |
---|---|
SubscriptionFeatureRegistrationProperties() |
Creates an instance of Subscription |
Method Summary
Modifier and Type | Method and Description |
---|---|
Subscription |
approvalType()
Get the approval |
Authorization |
authorizationProfile()
Get the authorization |
String |
description()
Get the description property: The feature description. |
String |
displayName()
Get the display |
String |
documentationLink()
Get the documentation |
String |
featureName()
Get the feature |
static
Subscription |
fromJson(JsonReader jsonReader)
Reads an instance of Subscription |
Map<String,String> |
metadata()
Get the metadata property: Key-value pairs for meta data. |
String |
providerNamespace()
Get the provider |
Offset |
registrationDate()
Get the registration |
Offset |
releaseDate()
Get the release |
Boolean |
shouldFeatureDisplayInPortal()
Get the should |
Subscription |
state()
Get the state property: The state. |
String |
subscriptionId()
Get the subscription |
String |
tenantId()
Get the tenant |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Subscription |
withAuthorizationProfile(AuthorizationProfile authorizationProfile)
Set the authorization |
Subscription |
withDescription(String description)
Set the description property: The feature description. |
Subscription |
withMetadata(Map<String,String> metadata)
Set the metadata property: Key-value pairs for meta data. |
Subscription |
withShouldFeatureDisplayInPortal(Boolean shouldFeatureDisplayInPortal)
Set the should |
Subscription |
withState(SubscriptionFeatureRegistrationState state)
Set the state property: The state. |
Methods inherited from java.lang.Object
Constructor Details
SubscriptionFeatureRegistrationProperties
public SubscriptionFeatureRegistrationProperties()
Creates an instance of SubscriptionFeatureRegistrationProperties class.
Method Details
approvalType
public SubscriptionFeatureRegistrationApprovalType approvalType()
Get the approvalType property: The feature approval type.
Returns:
authorizationProfile
public AuthorizationProfile authorizationProfile()
Get the authorizationProfile property: Authorization Profile.
Returns:
description
public String description()
Get the description property: The feature description.
Returns:
displayName
public String displayName()
Get the displayName property: The featureDisplayName.
Returns:
documentationLink
public String documentationLink()
Get the documentationLink property: The feature documentation link.
Returns:
featureName
public String featureName()
Get the featureName property: The featureName.
Returns:
fromJson
public static SubscriptionFeatureRegistrationProperties fromJson(JsonReader jsonReader)
Reads an instance of SubscriptionFeatureRegistrationProperties from the JsonReader.
Parameters:
Returns:
Throws:
metadata
public Map
Get the metadata property: Key-value pairs for meta data.
Returns:
providerNamespace
public String providerNamespace()
Get the providerNamespace property: The providerNamespace.
Returns:
registrationDate
public OffsetDateTime registrationDate()
Get the registrationDate property: The feature registration date.
Returns:
releaseDate
public OffsetDateTime releaseDate()
Get the releaseDate property: The feature release date.
Returns:
shouldFeatureDisplayInPortal
public Boolean shouldFeatureDisplayInPortal()
Get the shouldFeatureDisplayInPortal property: Indicates whether feature should be displayed in Portal.
Returns:
state
public SubscriptionFeatureRegistrationState state()
Get the state property: The state.
Returns:
subscriptionId
public String subscriptionId()
Get the subscriptionId property: The subscriptionId.
Returns:
tenantId
public String tenantId()
Get the tenantId property: The tenantId.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAuthorizationProfile
public SubscriptionFeatureRegistrationProperties withAuthorizationProfile(AuthorizationProfile authorizationProfile)
Set the authorizationProfile property: Authorization Profile.
Parameters:
Returns:
withDescription
public SubscriptionFeatureRegistrationProperties withDescription(String description)
Set the description property: The feature description.
Parameters:
Returns:
withMetadata
public SubscriptionFeatureRegistrationProperties withMetadata(Map
Set the metadata property: Key-value pairs for meta data.
Parameters:
Returns:
withShouldFeatureDisplayInPortal
public SubscriptionFeatureRegistrationProperties withShouldFeatureDisplayInPortal(Boolean shouldFeatureDisplayInPortal)
Set the shouldFeatureDisplayInPortal property: Indicates whether feature should be displayed in Portal.
Parameters:
Returns:
withState
public SubscriptionFeatureRegistrationProperties withState(SubscriptionFeatureRegistrationState state)
Set the state property: The state.
Parameters:
Returns:
Applies to
Azure SDK for Java