DscNodeProperties Class
- java.
lang. Object - com.
azure. resourcemanager. automation. fluent. models. DscNodeProperties
- com.
Implements
public final class DscNodeProperties
implements JsonSerializable<DscNodeProperties>
The properties of a DscNode.
Constructor Summary
| Constructor | Description |
|---|---|
| DscNodeProperties() |
Creates an instance of Dsc |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
accountId()
Get the account |
| String |
etag()
Get the etag property: Gets or sets the etag of the resource. |
|
List<Dsc |
extensionHandler()
Get the extension |
|
static
Dsc |
fromJson(JsonReader jsonReader)
Reads an instance of Dsc |
| String |
ip()
Get the ip property: Gets or sets the ip of the node. |
|
Offset |
lastSeen()
Get the last |
| String |
name()
Get the name property: Gets or sets the name of the dsc node configuration. |
| String |
nodeId()
Get the node |
|
Offset |
registrationTime()
Get the registration |
| String |
status()
Get the status property: Gets or sets the status of the node. |
|
Json |
toJson(JsonWriter jsonWriter) |
| Integer |
totalCount()
Get the total |
| void |
validate()
Validates the instance. |
|
Dsc |
withAccountId(String accountId)
Set the account |
|
Dsc |
withEtag(String etag)
Set the etag property: Gets or sets the etag of the resource. |
|
Dsc |
withExtensionHandler(List<DscNodeExtensionHandlerAssociationProperty> extensionHandler)
Set the extension |
|
Dsc |
withIp(String ip)
Set the ip property: Gets or sets the ip of the node. |
|
Dsc |
withLastSeen(OffsetDateTime lastSeen)
Set the last |
|
Dsc |
withName(String name)
Set the name property: Gets or sets the name of the dsc node configuration. |
|
Dsc |
withNodeId(String nodeId)
Set the node |
|
Dsc |
withRegistrationTime(OffsetDateTime registrationTime)
Set the registration |
|
Dsc |
withStatus(String status)
Set the status property: Gets or sets the status of the node. |
|
Dsc |
withTotalCount(Integer totalCount)
Set the total |
Methods inherited from java.lang.Object
Constructor Details
DscNodeProperties
public DscNodeProperties()
Creates an instance of DscNodeProperties class.
Method Details
accountId
public String accountId()
Get the accountId property: Gets or sets the account id of the node.
Returns:
etag
public String etag()
Get the etag property: Gets or sets the etag of the resource.
Returns:
extensionHandler
public List<DscNodeExtensionHandlerAssociationProperty> extensionHandler()
Get the extensionHandler property: Gets or sets the list of extensionHandler properties for a Node.
Returns:
fromJson
public static DscNodeProperties fromJson(JsonReader jsonReader)
Reads an instance of DscNodeProperties from the JsonReader.
Parameters:
Returns:
Throws:
ip
public String ip()
Get the ip property: Gets or sets the ip of the node.
Returns:
lastSeen
public OffsetDateTime lastSeen()
Get the lastSeen property: Gets or sets the last seen time of the node.
Returns:
name
public String name()
Get the name property: Gets or sets the name of the dsc node configuration.
Returns:
nodeId
public String nodeId()
Get the nodeId property: Gets or sets the node id.
Returns:
registrationTime
public OffsetDateTime registrationTime()
Get the registrationTime property: Gets or sets the registration time of the node.
Returns:
status
public String status()
Get the status property: Gets or sets the status of the node.
Returns:
toJson
totalCount
public Integer totalCount()
Get the totalCount property: Gets the total number of records matching filter criteria.
Returns:
validate
public void validate()
Validates the instance.
withAccountId
public DscNodeProperties withAccountId(String accountId)
Set the accountId property: Gets or sets the account id of the node.
Parameters:
Returns:
withEtag
public DscNodeProperties withEtag(String etag)
Set the etag property: Gets or sets the etag of the resource.
Parameters:
Returns:
withExtensionHandler
public DscNodeProperties withExtensionHandler(List<DscNodeExtensionHandlerAssociationProperty> extensionHandler)
Set the extensionHandler property: Gets or sets the list of extensionHandler properties for a Node.
Parameters:
Returns:
withIp
public DscNodeProperties withIp(String ip)
Set the ip property: Gets or sets the ip of the node.
Parameters:
Returns:
withLastSeen
public DscNodeProperties withLastSeen(OffsetDateTime lastSeen)
Set the lastSeen property: Gets or sets the last seen time of the node.
Parameters:
Returns:
withName
public DscNodeProperties withName(String name)
Set the name property: Gets or sets the name of the dsc node configuration.
Parameters:
Returns:
withNodeId
public DscNodeProperties withNodeId(String nodeId)
Set the nodeId property: Gets or sets the node id.
Parameters:
Returns:
withRegistrationTime
public DscNodeProperties withRegistrationTime(OffsetDateTime registrationTime)
Set the registrationTime property: Gets or sets the registration time of the node.
Parameters:
Returns:
withStatus
public DscNodeProperties withStatus(String status)
Set the status property: Gets or sets the status of the node.
Parameters:
Returns:
withTotalCount
public DscNodeProperties withTotalCount(Integer totalCount)
Set the totalCount property: Gets the total number of records matching filter criteria.
Parameters:
Returns: