Class ModuleProperties

java.lang.Object
com.azure.resourcemanager.automation.fluent.models.ModuleProperties

public final class ModuleProperties extends Object
Definition of the module property type.
  • Constructor Details

    • ModuleProperties

      public ModuleProperties()
  • Method Details

    • isGlobal

      public Boolean isGlobal()
      Get the isGlobal property: Gets or sets the isGlobal flag of the module.
      Returns:
      the isGlobal value.
    • withIsGlobal

      public ModuleProperties withIsGlobal(Boolean isGlobal)
      Set the isGlobal property: Gets or sets the isGlobal flag of the module.
      Parameters:
      isGlobal - the isGlobal value to set.
      Returns:
      the ModuleProperties object itself.
    • version

      public String version()
      Get the version property: Gets or sets the version of the module.
      Returns:
      the version value.
    • withVersion

      public ModuleProperties withVersion(String version)
      Set the version property: Gets or sets the version of the module.
      Parameters:
      version - the version value to set.
      Returns:
      the ModuleProperties object itself.
    • sizeInBytes

      public Long sizeInBytes()
      Get the sizeInBytes property: Gets or sets the size in bytes of the module.
      Returns:
      the sizeInBytes value.
    • withSizeInBytes

      public ModuleProperties withSizeInBytes(Long sizeInBytes)
      Set the sizeInBytes property: Gets or sets the size in bytes of the module.
      Parameters:
      sizeInBytes - the sizeInBytes value to set.
      Returns:
      the ModuleProperties object itself.
    • activityCount

      public Integer activityCount()
      Get the activityCount property: Gets or sets the activity count of the module.
      Returns:
      the activityCount value.
    • withActivityCount

      public ModuleProperties withActivityCount(Integer activityCount)
      Set the activityCount property: Gets or sets the activity count of the module.
      Parameters:
      activityCount - the activityCount value to set.
      Returns:
      the ModuleProperties object itself.
    • provisioningState

      public ModuleProvisioningState provisioningState()
      Get the provisioningState property: Gets or sets the provisioning state of the module.
      Returns:
      the provisioningState value.
    • withProvisioningState

      public ModuleProperties withProvisioningState(ModuleProvisioningState provisioningState)
      Set the provisioningState property: Gets or sets the provisioning state of the module.
      Parameters:
      provisioningState - the provisioningState value to set.
      Returns:
      the ModuleProperties object itself.
    • contentLink

      public ContentLink contentLink()
      Get the contentLink property: Gets or sets the contentLink of the module.
      Returns:
      the contentLink value.
    • withContentLink

      public ModuleProperties withContentLink(ContentLink contentLink)
      Set the contentLink property: Gets or sets the contentLink of the module.
      Parameters:
      contentLink - the contentLink value to set.
      Returns:
      the ModuleProperties object itself.
    • error

      public ModuleErrorInfo error()
      Get the error property: Gets or sets the error info of the module.
      Returns:
      the error value.
    • withError

      public ModuleProperties withError(ModuleErrorInfo error)
      Set the error property: Gets or sets the error info of the module.
      Parameters:
      error - the error value to set.
      Returns:
      the ModuleProperties object itself.
    • creationTime

      public OffsetDateTime creationTime()
      Get the creationTime property: Gets or sets the creation time.
      Returns:
      the creationTime value.
    • withCreationTime

      public ModuleProperties withCreationTime(OffsetDateTime creationTime)
      Set the creationTime property: Gets or sets the creation time.
      Parameters:
      creationTime - the creationTime value to set.
      Returns:
      the ModuleProperties object itself.
    • lastModifiedTime

      public OffsetDateTime lastModifiedTime()
      Get the lastModifiedTime property: Gets or sets the last modified time.
      Returns:
      the lastModifiedTime value.
    • withLastModifiedTime

      public ModuleProperties withLastModifiedTime(OffsetDateTime lastModifiedTime)
      Set the lastModifiedTime property: Gets or sets the last modified time.
      Parameters:
      lastModifiedTime - the lastModifiedTime value to set.
      Returns:
      the ModuleProperties object itself.
    • description

      public String description()
      Get the description property: Gets or sets the description.
      Returns:
      the description value.
    • withDescription

      public ModuleProperties withDescription(String description)
      Set the description property: Gets or sets the description.
      Parameters:
      description - the description value to set.
      Returns:
      the ModuleProperties object itself.
    • isComposite

      public Boolean isComposite()
      Get the isComposite property: Gets or sets type of module, if its composite or not.
      Returns:
      the isComposite value.
    • withIsComposite

      public ModuleProperties withIsComposite(Boolean isComposite)
      Set the isComposite property: Gets or sets type of module, if its composite or not.
      Parameters:
      isComposite - the isComposite value to set.
      Returns:
      the ModuleProperties object itself.
    • validate

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