com.microsoft.azure.storage.blob.models.PageRange Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-storage-blob Show documentation
Show all versions of azure-storage-blob Show documentation
The Azure Storage Java Blob library.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
package com.microsoft.azure.storage.blob.models;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
/**
* The PageRange model.
*/
@JacksonXmlRootElement(localName = "PageRange")
public final class PageRange {
/**
* The start property.
*/
@JsonProperty(value = "Start", required = true)
private long start;
/**
* The end property.
*/
@JsonProperty(value = "End", required = true)
private long end;
/**
* Get the start value.
*
* @return the start value.
*/
public long start() {
return this.start;
}
/**
* Set the start value.
*
* @param start the start value to set.
* @return the PageRange object itself.
*/
public PageRange withStart(long start) {
this.start = start;
return this;
}
/**
* Get the end value.
*
* @return the end value.
*/
public long end() {
return this.end;
}
/**
* Set the end value.
*
* @param end the end value to set.
* @return the PageRange object itself.
*/
public PageRange withEnd(long end) {
this.end = end;
return this;
}
}