Class CreationData
java.lang.Object
com.azure.resourcemanager.containerservice.models.CreationData
Data used when creating a target resource from a source resource.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the sourceResourceId property: This is the ARM ID of the source object to be used to create the target object.voidvalidate()Validates the instance.withSourceResourceId(String sourceResourceId) Set the sourceResourceId property: This is the ARM ID of the source object to be used to create the target object.
-
Constructor Details
-
CreationData
public CreationData()
-
-
Method Details
-
sourceResourceId
Get the sourceResourceId property: This is the ARM ID of the source object to be used to create the target object.- Returns:
- the sourceResourceId value.
-
withSourceResourceId
Set the sourceResourceId property: This is the ARM ID of the source object to be used to create the target object.- Parameters:
sourceResourceId- the sourceResourceId value to set.- Returns:
- the CreationData object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-