diff --git a/sdk/core/azure-core/src/main/java/com/azure/core/http/HttpRange.java b/sdk/core/azure-core/src/main/java/com/azure/core/http/HttpRange.java index 293b02940a2f5..5f9743d8a40f2 100644 --- a/sdk/core/azure-core/src/main/java/com/azure/core/http/HttpRange.java +++ b/sdk/core/azure-core/src/main/java/com/azure/core/http/HttpRange.java @@ -3,6 +3,7 @@ package com.azure.core.http; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import java.util.Objects; @@ -15,6 +16,7 @@ *
* If {@link #getLength() length} is unspecified, null, then the range extends to the end of the HTTP resource. */ +@Immutable public final class HttpRange { private final long offset; private final Long length;