OfferDetail Class
- java.
lang. Object - com.
azure. resourcemanager. confluent. models. OfferDetail
- com.
Implements
public final class OfferDetail
implements JsonSerializable<OfferDetail>
Confluent Offer detail.
Constructor Summary
| Constructor | Description |
|---|---|
| OfferDetail() |
Creates an instance of Offer |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Offer |
fromJson(JsonReader jsonReader)
Reads an instance of Offer |
| String |
id()
Get the id property: Offer Id. |
| String |
planId()
Get the plan |
| String |
planName()
Get the plan |
| String |
privateOfferId()
Get the private |
| List<String> |
privateOfferIds()
Get the private |
| String |
publisherId()
Get the publisher |
|
Saa |
status()
Get the status property: SaaS Offer Status. |
| String |
termId()
Get the term |
| String |
termUnit()
Get the term |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Offer |
withId(String id)
Set the id property: Offer Id. |
|
Offer |
withPlanId(String planId)
Set the plan |
|
Offer |
withPlanName(String planName)
Set the plan |
|
Offer |
withPrivateOfferId(String privateOfferId)
Set the private |
|
Offer |
withPrivateOfferIds(List<String> privateOfferIds)
Set the private |
|
Offer |
withPublisherId(String publisherId)
Set the publisher |
|
Offer |
withStatus(SaaSOfferStatus status)
Set the status property: SaaS Offer Status. |
|
Offer |
withTermId(String termId)
Set the term |
|
Offer |
withTermUnit(String termUnit)
Set the term |
Methods inherited from java.lang.Object
Constructor Details
OfferDetail
public OfferDetail()
Creates an instance of OfferDetail class.
Method Details
fromJson
public static OfferDetail fromJson(JsonReader jsonReader)
Reads an instance of OfferDetail from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Offer Id.
Returns:
planId
public String planId()
Get the planId property: Offer Plan Id.
Returns:
planName
public String planName()
Get the planName property: Offer Plan Name.
Returns:
privateOfferId
public String privateOfferId()
Get the privateOfferId property: Private Offer Id.
Returns:
privateOfferIds
public List<String> privateOfferIds()
Get the privateOfferIds property: Array of Private Offer Ids.
Returns:
publisherId
public String publisherId()
Get the publisherId property: Publisher Id.
Returns:
status
public SaaSOfferStatus status()
Get the status property: SaaS Offer Status.
Returns:
termId
public String termId()
Get the termId property: Offer Plan Term Id.
Returns:
termUnit
public String termUnit()
Get the termUnit property: Offer Plan Term unit.
Returns:
toJson
withId
public OfferDetail withId(String id)
Set the id property: Offer Id.
Parameters:
Returns:
withPlanId
public OfferDetail withPlanId(String planId)
Set the planId property: Offer Plan Id.
Parameters:
Returns:
withPlanName
public OfferDetail withPlanName(String planName)
Set the planName property: Offer Plan Name.
Parameters:
Returns:
withPrivateOfferId
public OfferDetail withPrivateOfferId(String privateOfferId)
Set the privateOfferId property: Private Offer Id.
Parameters:
Returns:
withPrivateOfferIds
public OfferDetail withPrivateOfferIds(List<String> privateOfferIds)
Set the privateOfferIds property: Array of Private Offer Ids.
Parameters:
Returns:
withPublisherId
public OfferDetail withPublisherId(String publisherId)
Set the publisherId property: Publisher Id.
Parameters:
Returns:
withStatus
public OfferDetail withStatus(SaaSOfferStatus status)
Set the status property: SaaS Offer Status.
Parameters:
Returns:
withTermId
public OfferDetail withTermId(String termId)
Set the termId property: Offer Plan Term Id.
Parameters:
Returns:
withTermUnit
public OfferDetail withTermUnit(String termUnit)
Set the termUnit property: Offer Plan Term unit.
Parameters:
Returns: