CommitInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. network. models. ChildResource - com.
azure. resourcemanager. network. fluent. models. CommitInner
- com.
- com.
- com.
public final class CommitInner
extends ChildResource
The commit resource.
Constructor Summary
| Constructor | Description |
|---|---|
| CommitInner() |
Creates an instance of Commit |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
|
static
Commit |
fromJson(JsonReader jsonReader)
Reads an instance of Commit |
| String |
name()
Get the name property: The name of the resource. |
|
Commit |
properties()
Get the properties property: The Commit properties. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Commit |
withId(String id)
Set the id property: Resource ID. |
|
Commit |
withProperties(CommitProperties properties)
Set the properties property: The Commit properties. |
Methods inherited from ChildResource
Methods inherited from java.lang.Object
Constructor Details
CommitInner
public CommitInner()
Creates an instance of CommitInner class.
Method Details
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Overrides:
CommitInner.etag()Returns:
fromJson
public static CommitInner fromJson(JsonReader jsonReader)
Reads an instance of CommitInner from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the resource.
Overrides:
CommitInner.name()Returns:
properties
public CommitProperties properties()
Get the properties property: The Commit properties.
Returns:
systemData
public SystemData systemData()
Get the systemData property: The system metadata related to this resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
CommitInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
CommitInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
CommitInner.validate()withId
public CommitInner withId(String id)
Set the id property: Resource ID.
Overrides:
CommitInner.withId(String id)Parameters:
withProperties
public CommitInner withProperties(CommitProperties properties)
Set the properties property: The Commit properties.
Parameters:
Returns: