Class ClusterLibraryProperties
java.lang.Object
com.azure.resourcemanager.hdinsight.containers.models.ClusterLibraryProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ClusterLibraryProperties>
- Direct Known Subclasses:
MavenLibraryProperties, PyPiLibraryProperties
public class ClusterLibraryProperties
extends Object
implements com.azure.json.JsonSerializable<ClusterLibraryProperties>
Properties of a library in the cluster.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ClusterLibraryProperties class. -
Method Summary
Modifier and TypeMethodDescriptionstatic ClusterLibraryPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ClusterLibraryProperties from the JsonReader.message()Get the message property: Error message of the library operation when a failure occurs.remarks()Get the remarks property: Remark of the latest library management operation.status()Get the status property: Status of the library.Get the timestamp property: Timestamp of the latest library management operation.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: Type of the library.voidvalidate()Validates the instance.withRemarks(String remarks) Set the remarks property: Remark of the latest library management operation.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ClusterLibraryProperties
public ClusterLibraryProperties()Creates an instance of ClusterLibraryProperties class.
-
-
Method Details
-
type
-
remarks
Get the remarks property: Remark of the latest library management operation.- Returns:
- the remarks value.
-
withRemarks
Set the remarks property: Remark of the latest library management operation.- Parameters:
remarks- the remarks value to set.- Returns:
- the ClusterLibraryProperties object itself.
-
timestamp
Get the timestamp property: Timestamp of the latest library management operation.- Returns:
- the timestamp value.
-
status
-
message
Get the message property: Error message of the library operation when a failure occurs.- Returns:
- the message value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ClusterLibraryProperties>- Throws:
IOException
-
fromJson
public static ClusterLibraryProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ClusterLibraryProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ClusterLibraryProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the ClusterLibraryProperties.
-