Interface Ipv4AddressCoo
- All Superinterfaces:
BundleableObject,CyberObservableObject,CyberObservableObjectCommonProperties,GenericValidation,SdoDefaultValidator,Serializable,Stix,StixCustomProperties
- All Known Implementing Classes:
Ipv4Address
@Immutable
@DefaultTypeValue(value="ipv4-addr",
groups=DefaultValuesProcessor.class)
public interface Ipv4AddressCoo
extends CyberObservableObject
ipv4-addr
The IPv4 Address Object represents one or more IPv4 addresses expressed using CIDR notation.
-
Field Summary
Fields inherited from interface security.whisper.javastix.validation.SdoDefaultValidator
VALIDATOR -
Method Summary
Modifier and TypeMethodDescriptionThe objects referenced in this list MUST be of type autonomous-system.default StringgetId()Deterministically generates the ID for this IPv4 address based on its value.The objects referenced in this list MUST be of type mac-addr.@NotNull StringgetValue()If a given IPv4 Address Object represents a single IPv4 address, the CIDR /32 suffix MAY be omitted.Methods inherited from interface security.whisper.javastix.bundle.BundleableObject
getGranularMarkings, getHydrated, getObjectMarkingRefs, getType, toJsonStringMethods inherited from interface security.whisper.javastix.coo.CyberObservableObjectCommonProperties
getDefanged, getExtensions, getObservableObjectKey, getTypeMethods inherited from interface security.whisper.javastix.validation.GenericValidation
validateEntityMethods inherited from interface security.whisper.javastix.validation.SdoDefaultValidator
validate, validateOnlyIdMethods inherited from interface security.whisper.javastix.common.StixCustomProperties
getCustomProperties
-
Method Details
-
getValue
@JsonPropertyDescription("Specifies one or more IPv4 addresses expressed using CIDR notation.") @NotNull @NotNull String getValue()If a given IPv4 Address Object represents a single IPv4 address, the CIDR /32 suffix MAY be omitted. (Required) -
getResolvesToRefs
@JsonPropertyDescription("Specifies a list of references to one or more Layer 2 Media Access Control (MAC) addresses that the IPv4 address resolves to.") default Set<String> getResolvesToRefs()The objects referenced in this list MUST be of type mac-addr. -
getBelongsToRefs
@JsonPropertyDescription("Specifies a reference to one or more autonomous systems (AS) that the IPv4 address belongs to.") default Set<String> getBelongsToRefs()The objects referenced in this list MUST be of type autonomous-system. -
getId
Deterministically generates the ID for this IPv4 address based on its value.- Specified by:
getIdin interfaceBundleableObject- Specified by:
getIdin interfaceCyberObservableObjectCommonProperties
-