ProductInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. azurestack. fluent. models. ProductInner
- com.
- com.
public final class ProductInner
extends ProxyResource
Product information.
Constructor Summary
| Constructor | Description |
|---|---|
| ProductInner() |
Creates an instance of Product |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
billingPartNumber()
Get the billing |
| Compatibility |
compatibility()
Get the compatibility property: Product compatibility with current device. |
| String |
description()
Get the description property: The description of the product. |
| String |
displayName()
Get the display |
| String |
etag()
Get the etag property: The entity tag used for optimistic concurrency when modifying the resource. |
|
static
Product |
fromJson(JsonReader jsonReader)
Reads an instance of Product |
| String |
galleryItemIdentity()
Get the gallery |
|
Icon |
iconUris()
Get the icon |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
legalTerms()
Get the legal |
|
List<Product |
links()
Get the links property: Additional links available for this product. |
| String |
name()
Get the name property: The name of the resource. |
| String |
offer()
Get the offer property: The offer representing the product. |
| String |
offerVersion()
Get the offer |
| Long |
payloadLength()
Get the payload |
| String |
privacyPolicy()
Get the privacy |
| String |
productKind()
Get the product |
|
Product |
productProperties()
Get the product |
| String |
publisherDisplayName()
Get the publisher |
| String |
publisherIdentifier()
Get the publisher |
| String |
sku()
Get the sku property: The product SKU. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
| String |
vmExtensionType()
Get the vm |
|
Product |
withBillingPartNumber(String billingPartNumber)
Set the billing |
|
Product |
withCompatibility(Compatibility compatibility)
Set the compatibility property: Product compatibility with current device. |
|
Product |
withDescription(String description)
Set the description property: The description of the product. |
|
Product |
withDisplayName(String displayName)
Set the display |
|
Product |
withEtag(String etag)
Set the etag property: The entity tag used for optimistic concurrency when modifying the resource. |
|
Product |
withGalleryItemIdentity(String galleryItemIdentity)
Set the gallery |
|
Product |
withIconUris(IconUris iconUris)
Set the icon |
|
Product |
withLegalTerms(String legalTerms)
Set the legal |
|
Product |
withLinks(List<ProductLink> links)
Set the links property: Additional links available for this product. |
|
Product |
withOffer(String offer)
Set the offer property: The offer representing the product. |
|
Product |
withOfferVersion(String offerVersion)
Set the offer |
|
Product |
withPayloadLength(Long payloadLength)
Set the payload |
|
Product |
withPrivacyPolicy(String privacyPolicy)
Set the privacy |
|
Product |
withProductKind(String productKind)
Set the product |
|
Product |
withProductProperties(ProductProperties productProperties)
Set the product |
|
Product |
withPublisherDisplayName(String publisherDisplayName)
Set the publisher |
|
Product |
withPublisherIdentifier(String publisherIdentifier)
Set the publisher |
|
Product |
withSku(String sku)
Set the sku property: The product SKU. |
|
Product |
withVmExtensionType(String vmExtensionType)
Set the vm |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ProductInner
public ProductInner()
Creates an instance of ProductInner class.
Method Details
billingPartNumber
public String billingPartNumber()
Get the billingPartNumber property: The part number used for billing purposes.
Returns:
compatibility
public Compatibility compatibility()
Get the compatibility property: Product compatibility with current device.
Returns:
description
public String description()
Get the description property: The description of the product.
Returns:
displayName
public String displayName()
Get the displayName property: The display name of the product.
Returns:
etag
public String etag()
Get the etag property: The entity tag used for optimistic concurrency when modifying the resource.
Returns:
fromJson
public static ProductInner fromJson(JsonReader jsonReader)
Reads an instance of ProductInner from the JsonReader.
Parameters:
Returns:
Throws:
galleryItemIdentity
public String galleryItemIdentity()
Get the galleryItemIdentity property: The identifier of the gallery item corresponding to the product.
Returns:
iconUris
public IconUris iconUris()
Get the iconUris property: Additional links available for this product.
Returns:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ProductInner.id()Returns:
legalTerms
public String legalTerms()
Get the legalTerms property: The legal terms.
Returns:
links
public List<ProductLink> links()
Get the links property: Additional links available for this product.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ProductInner.name()Returns:
offer
public String offer()
Get the offer property: The offer representing the product.
Returns:
offerVersion
public String offerVersion()
Get the offerVersion property: The version of the product offer.
Returns:
payloadLength
public Long payloadLength()
Get the payloadLength property: The length of product content.
Returns:
privacyPolicy
public String privacyPolicy()
Get the privacyPolicy property: The privacy policy.
Returns:
productKind
public String productKind()
Get the productKind property: The kind of the product (virtualMachine or virtualMachineExtension).
Returns:
productProperties
public ProductProperties productProperties()
Get the productProperties property: Additional properties for the product.
Returns:
publisherDisplayName
public String publisherDisplayName()
Get the publisherDisplayName property: The user-friendly name of the product publisher.
Returns:
publisherIdentifier
public String publisherIdentifier()
Get the publisherIdentifier property: Publisher identifier.
Returns:
sku
public String sku()
Get the sku property: The product SKU.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ProductInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ProductInner.type()Returns:
validate
public void validate()
Validates the instance.
vmExtensionType
public String vmExtensionType()
Get the vmExtensionType property: The type of the Virtual Machine Extension.
Returns:
withBillingPartNumber
public ProductInner withBillingPartNumber(String billingPartNumber)
Set the billingPartNumber property: The part number used for billing purposes.
Parameters:
Returns:
withCompatibility
public ProductInner withCompatibility(Compatibility compatibility)
Set the compatibility property: Product compatibility with current device.
Parameters:
Returns:
withDescription
public ProductInner withDescription(String description)
Set the description property: The description of the product.
Parameters:
Returns:
withDisplayName
public ProductInner withDisplayName(String displayName)
Set the displayName property: The display name of the product.
Parameters:
Returns:
withEtag
public ProductInner withEtag(String etag)
Set the etag property: The entity tag used for optimistic concurrency when modifying the resource.
Parameters:
Returns:
withGalleryItemIdentity
public ProductInner withGalleryItemIdentity(String galleryItemIdentity)
Set the galleryItemIdentity property: The identifier of the gallery item corresponding to the product.
Parameters:
Returns:
withIconUris
public ProductInner withIconUris(IconUris iconUris)
Set the iconUris property: Additional links available for this product.
Parameters:
Returns:
withLegalTerms
public ProductInner withLegalTerms(String legalTerms)
Set the legalTerms property: The legal terms.
Parameters:
Returns:
withLinks
public ProductInner withLinks(List<ProductLink> links)
Set the links property: Additional links available for this product.
Parameters:
Returns:
withOffer
public ProductInner withOffer(String offer)
Set the offer property: The offer representing the product.
Parameters:
Returns:
withOfferVersion
public ProductInner withOfferVersion(String offerVersion)
Set the offerVersion property: The version of the product offer.
Parameters:
Returns:
withPayloadLength
public ProductInner withPayloadLength(Long payloadLength)
Set the payloadLength property: The length of product content.
Parameters:
Returns:
withPrivacyPolicy
public ProductInner withPrivacyPolicy(String privacyPolicy)
Set the privacyPolicy property: The privacy policy.
Parameters:
Returns:
withProductKind
public ProductInner withProductKind(String productKind)
Set the productKind property: The kind of the product (virtualMachine or virtualMachineExtension).
Parameters:
Returns:
withProductProperties
public ProductInner withProductProperties(ProductProperties productProperties)
Set the productProperties property: Additional properties for the product.
Parameters:
Returns:
withPublisherDisplayName
public ProductInner withPublisherDisplayName(String publisherDisplayName)
Set the publisherDisplayName property: The user-friendly name of the product publisher.
Parameters:
Returns:
withPublisherIdentifier
public ProductInner withPublisherIdentifier(String publisherIdentifier)
Set the publisherIdentifier property: Publisher identifier.
Parameters:
Returns:
withSku
public ProductInner withSku(String sku)
Set the sku property: The product SKU.
Parameters:
Returns:
withVmExtensionType
public ProductInner withVmExtensionType(String vmExtensionType)
Set the vmExtensionType property: The type of the Virtual Machine Extension.
Parameters:
Returns: