public final class PrivateLinkResource extends Object
| Constructor and Description |
|---|
PrivateLinkResource() |
| Modifier and Type | Method and Description |
|---|---|
String |
id()
Get the id property: The id property.
|
String |
name()
Get the name property: Name of a private link resource.
|
PrivateLinkResourceProperties |
properties()
Get the properties property: Properties of a private link resource.
|
String |
type()
Get the type property: The type property.
|
void |
validate()
Validates the instance.
|
PrivateLinkResource |
withId(String id)
Set the id property: The id property.
|
PrivateLinkResource |
withName(String name)
Set the name property: Name of a private link resource.
|
PrivateLinkResource |
withProperties(PrivateLinkResourceProperties properties)
Set the properties property: Properties of a private link resource.
|
PrivateLinkResource |
withType(String type)
Set the type property: The type property.
|
public String id()
public PrivateLinkResource withId(String id)
id - the id value to set.public String name()
public PrivateLinkResource withName(String name)
name - the name value to set.public String type()
public PrivateLinkResource withType(String type)
type - the type value to set.public PrivateLinkResourceProperties properties()
public PrivateLinkResource withProperties(PrivateLinkResourceProperties properties)
properties - the properties value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.