Class DistributedNodesInfo
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.DistributedNodesInfo
This is used to represent the various nodes of the distributed container.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the errorDetail property: Error Details if the Status is non-success.nodeName()
Get the nodeName property: Name of the node under a distributed container.status()
Get the status property: Status of this Node.void
validate()
Validates the instance.withErrorDetail
(ErrorDetail errorDetail) Set the errorDetail property: Error Details if the Status is non-success.withNodeName
(String nodeName) Set the nodeName property: Name of the node under a distributed container.withStatus
(String status) Set the status property: Status of this Node.
-
Constructor Details
-
DistributedNodesInfo
public DistributedNodesInfo()Creates an instance of DistributedNodesInfo class.
-
-
Method Details
-
nodeName
Get the nodeName property: Name of the node under a distributed container.- Returns:
- the nodeName value.
-
withNodeName
Set the nodeName property: Name of the node under a distributed container.- Parameters:
nodeName
- the nodeName value to set.- Returns:
- the DistributedNodesInfo object itself.
-
status
Get the status property: Status of this Node. Failed | Succeeded.- Returns:
- the status value.
-
withStatus
Set the status property: Status of this Node. Failed | Succeeded.- Parameters:
status
- the status value to set.- Returns:
- the DistributedNodesInfo object itself.
-
errorDetail
Get the errorDetail property: Error Details if the Status is non-success.- Returns:
- the errorDetail value.
-
withErrorDetail
Set the errorDetail property: Error Details if the Status is non-success.- Parameters:
errorDetail
- the errorDetail value to set.- Returns:
- the DistributedNodesInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-