Class OfferDetail
- java.lang.Object
-
- com.azure.resourcemanager.confluent.models.OfferDetail
-
public final class OfferDetail extends Object
Confluent Offer detail.
-
-
Constructor Summary
Constructors Constructor Description OfferDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
id()
Get the id property: Offer Id.String
planId()
Get the planId property: Offer Plan Id.String
planName()
Get the planName property: Offer Plan Name.String
publisherId()
Get the publisherId property: Publisher Id.SaaSOfferStatus
status()
Get the status property: SaaSOfferStatus SaaS Offer Status.String
termUnit()
Get the termUnit property: Offer Plan Term unit.void
validate()
Validates the instance.OfferDetail
withId(String id)
Set the id property: Offer Id.OfferDetail
withPlanId(String planId)
Set the planId property: Offer Plan Id.OfferDetail
withPlanName(String planName)
Set the planName property: Offer Plan Name.OfferDetail
withPublisherId(String publisherId)
Set the publisherId property: Publisher Id.OfferDetail
withStatus(SaaSOfferStatus status)
Set the status property: SaaSOfferStatus SaaS Offer Status.OfferDetail
withTermUnit(String termUnit)
Set the termUnit property: Offer Plan Term unit.
-
-
-
Method Detail
-
publisherId
public String publisherId()
Get the publisherId property: Publisher Id.- Returns:
- the publisherId value.
-
withPublisherId
public OfferDetail withPublisherId(String publisherId)
Set the publisherId property: Publisher Id.- Parameters:
publisherId
- the publisherId value to set.- Returns:
- the OfferDetail object itself.
-
id
public String id()
Get the id property: Offer Id.- Returns:
- the id value.
-
withId
public OfferDetail withId(String id)
Set the id property: Offer Id.- Parameters:
id
- the id value to set.- Returns:
- the OfferDetail object itself.
-
planId
public String planId()
Get the planId property: Offer Plan Id.- Returns:
- the planId value.
-
withPlanId
public OfferDetail withPlanId(String planId)
Set the planId property: Offer Plan Id.- Parameters:
planId
- the planId value to set.- Returns:
- the OfferDetail object itself.
-
planName
public String planName()
Get the planName property: Offer Plan Name.- Returns:
- the planName value.
-
withPlanName
public OfferDetail withPlanName(String planName)
Set the planName property: Offer Plan Name.- Parameters:
planName
- the planName value to set.- Returns:
- the OfferDetail object itself.
-
termUnit
public String termUnit()
Get the termUnit property: Offer Plan Term unit.- Returns:
- the termUnit value.
-
withTermUnit
public OfferDetail withTermUnit(String termUnit)
Set the termUnit property: Offer Plan Term unit.- Parameters:
termUnit
- the termUnit value to set.- Returns:
- the OfferDetail object itself.
-
status
public SaaSOfferStatus status()
Get the status property: SaaSOfferStatus SaaS Offer Status.- Returns:
- the status value.
-
withStatus
public OfferDetail withStatus(SaaSOfferStatus status)
Set the status property: SaaSOfferStatus SaaS Offer Status.- Parameters:
status
- the status value to set.- Returns:
- the OfferDetail object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-