Class AssemblyProperties
java.lang.Object
com.azure.resourcemanager.logic.models.ArtifactProperties
com.azure.resourcemanager.logic.models.ArtifactContentPropertiesDefinition
com.azure.resourcemanager.logic.models.AssemblyProperties
The assembly properties definition.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the assemblyCulture property: The assembly culture.Get the assemblyName property: The assembly name.Get the assemblyPublicKeyToken property: The assembly public key token.Get the assemblyVersion property: The assembly version.void
validate()
Validates the instance.withAssemblyCulture
(String assemblyCulture) Set the assemblyCulture property: The assembly culture.withAssemblyName
(String assemblyName) Set the assemblyName property: The assembly name.withAssemblyPublicKeyToken
(String assemblyPublicKeyToken) Set the assemblyPublicKeyToken property: The assembly public key token.withAssemblyVersion
(String assemblyVersion) Set the assemblyVersion property: The assembly version.withChangedTime
(OffsetDateTime changedTime) Set the changedTime property: The artifact changed time.withContent
(Object content) Set the content property: Anything.withContentLink
(ContentLink contentLink) Set the contentLink property: The content link.withContentType
(String contentType) Set the contentType property: The content type.withCreatedTime
(OffsetDateTime createdTime) Set the createdTime property: The artifact creation time.withMetadata
(Object metadata) Set the metadata property: Anything.Methods inherited from class com.azure.resourcemanager.logic.models.ArtifactContentPropertiesDefinition
content, contentLink, contentType
Methods inherited from class com.azure.resourcemanager.logic.models.ArtifactProperties
changedTime, createdTime, metadata
-
Constructor Details
-
AssemblyProperties
public AssemblyProperties()Creates an instance of AssemblyProperties class.
-
-
Method Details
-
assemblyName
Get the assemblyName property: The assembly name.- Returns:
- the assemblyName value.
-
withAssemblyName
Set the assemblyName property: The assembly name.- Parameters:
assemblyName
- the assemblyName value to set.- Returns:
- the AssemblyProperties object itself.
-
assemblyVersion
Get the assemblyVersion property: The assembly version.- Returns:
- the assemblyVersion value.
-
withAssemblyVersion
Set the assemblyVersion property: The assembly version.- Parameters:
assemblyVersion
- the assemblyVersion value to set.- Returns:
- the AssemblyProperties object itself.
-
assemblyCulture
Get the assemblyCulture property: The assembly culture.- Returns:
- the assemblyCulture value.
-
withAssemblyCulture
Set the assemblyCulture property: The assembly culture.- Parameters:
assemblyCulture
- the assemblyCulture value to set.- Returns:
- the AssemblyProperties object itself.
-
assemblyPublicKeyToken
Get the assemblyPublicKeyToken property: The assembly public key token.- Returns:
- the assemblyPublicKeyToken value.
-
withAssemblyPublicKeyToken
Set the assemblyPublicKeyToken property: The assembly public key token.- Parameters:
assemblyPublicKeyToken
- the assemblyPublicKeyToken value to set.- Returns:
- the AssemblyProperties object itself.
-
withContent
Set the content property: Anything.- Overrides:
withContent
in classArtifactContentPropertiesDefinition
- Parameters:
content
- the content value to set.- Returns:
- the ArtifactContentPropertiesDefinition object itself.
-
withContentType
Set the contentType property: The content type.- Overrides:
withContentType
in classArtifactContentPropertiesDefinition
- Parameters:
contentType
- the contentType value to set.- Returns:
- the ArtifactContentPropertiesDefinition object itself.
-
withContentLink
Set the contentLink property: The content link.- Overrides:
withContentLink
in classArtifactContentPropertiesDefinition
- Parameters:
contentLink
- the contentLink value to set.- Returns:
- the ArtifactContentPropertiesDefinition object itself.
-
withCreatedTime
Set the createdTime property: The artifact creation time.- Overrides:
withCreatedTime
in classArtifactContentPropertiesDefinition
- Parameters:
createdTime
- the createdTime value to set.- Returns:
- the ArtifactProperties object itself.
-
withChangedTime
Set the changedTime property: The artifact changed time.- Overrides:
withChangedTime
in classArtifactContentPropertiesDefinition
- Parameters:
changedTime
- the changedTime value to set.- Returns:
- the ArtifactProperties object itself.
-
withMetadata
Set the metadata property: Anything.- Overrides:
withMetadata
in classArtifactContentPropertiesDefinition
- Parameters:
metadata
- the metadata value to set.- Returns:
- the ArtifactProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classArtifactContentPropertiesDefinition
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-