Class CommonMetadata
java.lang.Object
com.netflix.genie.common.internal.dtos.CommonMetadata
- All Implemented Interfaces:
 Serializable
- Direct Known Subclasses:
 ApplicationMetadata,ClusterMetadata,CommandMetadata,FinishedJob,JobMetadata
Metadata fields common to all Genie resources (Jobs, clusters, etc).
- Since:
 - 4.0.0
 - See Also:
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for common fields. - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCommonMetadata(CommonMetadata.Builder builder) Constructor. - 
Method Summary
 
- 
Constructor Details
- 
CommonMetadata
Constructor.- Parameters:
 builder- The builder containing the values to use.
 
 - 
 - 
Method Details
- 
getDescription
Get the description.- Returns:
 - The description as an 
Optional 
 - 
getMetadata
Get the metadata of this resource as a JSON Node.- Returns:
 Optionalof the metadata if it exists
 - 
getTags
Get the tags associated with this resource. Will be returned as an immutable set and any attempt to modify will result in an exception being thrown.- Returns:
 - The tags
 
 
 -