Class MalwareAnalysis.Builder

java.lang.Object
security.whisper.javastix.sdo.objects.MalwareAnalysis.Builder
Enclosing class:
MalwareAnalysis

@NotThreadSafe public static final class MalwareAnalysis.Builder extends Object
Builds instances of type MalwareAnalysis. Initialize attributes and then invoke the build() method to create an immutable instance.

Builder is not thread-safe and generally should not be stored in a field or collection, but instead used immediately to create instances.

  • Method Details

    • from

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder from(BundleableObject instance)
      Fill a builder with attribute values from the provided security.whisper.javastix.bundle.BundleableObject instance.
      Parameters:
      instance - The instance from which to copy values
      Returns:
      this builder for use in a chained invocation
    • from

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder from(StixCommonProperties instance)
      Fill a builder with attribute values from the provided security.whisper.javastix.common.StixCommonProperties instance.
      Parameters:
      instance - The instance from which to copy values
      Returns:
      this builder for use in a chained invocation
    • from

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder from(StixRevoked instance)
      Fill a builder with attribute values from the provided security.whisper.javastix.common.StixRevoked instance.
      Parameters:
      instance - The instance from which to copy values
      Returns:
      this builder for use in a chained invocation
    • from

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder from(StixCustomProperties instance)
      Fill a builder with attribute values from the provided security.whisper.javastix.common.StixCustomProperties instance.
      Parameters:
      instance - The instance from which to copy values
      Returns:
      this builder for use in a chained invocation
    • from

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder from(StixLabels instance)
      Fill a builder with attribute values from the provided security.whisper.javastix.common.StixLabels instance.
      Parameters:
      instance - The instance from which to copy values
      Returns:
      this builder for use in a chained invocation
    • from

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder from(StixModified instance)
      Fill a builder with attribute values from the provided security.whisper.javastix.common.StixModified instance.
      Parameters:
      instance - The instance from which to copy values
      Returns:
      this builder for use in a chained invocation
    • from

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder from(MalwareAnalysisSdo instance)
      Fill a builder with attribute values from the provided security.whisper.javastix.sdo.objects.MalwareAnalysisSdo instance.
      Parameters:
      instance - The instance from which to copy values
      Returns:
      this builder for use in a chained invocation
    • from

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder from(DomainObject instance)
      Fill a builder with attribute values from the provided security.whisper.javastix.sdo.DomainObject instance.
      Parameters:
      instance - The instance from which to copy values
      Returns:
      this builder for use in a chained invocation
    • product

      @CanIgnoreReturnValue @JsonPropertyDescription("The name of the analysis product that was used to perform the analysis.") public final MalwareAnalysis.Builder product(String product)
      Initializes the value for the product attribute.
      Parameters:
      product - The value for product (can be null)
      Returns:
      this builder for use in a chained invocation
    • version

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder version(String version)
      Initializes the optional value version to version.
      Parameters:
      version - The value for version
      Returns:
      this builder for chained invocation
    • version

      @CanIgnoreReturnValue @JsonPropertyDescription("The version of the analysis product that was used to perform the analysis.") public final MalwareAnalysis.Builder version(Optional<String> version)
      Initializes the optional value version to version.
      Parameters:
      version - The value for version
      Returns:
      this builder for use in a chained invocation
    • hostVmRef

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder hostVmRef(String hostVmRef)
      Initializes the optional value hostVmRef to hostVmRef.
      Parameters:
      hostVmRef - The value for hostVmRef
      Returns:
      this builder for chained invocation
    • hostVmRef

      @CanIgnoreReturnValue @JsonPropertyDescription("A reference to a SCO Software object for the VM that hosted the malware during the analysis.") public final MalwareAnalysis.Builder hostVmRef(Optional<String> hostVmRef)
      Initializes the optional value hostVmRef to hostVmRef.
      Parameters:
      hostVmRef - The value for hostVmRef
      Returns:
      this builder for use in a chained invocation
    • operatingSystemRef

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder operatingSystemRef(String operatingSystemRef)
      Initializes the optional value operatingSystemRef to operatingSystemRef.
      Parameters:
      operatingSystemRef - The value for operatingSystemRef
      Returns:
      this builder for chained invocation
    • operatingSystemRef

      @CanIgnoreReturnValue @JsonPropertyDescription("A reference to a SCO Software object for the operating system used for the analysis VM.") public final MalwareAnalysis.Builder operatingSystemRef(Optional<String> operatingSystemRef)
      Initializes the optional value operatingSystemRef to operatingSystemRef.
      Parameters:
      operatingSystemRef - The value for operatingSystemRef
      Returns:
      this builder for use in a chained invocation
    • addInstalledSoftwareRef

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder addInstalledSoftwareRef(@Nullable String element)
      Adds one element to installedSoftwareRefs set.
      Parameters:
      element - A installedSoftwareRefs element
      Returns:
      this builder for use in a chained invocation
    • addInstalledSoftwareRefs

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder addInstalledSoftwareRefs(String... elements)
      Adds elements to installedSoftwareRefs set.
      Parameters:
      elements - An array of installedSoftwareRefs elements
      Returns:
      this builder for use in a chained invocation
    • installedSoftwareRefs

      @CanIgnoreReturnValue @JsonPropertyDescription("A list of references to SCO Software objects for the operating system software installed on the analysis VM.") public final MalwareAnalysis.Builder installedSoftwareRefs(Iterable<String> elements)
      Sets or replaces all elements for installedSoftwareRefs set.
      Parameters:
      elements - An iterable of installedSoftwareRefs elements
      Returns:
      this builder for use in a chained invocation
    • addAllInstalledSoftwareRefs

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder addAllInstalledSoftwareRefs(Iterable<String> elements)
      Adds elements to installedSoftwareRefs set.
      Parameters:
      elements - An iterable of installedSoftwareRefs elements
      Returns:
      this builder for use in a chained invocation
    • configurationVersion

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder configurationVersion(String configurationVersion)
      Initializes the optional value configurationVersion to configurationVersion.
      Parameters:
      configurationVersion - The value for configurationVersion
      Returns:
      this builder for chained invocation
    • configurationVersion

      @CanIgnoreReturnValue @JsonPropertyDescription("The version of the configuration used for the analysis.") public final MalwareAnalysis.Builder configurationVersion(Optional<String> configurationVersion)
      Initializes the optional value configurationVersion to configurationVersion.
      Parameters:
      configurationVersion - The value for configurationVersion
      Returns:
      this builder for use in a chained invocation
    • module

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder module(String module)
      Initializes the optional value module to module.
      Parameters:
      module - The value for module
      Returns:
      this builder for chained invocation
    • module

      @CanIgnoreReturnValue @JsonPropertyDescription("The name of the specific analysis module that was used, if different from the product.") public final MalwareAnalysis.Builder module(Optional<String> module)
      Initializes the optional value module to module.
      Parameters:
      module - The value for module
      Returns:
      this builder for use in a chained invocation
    • analysisEngineVersion

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder analysisEngineVersion(String analysisEngineVersion)
      Initializes the optional value analysisEngineVersion to analysisEngineVersion.
      Parameters:
      analysisEngineVersion - The value for analysisEngineVersion
      Returns:
      this builder for chained invocation
    • analysisEngineVersion

      @CanIgnoreReturnValue @JsonPropertyDescription("The version of the analysis engine or runtime environment.") public final MalwareAnalysis.Builder analysisEngineVersion(Optional<String> analysisEngineVersion)
      Initializes the optional value analysisEngineVersion to analysisEngineVersion.
      Parameters:
      analysisEngineVersion - The value for analysisEngineVersion
      Returns:
      this builder for use in a chained invocation
    • analysisDefinitionVersion

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder analysisDefinitionVersion(String analysisDefinitionVersion)
      Initializes the optional value analysisDefinitionVersion to analysisDefinitionVersion.
      Parameters:
      analysisDefinitionVersion - The value for analysisDefinitionVersion
      Returns:
      this builder for chained invocation
    • analysisDefinitionVersion

      @CanIgnoreReturnValue @JsonPropertyDescription("The version of the analysis definitions used (e.g., virus definition version).") public final MalwareAnalysis.Builder analysisDefinitionVersion(Optional<String> analysisDefinitionVersion)
      Initializes the optional value analysisDefinitionVersion to analysisDefinitionVersion.
      Parameters:
      analysisDefinitionVersion - The value for analysisDefinitionVersion
      Returns:
      this builder for use in a chained invocation
    • submitted

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder submitted(StixInstant submitted)
      Initializes the optional value submitted to submitted.
      Parameters:
      submitted - The value for submitted
      Returns:
      this builder for chained invocation
    • submitted

      @CanIgnoreReturnValue @JsonPropertyDescription("The date and time that the malware sample was submitted for analysis.") public final MalwareAnalysis.Builder submitted(Optional<? extends StixInstant> submitted)
      Initializes the optional value submitted to submitted.
      Parameters:
      submitted - The value for submitted
      Returns:
      this builder for use in a chained invocation
    • analysisStarted

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder analysisStarted(StixInstant analysisStarted)
      Initializes the optional value analysisStarted to analysisStarted.
      Parameters:
      analysisStarted - The value for analysisStarted
      Returns:
      this builder for chained invocation
    • analysisStarted

      @CanIgnoreReturnValue @JsonPropertyDescription("The date and time that the malware analysis started.") public final MalwareAnalysis.Builder analysisStarted(Optional<? extends StixInstant> analysisStarted)
      Initializes the optional value analysisStarted to analysisStarted.
      Parameters:
      analysisStarted - The value for analysisStarted
      Returns:
      this builder for use in a chained invocation
    • analysisEnded

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder analysisEnded(StixInstant analysisEnded)
      Initializes the optional value analysisEnded to analysisEnded.
      Parameters:
      analysisEnded - The value for analysisEnded
      Returns:
      this builder for chained invocation
    • analysisEnded

      @CanIgnoreReturnValue @JsonPropertyDescription("The date and time that the malware analysis ended.") public final MalwareAnalysis.Builder analysisEnded(Optional<? extends StixInstant> analysisEnded)
      Initializes the optional value analysisEnded to analysisEnded.
      Parameters:
      analysisEnded - The value for analysisEnded
      Returns:
      this builder for use in a chained invocation
    • avResult

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder avResult(String avResult)
      Initializes the optional value avResult to avResult.
      Parameters:
      avResult - The value for avResult
      Returns:
      this builder for chained invocation
    • avResult

      @CanIgnoreReturnValue @JsonPropertyDescription("The result of the anti-virus analysis. Open vocabulary - malware-av-result-ov") public final MalwareAnalysis.Builder avResult(Optional<String> avResult)
      Initializes the optional value avResult to avResult.
      Parameters:
      avResult - The value for avResult
      Returns:
      this builder for use in a chained invocation
    • addAnalysisScoRef

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder addAnalysisScoRef(@Nullable String element)
      Adds one element to analysisScoRefs set.
      Parameters:
      element - A analysisScoRefs element
      Returns:
      this builder for use in a chained invocation
    • addAnalysisScoRefs

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder addAnalysisScoRefs(String... elements)
      Adds elements to analysisScoRefs set.
      Parameters:
      elements - An array of analysisScoRefs elements
      Returns:
      this builder for use in a chained invocation
    • analysisScoRefs

      @CanIgnoreReturnValue @JsonPropertyDescription("A list of references to SCOs that were captured during the analysis process.") public final MalwareAnalysis.Builder analysisScoRefs(Iterable<String> elements)
      Sets or replaces all elements for analysisScoRefs set.
      Parameters:
      elements - An iterable of analysisScoRefs elements
      Returns:
      this builder for use in a chained invocation
    • addAllAnalysisScoRefs

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder addAllAnalysisScoRefs(Iterable<String> elements)
      Adds elements to analysisScoRefs set.
      Parameters:
      elements - An iterable of analysisScoRefs elements
      Returns:
      this builder for use in a chained invocation
    • sampleRef

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder sampleRef(String sampleRef)
      Initializes the optional value sampleRef to sampleRef.
      Parameters:
      sampleRef - The value for sampleRef
      Returns:
      this builder for chained invocation
    • sampleRef

      @CanIgnoreReturnValue @JsonPropertyDescription("A reference to the SCO file, malware or artifact object that was analyzed.") public final MalwareAnalysis.Builder sampleRef(Optional<String> sampleRef)
      Initializes the optional value sampleRef to sampleRef.
      Parameters:
      sampleRef - The value for sampleRef
      Returns:
      this builder for use in a chained invocation
    • addRelationship

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder addRelationship(@Nullable RelationshipSro element)
      Adds one element to relationships set.
      Parameters:
      element - A relationships element
      Returns:
      this builder for use in a chained invocation
    • addRelationships

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder addRelationships(RelationshipSro... elements)
      Adds elements to relationships set.
      Parameters:
      elements - An array of relationships elements
      Returns:
      this builder for use in a chained invocation
    • relationships

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder relationships(Iterable<? extends RelationshipSro> elements)
      Sets or replaces all elements for relationships set.
      Parameters:
      elements - An iterable of relationships elements
      Returns:
      this builder for use in a chained invocation
    • addAllRelationships

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder addAllRelationships(Iterable<? extends RelationshipSro> elements)
      Adds elements to relationships set.
      Parameters:
      elements - An iterable of relationships elements
      Returns:
      this builder for use in a chained invocation
    • hydrated

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder hydrated(boolean hydrated)
      Initializes the value for the hydrated attribute.

      If not set, this attribute will have a default value as returned by the initializer of hydrated.

      Parameters:
      hydrated - The value for hydrated
      Returns:
      this builder for use in a chained invocation
    • type

      @CanIgnoreReturnValue @JsonPropertyDescription("The type property identifies the type of STIX Object (SDO, Relationship Object, etc). The value of the type field MUST be one of the types defined by a STIX Object (e.g., indicator).") public final MalwareAnalysis.Builder type(String type)
      Initializes the value for the type attribute.
      Parameters:
      type - The value for type (can be null)
      Returns:
      this builder for use in a chained invocation
    • id

      @CanIgnoreReturnValue @JsonPropertyDescription("Represents identifiers across the CTI specifications. The format consists of the name of the top-level object being identified, followed by two dashes (--), followed by a UUIDv4.") public final MalwareAnalysis.Builder id(String id)
      Initializes the value for the id attribute.
      Parameters:
      id - The value for id (can be null)
      Returns:
      this builder for use in a chained invocation
    • createdByRef

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder createdByRef(IdentitySdo createdByRef)
      Initializes the optional value createdByRef to createdByRef.
      Parameters:
      createdByRef - The value for createdByRef
      Returns:
      this builder for chained invocation
    • createdByRef

      @CanIgnoreReturnValue @JsonPropertyDescription("Represents identifiers across the CTI specifications. The format consists of the name of the top-level object being identified, followed by two dashes (--), followed by a UUIDv4.") public final MalwareAnalysis.Builder createdByRef(Optional<? extends IdentitySdo> createdByRef)
      Initializes the optional value createdByRef to createdByRef.
      Parameters:
      createdByRef - The value for createdByRef
      Returns:
      this builder for use in a chained invocation
    • created

      @CanIgnoreReturnValue @JsonPropertyDescription("The created property represents the time at which the first version of this object was created. The timstamp value MUST be precise to the nearest millisecond.") public final MalwareAnalysis.Builder created(StixInstant created)
      Initializes the value for the created attribute.

      If not set, this attribute will have a default value as returned by the initializer of created.

      Parameters:
      created - The value for created
      Returns:
      this builder for use in a chained invocation
    • lang

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder lang(String lang)
      Initializes the optional value lang to lang.
      Parameters:
      lang - The value for lang
      Returns:
      this builder for chained invocation
    • lang

      @CanIgnoreReturnValue @JsonPropertyDescription("Identifies the language of the text content in this object using ISO 639-2 language codes.") public final MalwareAnalysis.Builder lang(Optional<String> lang)
      Initializes the optional value lang to lang.
      Parameters:
      lang - The value for lang
      Returns:
      this builder for use in a chained invocation
    • addExternalReference

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder addExternalReference(@Nullable ExternalReferenceType element)
      Adds one element to externalReferences set.
      Parameters:
      element - A externalReferences element
      Returns:
      this builder for use in a chained invocation
    • addExternalReferences

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder addExternalReferences(ExternalReferenceType... elements)
      Adds elements to externalReferences set.
      Parameters:
      elements - An array of externalReferences elements
      Returns:
      this builder for use in a chained invocation
    • externalReferences

      @CanIgnoreReturnValue @JsonPropertyDescription("A list of external references which refers to non-STIX information.") public final MalwareAnalysis.Builder externalReferences(Iterable<? extends ExternalReferenceType> elements)
      Sets or replaces all elements for externalReferences set.
      Parameters:
      elements - An iterable of externalReferences elements
      Returns:
      this builder for use in a chained invocation
    • addAllExternalReferences

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder addAllExternalReferences(Iterable<? extends ExternalReferenceType> elements)
      Adds elements to externalReferences set.
      Parameters:
      elements - An iterable of externalReferences elements
      Returns:
      this builder for use in a chained invocation
    • addObjectMarkingRef

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder addObjectMarkingRef(@Nullable MarkingDefinitionDm element)
      Adds one element to objectMarkingRefs set.
      Parameters:
      element - A objectMarkingRefs element
      Returns:
      this builder for use in a chained invocation
    • addObjectMarkingRefs

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder addObjectMarkingRefs(MarkingDefinitionDm... elements)
      Adds elements to objectMarkingRefs set.
      Parameters:
      elements - An array of objectMarkingRefs elements
      Returns:
      this builder for use in a chained invocation
    • objectMarkingRefs

      @CanIgnoreReturnValue @JsonPropertyDescription("The list of marking-definition objects to be applied to this object.") public final MalwareAnalysis.Builder objectMarkingRefs(Iterable<? extends MarkingDefinitionDm> elements)
      Sets or replaces all elements for objectMarkingRefs set.
      Parameters:
      elements - An iterable of objectMarkingRefs elements
      Returns:
      this builder for use in a chained invocation
    • addAllObjectMarkingRefs

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder addAllObjectMarkingRefs(Iterable<? extends MarkingDefinitionDm> elements)
      Adds elements to objectMarkingRefs set.
      Parameters:
      elements - An iterable of objectMarkingRefs elements
      Returns:
      this builder for use in a chained invocation
    • addGranularMarking

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder addGranularMarking(@Nullable GranularMarkingDm element)
      Adds one element to granularMarkings set.
      Parameters:
      element - A granularMarkings element
      Returns:
      this builder for use in a chained invocation
    • addGranularMarkings

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder addGranularMarkings(GranularMarkingDm... elements)
      Adds elements to granularMarkings set.
      Parameters:
      elements - An array of granularMarkings elements
      Returns:
      this builder for use in a chained invocation
    • granularMarkings

      @CanIgnoreReturnValue @JsonPropertyDescription("The set of granular markings that apply to this object.") public final MalwareAnalysis.Builder granularMarkings(Iterable<? extends GranularMarkingDm> elements)
      Sets or replaces all elements for granularMarkings set.
      Parameters:
      elements - An iterable of granularMarkings elements
      Returns:
      this builder for use in a chained invocation
    • addAllGranularMarkings

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder addAllGranularMarkings(Iterable<? extends GranularMarkingDm> elements)
      Adds elements to granularMarkings set.
      Parameters:
      elements - An iterable of granularMarkings elements
      Returns:
      this builder for use in a chained invocation
    • putCustomProperty

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder putCustomProperty(String key, Object value)
      Put one entry to the customProperties map.
      Parameters:
      key - The key in the customProperties map
      value - The associated value in the customProperties map
      Returns:
      this builder for use in a chained invocation
    • putCustomProperty

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder putCustomProperty(Map.Entry<String,? extends Object> entry)
      Put one entry to the customProperties map. Nulls are not permitted
      Parameters:
      entry - The key and value entry
      Returns:
      this builder for use in a chained invocation
    • customProperties

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder customProperties(Map<String,? extends Object> entries)
      Sets or replaces all mappings from the specified map as entries for the customProperties map. Nulls are not permitted
      Parameters:
      entries - The entries that will be added to the customProperties map
      Returns:
      this builder for use in a chained invocation
    • putAllCustomProperties

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder putAllCustomProperties(Map<String,? extends Object> entries)
      Put all mappings from the specified map as entries to customProperties map. Nulls are not permitted
      Parameters:
      entries - The entries that will be added to the customProperties map
      Returns:
      this builder for use in a chained invocation
    • addLabel

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder addLabel(@Nullable String element)
      Adds one element to labels set.
      Parameters:
      element - A labels element
      Returns:
      this builder for use in a chained invocation
    • addLabels

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder addLabels(String... elements)
      Adds elements to labels set.
      Parameters:
      elements - An array of labels elements
      Returns:
      this builder for use in a chained invocation
    • labels

      @CanIgnoreReturnValue @JsonPropertyDescription("The labels property specifies a set of classifications.") public final MalwareAnalysis.Builder labels(Iterable<String> elements)
      Sets or replaces all elements for labels set.
      Parameters:
      elements - An iterable of labels elements
      Returns:
      this builder for use in a chained invocation
    • addAllLabels

      @CanIgnoreReturnValue public final MalwareAnalysis.Builder addAllLabels(Iterable<String> elements)
      Adds elements to labels set.
      Parameters:
      elements - An iterable of labels elements
      Returns:
      this builder for use in a chained invocation
    • modified

      @CanIgnoreReturnValue @JsonPropertyDescription("The modified property represents the time that this particular version of the object was created. The timstamp value MUST be precise to the nearest millisecond.") public final MalwareAnalysis.Builder modified(StixInstant modified)
      Initializes the value for the modified attribute.

      If not set, this attribute will have a default value as returned by the initializer of modified.

      Parameters:
      modified - The value for modified
      Returns:
      this builder for use in a chained invocation
    • revoked

      @CanIgnoreReturnValue @JsonPropertyDescription("The revoked property indicates whether the object has been revoked.") public final MalwareAnalysis.Builder revoked(StixBoolean revoked)
      Initializes the value for the revoked attribute.

      If not set, this attribute will have a default value as returned by the initializer of revoked.

      Parameters:
      revoked - The value for revoked
      Returns:
      this builder for use in a chained invocation
    • build

      public MalwareAnalysis build()
      Builds a new MalwareAnalysis.
      Returns:
      An immutable instance of MalwareAnalysis
      Throws:
      IllegalStateException - if any required attributes are missing