TargetResource Class
- java.
lang. Object - com.
microsoft. azure. management. resources. TargetResource
- com.
public class TargetResource
Target resource.
Constructor Summary
Constructor | Description | |
---|---|---|
TargetResource() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
id()
Get the ID of the resource. |
java.lang.String |
resourceName()
Get the name of the resource. |
java.lang.String |
resourceType()
Get the type of the resource. |
Target |
withId(String id)
Set the ID of the resource. |
Target |
withResourceName(String resourceName)
Set the name of the resource. |
Target |
withResourceType(String resourceType)
Set the type of the resource. |
Methods inherited from java.lang.Object
Constructor Details
TargetResource
public TargetResource()
Method Details
id
public String id()
Get the ID of the resource.
Returns:
resourceName
public String resourceName()
Get the name of the resource.
Returns:
resourceType
public String resourceType()
Get the type of the resource.
Returns:
withId
public TargetResource withId(String id)
Set the ID of the resource.
Parameters:
Returns:
withResourceName
public TargetResource withResourceName(String resourceName)
Set the name of the resource.
Parameters:
Returns:
withResourceType
public TargetResource withResourceType(String resourceType)
Set the type of the resource.
Parameters:
Returns: