ConfluentListMetadata Class
- java.
lang. Object - com.
azure. resourcemanager. confluent. models. ConfluentListMetadata
- com.
Implements
public final class ConfluentListMetadata
implements JsonSerializable<ConfluentListMetadata>
Metadata of the list.
Constructor Summary
| Constructor | Description |
|---|---|
| ConfluentListMetadata() |
Creates an instance of Confluent |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
first()
Get the first property: First page of the list. |
|
static
Confluent |
fromJson(JsonReader jsonReader)
Reads an instance of Confluent |
| String |
last()
Get the last property: Last page of the list. |
| String |
next()
Get the next property: Next page of the list. |
| String |
prev()
Get the prev property: Previous page of the list. |
|
Json |
toJson(JsonWriter jsonWriter) |
| Integer |
totalSize()
Get the total |
| void |
validate()
Validates the instance. |
|
Confluent |
withFirst(String first)
Set the first property: First page of the list. |
|
Confluent |
withLast(String last)
Set the last property: Last page of the list. |
|
Confluent |
withNext(String next)
Set the next property: Next page of the list. |
|
Confluent |
withPrev(String prev)
Set the prev property: Previous page of the list. |
|
Confluent |
withTotalSize(Integer totalSize)
Set the total |
Methods inherited from java.lang.Object
Constructor Details
ConfluentListMetadata
public ConfluentListMetadata()
Creates an instance of ConfluentListMetadata class.
Method Details
first
public String first()
Get the first property: First page of the list.
Returns:
fromJson
public static ConfluentListMetadata fromJson(JsonReader jsonReader)
Reads an instance of ConfluentListMetadata from the JsonReader.
Parameters:
Returns:
Throws:
last
public String last()
Get the last property: Last page of the list.
Returns:
next
public String next()
Get the next property: Next page of the list.
Returns:
prev
public String prev()
Get the prev property: Previous page of the list.
Returns:
toJson
totalSize
public Integer totalSize()
Get the totalSize property: Total size of the list.
Returns:
validate
public void validate()
Validates the instance.
withFirst
public ConfluentListMetadata withFirst(String first)
Set the first property: First page of the list.
Parameters:
Returns:
withLast
public ConfluentListMetadata withLast(String last)
Set the last property: Last page of the list.
Parameters:
Returns:
withNext
public ConfluentListMetadata withNext(String next)
Set the next property: Next page of the list.
Parameters:
Returns:
withPrev
public ConfluentListMetadata withPrev(String prev)
Set the prev property: Previous page of the list.
Parameters:
Returns:
withTotalSize
public ConfluentListMetadata withTotalSize(Integer totalSize)
Set the totalSize property: Total size of the list.
Parameters:
Returns: