public final class AssemblyProperties extends ArtifactContentPropertiesDefinition
Constructor and Description |
---|
AssemblyProperties() |
Modifier and Type | Method and Description |
---|---|
String |
assemblyCulture()
Get the assemblyCulture property: The assembly culture.
|
String |
assemblyName()
Get the assemblyName property: The assembly name.
|
String |
assemblyPublicKeyToken()
Get the assemblyPublicKeyToken property: The assembly public key token.
|
String |
assemblyVersion()
Get the assemblyVersion property: The assembly version.
|
void |
validate()
Validates the instance.
|
AssemblyProperties |
withAssemblyCulture(String assemblyCulture)
Set the assemblyCulture property: The assembly culture.
|
AssemblyProperties |
withAssemblyName(String assemblyName)
Set the assemblyName property: The assembly name.
|
AssemblyProperties |
withAssemblyPublicKeyToken(String assemblyPublicKeyToken)
Set the assemblyPublicKeyToken property: The assembly public key token.
|
AssemblyProperties |
withAssemblyVersion(String assemblyVersion)
Set the assemblyVersion property: The assembly version.
|
AssemblyProperties |
withChangedTime(OffsetDateTime changedTime)
Set the changedTime property: The artifact changed time.
|
AssemblyProperties |
withContent(Object content)
Set the content property: Any object.
|
AssemblyProperties |
withContentLink(ContentLink contentLink)
Set the contentLink property: The content link.
|
AssemblyProperties |
withContentType(String contentType)
Set the contentType property: The content type.
|
AssemblyProperties |
withCreatedTime(OffsetDateTime createdTime)
Set the createdTime property: The artifact creation time.
|
AssemblyProperties |
withMetadata(Object metadata)
Set the metadata property: Any object.
|
content, contentLink, contentType
changedTime, createdTime, metadata
public String assemblyName()
public AssemblyProperties withAssemblyName(String assemblyName)
assemblyName
- the assemblyName value to set.public String assemblyVersion()
public AssemblyProperties withAssemblyVersion(String assemblyVersion)
assemblyVersion
- the assemblyVersion value to set.public String assemblyCulture()
public AssemblyProperties withAssemblyCulture(String assemblyCulture)
assemblyCulture
- the assemblyCulture value to set.public String assemblyPublicKeyToken()
public AssemblyProperties withAssemblyPublicKeyToken(String assemblyPublicKeyToken)
assemblyPublicKeyToken
- the assemblyPublicKeyToken value to set.public AssemblyProperties withContent(Object content)
withContent
in class ArtifactContentPropertiesDefinition
content
- the content value to set.public AssemblyProperties withContentType(String contentType)
withContentType
in class ArtifactContentPropertiesDefinition
contentType
- the contentType value to set.public AssemblyProperties withContentLink(ContentLink contentLink)
withContentLink
in class ArtifactContentPropertiesDefinition
contentLink
- the contentLink value to set.public AssemblyProperties withCreatedTime(OffsetDateTime createdTime)
withCreatedTime
in class ArtifactContentPropertiesDefinition
createdTime
- the createdTime value to set.public AssemblyProperties withChangedTime(OffsetDateTime changedTime)
withChangedTime
in class ArtifactContentPropertiesDefinition
changedTime
- the changedTime value to set.public AssemblyProperties withMetadata(Object metadata)
withMetadata
in class ArtifactContentPropertiesDefinition
metadata
- the metadata value to set.public void validate()
validate
in class ArtifactContentPropertiesDefinition
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.