public final class TargetResource extends Object
| Constructor and Description |
|---|
TargetResource() |
| Modifier and Type | Method and Description |
|---|---|
String |
id()
Get the id property: The ID of the resource.
|
String |
resourceName()
Get the resourceName property: The name of the resource.
|
String |
resourceType()
Get the resourceType property: The type of the resource.
|
void |
validate()
Validates the instance.
|
TargetResource |
withId(String id)
Set the id property: The ID of the resource.
|
TargetResource |
withResourceName(String resourceName)
Set the resourceName property: The name of the resource.
|
TargetResource |
withResourceType(String resourceType)
Set the resourceType property: The type of the resource.
|
public String id()
public TargetResource withId(String id)
id - the id value to set.public String resourceName()
public TargetResource withResourceName(String resourceName)
resourceName - the resourceName value to set.public String resourceType()
public TargetResource withResourceType(String resourceType)
resourceType - the resourceType value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.