PremierAddOnInner Class

public final class PremierAddOnInner
extends Resource

Premier add-on.

Constructor Summary

Constructor Description
PremierAddOnInner()

Creates an instance of PremierAddOnInner class.

Method Summary

Modifier and Type Method and Description
static PremierAddOnInner fromJson(JsonReader jsonReader)

Reads an instance of PremierAddOnInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String kind()

Get the kind property: Kind of resource.

String marketplaceOffer()

Get the marketplaceOffer property: Premier add on Marketplace offer.

String marketplacePublisher()

Get the marketplacePublisher property: Premier add on Marketplace publisher.

String name()

Get the name property: The name of the resource.

String product()

Get the product property: Premier add on Product.

String sku()

Get the sku property: Premier add on SKU.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

String vendor()

Get the vendor property: Premier add on Vendor.

PremierAddOnInner withKind(String kind)

Set the kind property: Kind of resource.

PremierAddOnInner withLocation(String location)
PremierAddOnInner withMarketplaceOffer(String marketplaceOffer)

Set the marketplaceOffer property: Premier add on Marketplace offer.

PremierAddOnInner withMarketplacePublisher(String marketplacePublisher)

Set the marketplacePublisher property: Premier add on Marketplace publisher.

PremierAddOnInner withProduct(String product)

Set the product property: Premier add on Product.

PremierAddOnInner withSku(String sku)

Set the sku property: Premier add on SKU.

PremierAddOnInner withTags(Map<String,String> tags)
PremierAddOnInner withVendor(String vendor)

Set the vendor property: Premier add on Vendor.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

PremierAddOnInner

public PremierAddOnInner()

Creates an instance of PremierAddOnInner class.

Method Details

fromJson

public static PremierAddOnInner fromJson(JsonReader jsonReader)

Reads an instance of PremierAddOnInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PremierAddOnInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

PremierAddOnInner.id()

Returns:

the id value.

kind

public String kind()

Get the kind property: Kind of resource.

Returns:

the kind value.

marketplaceOffer

public String marketplaceOffer()

Get the marketplaceOffer property: Premier add on Marketplace offer.

Returns:

the marketplaceOffer value.

marketplacePublisher

public String marketplacePublisher()

Get the marketplacePublisher property: Premier add on Marketplace publisher.

Returns:

the marketplacePublisher value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

PremierAddOnInner.name()

Returns:

the name value.

product

public String product()

Get the product property: Premier add on Product.

Returns:

the product value.

sku

public String sku()

Get the sku property: Premier add on SKU.

Returns:

the sku value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

PremierAddOnInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

PremierAddOnInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

vendor

public String vendor()

Get the vendor property: Premier add on Vendor.

Returns:

the vendor value.

withKind

public PremierAddOnInner withKind(String kind)

Set the kind property: Kind of resource.

Parameters:

kind - the kind value to set.

Returns:

the PremierAddOnInner object itself.

withLocation

public PremierAddOnInner withLocation(String location)

Overrides:

PremierAddOnInner.withLocation(String location)

Parameters:

location

withMarketplaceOffer

public PremierAddOnInner withMarketplaceOffer(String marketplaceOffer)

Set the marketplaceOffer property: Premier add on Marketplace offer.

Parameters:

marketplaceOffer - the marketplaceOffer value to set.

Returns:

the PremierAddOnInner object itself.

withMarketplacePublisher

public PremierAddOnInner withMarketplacePublisher(String marketplacePublisher)

Set the marketplacePublisher property: Premier add on Marketplace publisher.

Parameters:

marketplacePublisher - the marketplacePublisher value to set.

Returns:

the PremierAddOnInner object itself.

withProduct

public PremierAddOnInner withProduct(String product)

Set the product property: Premier add on Product.

Parameters:

product - the product value to set.

Returns:

the PremierAddOnInner object itself.

withSku

public PremierAddOnInner withSku(String sku)

Set the sku property: Premier add on SKU.

Parameters:

sku - the sku value to set.

Returns:

the PremierAddOnInner object itself.

withTags

public PremierAddOnInner withTags(Map tags)

Overrides:

PremierAddOnInner.withTags(Map<String,String> tags)

Parameters:

tags

withVendor

public PremierAddOnInner withVendor(String vendor)

Set the vendor property: Premier add on Vendor.

Parameters:

vendor - the vendor value to set.

Returns:

the PremierAddOnInner object itself.

Applies to