Class Checkpoint
- java.lang.Object
-
- com.azure.resourcemanager.scvmm.models.Checkpoint
-
public final class Checkpoint extends Object
Defines the resource properties.
-
-
Constructor Summary
Constructors Constructor Description Checkpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
checkpointId()
Get the checkpointId property: Gets ID of the checkpoint.String
description()
Get the description property: Gets description of the checkpoint.String
name()
Get the name property: Gets name of the checkpoint.String
parentCheckpointId()
Get the parentCheckpointId property: Gets ID of parent of the checkpoint.void
validate()
Validates the instance.Checkpoint
withCheckpointId(String checkpointId)
Set the checkpointId property: Gets ID of the checkpoint.Checkpoint
withDescription(String description)
Set the description property: Gets description of the checkpoint.Checkpoint
withName(String name)
Set the name property: Gets name of the checkpoint.Checkpoint
withParentCheckpointId(String parentCheckpointId)
Set the parentCheckpointId property: Gets ID of parent of the checkpoint.
-
-
-
Method Detail
-
parentCheckpointId
public String parentCheckpointId()
Get the parentCheckpointId property: Gets ID of parent of the checkpoint.- Returns:
- the parentCheckpointId value.
-
withParentCheckpointId
public Checkpoint withParentCheckpointId(String parentCheckpointId)
Set the parentCheckpointId property: Gets ID of parent of the checkpoint.- Parameters:
parentCheckpointId
- the parentCheckpointId value to set.- Returns:
- the Checkpoint object itself.
-
checkpointId
public String checkpointId()
Get the checkpointId property: Gets ID of the checkpoint.- Returns:
- the checkpointId value.
-
withCheckpointId
public Checkpoint withCheckpointId(String checkpointId)
Set the checkpointId property: Gets ID of the checkpoint.- Parameters:
checkpointId
- the checkpointId value to set.- Returns:
- the Checkpoint object itself.
-
name
public String name()
Get the name property: Gets name of the checkpoint.- Returns:
- the name value.
-
withName
public Checkpoint withName(String name)
Set the name property: Gets name of the checkpoint.- Parameters:
name
- the name value to set.- Returns:
- the Checkpoint object itself.
-
description
public String description()
Get the description property: Gets description of the checkpoint.- Returns:
- the description value.
-
withDescription
public Checkpoint withDescription(String description)
Set the description property: Gets description of the checkpoint.- Parameters:
description
- the description value to set.- Returns:
- the Checkpoint object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-