CommitProperties Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. CommitProperties
- com.
Implements
public final class CommitProperties
implements JsonSerializable<CommitProperties>
Properties of commit.
Constructor Summary
| Constructor | Description |
|---|---|
| CommitProperties() |
Creates an instance of Commit |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
activeLocations()
Get the active |
|
Configuration |
commitType()
Get the commit |
| List<String> |
configurationIds()
Get the configuration |
| String |
description()
Get the description property: A description of the commit. |
| String |
forceUpdateTag()
Get the force |
|
static
Commit |
fromJson(JsonReader jsonReader)
Reads an instance of Commit |
|
Common |
provisioningState()
Get the provisioning |
| String |
resourceGuid()
Get the resource |
| List<String> |
targetLocations()
Get the target |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Commit |
withCommitType(ConfigurationType commitType)
Set the commit |
|
Commit |
withConfigurationIds(List<String> configurationIds)
Set the configuration |
|
Commit |
withDescription(String description)
Set the description property: A description of the commit. |
|
Commit |
withForceUpdateTag(String forceUpdateTag)
Set the force |
|
Commit |
withTargetLocations(List<String> targetLocations)
Set the target |
Methods inherited from java.lang.Object
Constructor Details
CommitProperties
public CommitProperties()
Creates an instance of CommitProperties class.
Method Details
activeLocations
public List<String> activeLocations()
Get the activeLocations property: List of active locations.
Returns:
commitType
public ConfigurationType commitType()
Get the commitType property: Commit Type.
Returns:
configurationIds
public List<String> configurationIds()
Get the configurationIds property: List of configuration IDs.
Returns:
description
public String description()
Get the description property: A description of the commit.
Returns:
forceUpdateTag
public String forceUpdateTag()
Get the forceUpdateTag property: A value that, when changed, forces the commit to be re-evaluated and redeployed.
Returns:
fromJson
public static CommitProperties fromJson(JsonReader jsonReader)
Reads an instance of CommitProperties from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public CommonProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource.
Returns:
resourceGuid
public String resourceGuid()
Get the resourceGuid property: Unique identifier for this resource.
Returns:
targetLocations
public List<String> targetLocations()
Get the targetLocations property: List of target locations.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCommitType
public CommitProperties withCommitType(ConfigurationType commitType)
Set the commitType property: Commit Type.
Parameters:
Returns:
withConfigurationIds
public CommitProperties withConfigurationIds(List<String> configurationIds)
Set the configurationIds property: List of configuration IDs.
Parameters:
Returns:
withDescription
public CommitProperties withDescription(String description)
Set the description property: A description of the commit.
Parameters:
Returns:
withForceUpdateTag
public CommitProperties withForceUpdateTag(String forceUpdateTag)
Set the forceUpdateTag property: A value that, when changed, forces the commit to be re-evaluated and redeployed.
Parameters:
Returns:
withTargetLocations
public CommitProperties withTargetLocations(List<String> targetLocations)
Set the targetLocations property: List of target locations.
Parameters:
Returns: