CreationData Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. CreationData
- com.
Implements
public final class CreationData
implements JsonSerializable<CreationData>
Data used when creating a target resource from a source resource.
Constructor Summary
Constructor | Description |
---|---|
CreationData() |
Creates an instance of Creation |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Creation |
fromJson(JsonReader jsonReader)
Reads an instance of Creation |
String |
sourceResourceId()
Get the source |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Creation |
withSourceResourceId(String sourceResourceId)
Set the source |
Methods inherited from java.lang.Object
Constructor Details
CreationData
public CreationData()
Creates an instance of CreationData class.
Method Details
fromJson
public static CreationData fromJson(JsonReader jsonReader)
Reads an instance of CreationData from the JsonReader.
Parameters:
Returns:
Throws:
sourceResourceId
public String sourceResourceId()
Get the sourceResourceId property: This is the ARM ID of the source object to be used to create the target object.
Returns:
toJson
validate
public void validate()
Validates the instance.
withSourceResourceId
public CreationData withSourceResourceId(String sourceResourceId)
Set the sourceResourceId property: This is the ARM ID of the source object to be used to create the target object.
Parameters:
Returns:
Applies to
Azure SDK for Java