@Generated(value="org.immutables.processor.ProxyProcessor") public final class Metadata extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Metadata.Builder
Builds instances of type
Metadata. |
| Modifier and Type | Method and Description |
|---|---|
static Metadata.Builder |
builder()
Creates a builder for
Metadata. |
boolean |
equals(Object another)
This instance is equal to all instances of
Metadata that have equal attribute values. |
Map<String,String> |
getAnnotations()
The metadata annotations
|
Map<String,String> |
getLabels()
The metadata labels
|
int |
hashCode()
Computes a hash code from attributes:
annotations, labels. |
String |
toString()
Prints the immutable value
Metadata with attribute values. |
public boolean equals(Object another)
Metadata that have equal attribute values.public int hashCode()
annotations, labels.public String toString()
Metadata with attribute values.public static Metadata.Builder builder()
Metadata.
Metadata.builder()
.annotations(Map<String, String> | null) // nullable annotations
.labels(Map<String, String> | null) // nullable labels
.build();
Copyright © 2020. All rights reserved.