Interface PunishmentIpAddress
public interface PunishmentIpAddress
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescription@NotNull UUIDauditId()@NotNull PunishmentIpAddress.Builderbuilder()@Nullable LocalDateTime@NotNull InetAddressbooleanbooleanstatic @NotNull PunishmentIpAddressof(@NotNull InetAddress inetAddress, int typeId, @NotNull UUID auditId, @Nullable LocalDateTime expiresAt) inttypeId()@NotNull PunishmentIpAddresswith(@NotNull Consumer<PunishmentIpAddress.Builder> consumer)
-
Method Details
-
inetAddress
-
typeId
int typeId() -
auditId
-
expiresAt
-
isExpired
boolean isExpired() -
isPermanent
boolean isPermanent() -
builder
-
with
@NotNull @NotNull PunishmentIpAddress with(@NotNull @NotNull Consumer<PunishmentIpAddress.Builder> consumer) -
of
@NotNull static @NotNull PunishmentIpAddress of(@NotNull @NotNull InetAddress inetAddress, int typeId, @NotNull @NotNull UUID auditId, @Nullable @Nullable LocalDateTime expiresAt)
-