Class CustomerSubscriptionDetails
- java.lang.Object
-
- com.azure.resourcemanager.edgeorder.models.CustomerSubscriptionDetails
-
public final class CustomerSubscriptionDetails extends Object
Holds Customer subscription details. Clients can display available products to unregistered customers by explicitly passing subscription details.
-
-
Constructor Summary
Constructors Constructor Description CustomerSubscriptionDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
locationPlacementId()
Get the locationPlacementId property: Location placement Id of a subscription.String
quotaId()
Get the quotaId property: Quota ID of a subscription.List<CustomerSubscriptionRegisteredFeatures>
registeredFeatures()
Get the registeredFeatures property: List of registered feature flags for subscription.void
validate()
Validates the instance.CustomerSubscriptionDetails
withLocationPlacementId(String locationPlacementId)
Set the locationPlacementId property: Location placement Id of a subscription.CustomerSubscriptionDetails
withQuotaId(String quotaId)
Set the quotaId property: Quota ID of a subscription.CustomerSubscriptionDetails
withRegisteredFeatures(List<CustomerSubscriptionRegisteredFeatures> registeredFeatures)
Set the registeredFeatures property: List of registered feature flags for subscription.
-
-
-
Method Detail
-
registeredFeatures
public List<CustomerSubscriptionRegisteredFeatures> registeredFeatures()
Get the registeredFeatures property: List of registered feature flags for subscription.- Returns:
- the registeredFeatures value.
-
withRegisteredFeatures
public CustomerSubscriptionDetails withRegisteredFeatures(List<CustomerSubscriptionRegisteredFeatures> registeredFeatures)
Set the registeredFeatures property: List of registered feature flags for subscription.- Parameters:
registeredFeatures
- the registeredFeatures value to set.- Returns:
- the CustomerSubscriptionDetails object itself.
-
locationPlacementId
public String locationPlacementId()
Get the locationPlacementId property: Location placement Id of a subscription.- Returns:
- the locationPlacementId value.
-
withLocationPlacementId
public CustomerSubscriptionDetails withLocationPlacementId(String locationPlacementId)
Set the locationPlacementId property: Location placement Id of a subscription.- Parameters:
locationPlacementId
- the locationPlacementId value to set.- Returns:
- the CustomerSubscriptionDetails object itself.
-
quotaId
public String quotaId()
Get the quotaId property: Quota ID of a subscription.- Returns:
- the quotaId value.
-
withQuotaId
public CustomerSubscriptionDetails withQuotaId(String quotaId)
Set the quotaId property: Quota ID of a subscription.- Parameters:
quotaId
- the quotaId value to set.- Returns:
- the CustomerSubscriptionDetails object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-