public class ServiceAssociationLink
extends com.azure.core.management.SubResource
| Constructor and Description |
|---|
ServiceAssociationLink() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
allowDelete()
Get the allowDelete property: If true, the resource can be deleted.
|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
String |
link()
Get the link property: Link to the external resource.
|
String |
linkedResourceType()
Get the linkedResourceType property: Resource type of the linked resource.
|
List<String> |
locations()
Get the locations property: A list of locations.
|
String |
name()
Get the name property: Name of the resource that is unique within a resource group.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the service association link resource.
|
String |
type()
Get the type property: Resource type.
|
void |
validate()
Validates the instance.
|
ServiceAssociationLink |
withAllowDelete(Boolean allowDelete)
Set the allowDelete property: If true, the resource can be deleted.
|
ServiceAssociationLink |
withId(String id) |
ServiceAssociationLink |
withLink(String link)
Set the link property: Link to the external resource.
|
ServiceAssociationLink |
withLinkedResourceType(String linkedResourceType)
Set the linkedResourceType property: Resource type of the linked resource.
|
ServiceAssociationLink |
withLocations(List<String> locations)
Set the locations property: A list of locations.
|
ServiceAssociationLink |
withName(String name)
Set the name property: Name of the resource that is unique within a resource group.
|
public String name()
public ServiceAssociationLink withName(String name)
name - the name value to set.public String etag()
public String type()
public String linkedResourceType()
public ServiceAssociationLink withLinkedResourceType(String linkedResourceType)
linkedResourceType - the linkedResourceType value to set.public String link()
public ServiceAssociationLink withLink(String link)
link - the link value to set.public ProvisioningState provisioningState()
public Boolean allowDelete()
public ServiceAssociationLink withAllowDelete(Boolean allowDelete)
allowDelete - the allowDelete value to set.public List<String> locations()
public ServiceAssociationLink withLocations(List<String> locations)
locations - the locations value to set.public ServiceAssociationLink withId(String id)
withId in class com.azure.core.management.SubResourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.