java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.azurestack.fluent.models.ProductInner

public final class ProductInner extends com.azure.core.management.ProxyResource
Product information.
  • Constructor Details

    • ProductInner

      public ProductInner()
      Creates an instance of ProductInner class.
  • Method Details

    • etag

      public String etag()
      Get the etag property: The entity tag used for optimistic concurrency when modifying the resource.
      Returns:
      the etag value.
    • withEtag

      public ProductInner withEtag(String etag)
      Set the etag property: The entity tag used for optimistic concurrency when modifying the resource.
      Parameters:
      etag - the etag value to set.
      Returns:
      the ProductInner object itself.
    • displayName

      public String displayName()
      Get the displayName property: The display name of the product.
      Returns:
      the displayName value.
    • withDisplayName

      public ProductInner withDisplayName(String displayName)
      Set the displayName property: The display name of the product.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the ProductInner object itself.
    • description

      public String description()
      Get the description property: The description of the product.
      Returns:
      the description value.
    • withDescription

      public ProductInner withDescription(String description)
      Set the description property: The description of the product.
      Parameters:
      description - the description value to set.
      Returns:
      the ProductInner object itself.
    • publisherDisplayName

      public String publisherDisplayName()
      Get the publisherDisplayName property: The user-friendly name of the product publisher.
      Returns:
      the publisherDisplayName value.
    • withPublisherDisplayName

      public ProductInner withPublisherDisplayName(String publisherDisplayName)
      Set the publisherDisplayName property: The user-friendly name of the product publisher.
      Parameters:
      publisherDisplayName - the publisherDisplayName value to set.
      Returns:
      the ProductInner object itself.
    • publisherIdentifier

      public String publisherIdentifier()
      Get the publisherIdentifier property: Publisher identifier.
      Returns:
      the publisherIdentifier value.
    • withPublisherIdentifier

      public ProductInner withPublisherIdentifier(String publisherIdentifier)
      Set the publisherIdentifier property: Publisher identifier.
      Parameters:
      publisherIdentifier - the publisherIdentifier value to set.
      Returns:
      the ProductInner object itself.
    • offer

      public String offer()
      Get the offer property: The offer representing the product.
      Returns:
      the offer value.
    • withOffer

      public ProductInner withOffer(String offer)
      Set the offer property: The offer representing the product.
      Parameters:
      offer - the offer value to set.
      Returns:
      the ProductInner object itself.
    • offerVersion

      public String offerVersion()
      Get the offerVersion property: The version of the product offer.
      Returns:
      the offerVersion value.
    • withOfferVersion

      public ProductInner withOfferVersion(String offerVersion)
      Set the offerVersion property: The version of the product offer.
      Parameters:
      offerVersion - the offerVersion value to set.
      Returns:
      the ProductInner object itself.
    • sku

      public String sku()
      Get the sku property: The product SKU.
      Returns:
      the sku value.
    • withSku

      public ProductInner withSku(String sku)
      Set the sku property: The product SKU.
      Parameters:
      sku - the sku value to set.
      Returns:
      the ProductInner object itself.
    • billingPartNumber

      public String billingPartNumber()
      Get the billingPartNumber property: The part number used for billing purposes.
      Returns:
      the billingPartNumber value.
    • withBillingPartNumber

      public ProductInner withBillingPartNumber(String billingPartNumber)
      Set the billingPartNumber property: The part number used for billing purposes.
      Parameters:
      billingPartNumber - the billingPartNumber value to set.
      Returns:
      the ProductInner object itself.
    • vmExtensionType

      public String vmExtensionType()
      Get the vmExtensionType property: The type of the Virtual Machine Extension.
      Returns:
      the vmExtensionType value.
    • withVmExtensionType

      public ProductInner withVmExtensionType(String vmExtensionType)
      Set the vmExtensionType property: The type of the Virtual Machine Extension.
      Parameters:
      vmExtensionType - the vmExtensionType value to set.
      Returns:
      the ProductInner object itself.
    • galleryItemIdentity

      public String galleryItemIdentity()
      Get the galleryItemIdentity property: The identifier of the gallery item corresponding to the product.
      Returns:
      the galleryItemIdentity value.
    • withGalleryItemIdentity

      public ProductInner withGalleryItemIdentity(String galleryItemIdentity)
      Set the galleryItemIdentity property: The identifier of the gallery item corresponding to the product.
      Parameters:
      galleryItemIdentity - the galleryItemIdentity value to set.
      Returns:
      the ProductInner object itself.
    • iconUris

      public IconUris iconUris()
      Get the iconUris property: Additional links available for this product.
      Returns:
      the iconUris value.
    • withIconUris

      public ProductInner withIconUris(IconUris iconUris)
      Set the iconUris property: Additional links available for this product.
      Parameters:
      iconUris - the iconUris value to set.
      Returns:
      the ProductInner object itself.
    • links

      public List<ProductLink> links()
      Get the links property: Additional links available for this product.
      Returns:
      the links value.
    • withLinks

      public ProductInner withLinks(List<ProductLink> links)
      Set the links property: Additional links available for this product.
      Parameters:
      links - the links value to set.
      Returns:
      the ProductInner object itself.
    • legalTerms

      public String legalTerms()
      Get the legalTerms property: The legal terms.
      Returns:
      the legalTerms value.
    • withLegalTerms

      public ProductInner withLegalTerms(String legalTerms)
      Set the legalTerms property: The legal terms.
      Parameters:
      legalTerms - the legalTerms value to set.
      Returns:
      the ProductInner object itself.
    • privacyPolicy

      public String privacyPolicy()
      Get the privacyPolicy property: The privacy policy.
      Returns:
      the privacyPolicy value.
    • withPrivacyPolicy

      public ProductInner withPrivacyPolicy(String privacyPolicy)
      Set the privacyPolicy property: The privacy policy.
      Parameters:
      privacyPolicy - the privacyPolicy value to set.
      Returns:
      the ProductInner object itself.
    • payloadLength

      public Long payloadLength()
      Get the payloadLength property: The length of product content.
      Returns:
      the payloadLength value.
    • withPayloadLength

      public ProductInner withPayloadLength(Long payloadLength)
      Set the payloadLength property: The length of product content.
      Parameters:
      payloadLength - the payloadLength value to set.
      Returns:
      the ProductInner object itself.
    • productKind

      public String productKind()
      Get the productKind property: The kind of the product (virtualMachine or virtualMachineExtension).
      Returns:
      the productKind value.
    • withProductKind

      public ProductInner withProductKind(String productKind)
      Set the productKind property: The kind of the product (virtualMachine or virtualMachineExtension).
      Parameters:
      productKind - the productKind value to set.
      Returns:
      the ProductInner object itself.
    • productProperties

      public ProductProperties productProperties()
      Get the productProperties property: Additional properties for the product.
      Returns:
      the productProperties value.
    • withProductProperties

      public ProductInner withProductProperties(ProductProperties productProperties)
      Set the productProperties property: Additional properties for the product.
      Parameters:
      productProperties - the productProperties value to set.
      Returns:
      the ProductInner object itself.
    • compatibility

      public Compatibility compatibility()
      Get the compatibility property: Product compatibility with current device.
      Returns:
      the compatibility value.
    • withCompatibility

      public ProductInner withCompatibility(Compatibility compatibility)
      Set the compatibility property: Product compatibility with current device.
      Parameters:
      compatibility - the compatibility value to set.
      Returns:
      the ProductInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.