Class AssemblyProperties


public final class AssemblyProperties extends ArtifactContentPropertiesDefinition
The assembly properties definition.
  • Constructor Details

    • AssemblyProperties

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

    • assemblyName

      public String assemblyName()
      Get the assemblyName property: The assembly name.
      Returns:
      the assemblyName value.
    • withAssemblyName

      public AssemblyProperties withAssemblyName(String assemblyName)
      Set the assemblyName property: The assembly name.
      Parameters:
      assemblyName - the assemblyName value to set.
      Returns:
      the AssemblyProperties object itself.
    • assemblyVersion

      public String assemblyVersion()
      Get the assemblyVersion property: The assembly version.
      Returns:
      the assemblyVersion value.
    • withAssemblyVersion

      public AssemblyProperties withAssemblyVersion(String assemblyVersion)
      Set the assemblyVersion property: The assembly version.
      Parameters:
      assemblyVersion - the assemblyVersion value to set.
      Returns:
      the AssemblyProperties object itself.
    • assemblyCulture

      public String assemblyCulture()
      Get the assemblyCulture property: The assembly culture.
      Returns:
      the assemblyCulture value.
    • withAssemblyCulture

      public AssemblyProperties withAssemblyCulture(String assemblyCulture)
      Set the assemblyCulture property: The assembly culture.
      Parameters:
      assemblyCulture - the assemblyCulture value to set.
      Returns:
      the AssemblyProperties object itself.
    • assemblyPublicKeyToken

      public String assemblyPublicKeyToken()
      Get the assemblyPublicKeyToken property: The assembly public key token.
      Returns:
      the assemblyPublicKeyToken value.
    • withAssemblyPublicKeyToken

      public AssemblyProperties withAssemblyPublicKeyToken(String assemblyPublicKeyToken)
      Set the assemblyPublicKeyToken property: The assembly public key token.
      Parameters:
      assemblyPublicKeyToken - the assemblyPublicKeyToken value to set.
      Returns:
      the AssemblyProperties object itself.
    • withContent

      public AssemblyProperties withContent(Object content)
      Set the content property: Anything.
      Overrides:
      withContent in class ArtifactContentPropertiesDefinition
      Parameters:
      content - the content value to set.
      Returns:
      the ArtifactContentPropertiesDefinition object itself.
    • withContentType

      public AssemblyProperties withContentType(String contentType)
      Set the contentType property: The content type.
      Overrides:
      withContentType in class ArtifactContentPropertiesDefinition
      Parameters:
      contentType - the contentType value to set.
      Returns:
      the ArtifactContentPropertiesDefinition object itself.
    • withContentLink

      public AssemblyProperties withContentLink(ContentLink contentLink)
      Set the contentLink property: The content link.
      Overrides:
      withContentLink in class ArtifactContentPropertiesDefinition
      Parameters:
      contentLink - the contentLink value to set.
      Returns:
      the ArtifactContentPropertiesDefinition object itself.
    • withCreatedTime

      public AssemblyProperties withCreatedTime(OffsetDateTime createdTime)
      Set the createdTime property: The artifact creation time.
      Overrides:
      withCreatedTime in class ArtifactContentPropertiesDefinition
      Parameters:
      createdTime - the createdTime value to set.
      Returns:
      the ArtifactProperties object itself.
    • withChangedTime

      public AssemblyProperties withChangedTime(OffsetDateTime changedTime)
      Set the changedTime property: The artifact changed time.
      Overrides:
      withChangedTime in class ArtifactContentPropertiesDefinition
      Parameters:
      changedTime - the changedTime value to set.
      Returns:
      the ArtifactProperties object itself.
    • withMetadata

      public AssemblyProperties withMetadata(Object metadata)
      Set the metadata property: Anything.
      Overrides:
      withMetadata in class ArtifactContentPropertiesDefinition
      Parameters:
      metadata - the metadata value to set.
      Returns:
      the ArtifactProperties object itself.
    • validate

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