MoveResourceDependency Class
- java.
lang. Object - com.
azure. resourcemanager. resourcemover. models. MoveResourceDependency
- com.
Implements
public final class MoveResourceDependency
implements JsonSerializable<MoveResourceDependency>
Defines the dependency of the move resource.
Constructor Summary
| Constructor | Description |
|---|---|
| MoveResourceDependency() |
Creates an instance of Move |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Automatic |
automaticResolution()
Get the automatic |
|
Dependency |
dependencyType()
Get the dependency |
|
static
Move |
fromJson(JsonReader jsonReader)
Reads an instance of Move |
| String |
id()
Get the id property: Gets the source ARM ID of the dependent resource. |
| String |
isOptional()
Get the is |
|
Manual |
manualResolution()
Get the manual |
| String |
resolutionStatus()
Get the resolution |
|
Resolution |
resolutionType()
Get the resolution |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Move |
withAutomaticResolution(AutomaticResolutionProperties automaticResolution)
Set the automatic |
|
Move |
withDependencyType(DependencyType dependencyType)
Set the dependency |
|
Move |
withId(String id)
Set the id property: Gets the source ARM ID of the dependent resource. |
|
Move |
withIsOptional(String isOptional)
Set the is |
|
Move |
withManualResolution(ManualResolutionProperties manualResolution)
Set the manual |
|
Move |
withResolutionStatus(String resolutionStatus)
Set the resolution |
|
Move |
withResolutionType(ResolutionType resolutionType)
Set the resolution |
Methods inherited from java.lang.Object
Constructor Details
MoveResourceDependency
public MoveResourceDependency()
Creates an instance of MoveResourceDependency class.
Method Details
automaticResolution
public AutomaticResolutionProperties automaticResolution()
Get the automaticResolution property: Defines the properties for automatic resolution.
Returns:
dependencyType
public DependencyType dependencyType()
Get the dependencyType property: Defines the dependency type.
Returns:
fromJson
public static MoveResourceDependency fromJson(JsonReader jsonReader)
Reads an instance of MoveResourceDependency from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Gets the source ARM ID of the dependent resource.
Returns:
isOptional
public String isOptional()
Get the isOptional property: Gets or sets a value indicating whether the dependency is optional.
Returns:
manualResolution
public ManualResolutionProperties manualResolution()
Get the manualResolution property: Defines the properties for manual resolution.
Returns:
resolutionStatus
public String resolutionStatus()
Get the resolutionStatus property: Gets the dependency resolution status.
Returns:
resolutionType
public ResolutionType resolutionType()
Get the resolutionType property: Defines the resolution type.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAutomaticResolution
public MoveResourceDependency withAutomaticResolution(AutomaticResolutionProperties automaticResolution)
Set the automaticResolution property: Defines the properties for automatic resolution.
Parameters:
Returns:
withDependencyType
public MoveResourceDependency withDependencyType(DependencyType dependencyType)
Set the dependencyType property: Defines the dependency type.
Parameters:
Returns:
withId
public MoveResourceDependency withId(String id)
Set the id property: Gets the source ARM ID of the dependent resource.
Parameters:
Returns:
withIsOptional
public MoveResourceDependency withIsOptional(String isOptional)
Set the isOptional property: Gets or sets a value indicating whether the dependency is optional.
Parameters:
Returns:
withManualResolution
public MoveResourceDependency withManualResolution(ManualResolutionProperties manualResolution)
Set the manualResolution property: Defines the properties for manual resolution.
Parameters:
Returns:
withResolutionStatus
public MoveResourceDependency withResolutionStatus(String resolutionStatus)
Set the resolutionStatus property: Gets the dependency resolution status.
Parameters:
Returns:
withResolutionType
public MoveResourceDependency withResolutionType(ResolutionType resolutionType)
Set the resolutionType property: Defines the resolution type.
Parameters:
Returns: