ServiceAssociationLink Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. models. ServiceAssociationLink
- com.
- com.
public final class ServiceAssociationLink
extends SubResource
ServiceAssociationLink resource.
Constructor Summary
Constructor | Description |
---|---|
ServiceAssociationLink() |
Creates an instance of Service |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
allowDelete()
Get the allow |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
Service |
fromJson(JsonReader jsonReader)
Reads an instance of Service |
String |
link()
Get the link property: Link to the external resource. |
String |
linkedResourceType()
Get the linked |
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. |
Provisioning |
provisioningState()
Get the provisioning |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Resource type. |
void |
validate()
Validates the instance. |
Service |
withAllowDelete(Boolean allowDelete)
Set the allow |
Service |
withId(String id) |
Service |
withLink(String link)
Set the link property: Link to the external resource. |
Service |
withLinkedResourceType(String linkedResourceType)
Set the linked |
Service |
withLocations(List<String> locations)
Set the locations property: A list of locations. |
Service |
withName(String name)
Set the name property: Name of the resource that is unique within a resource group. |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
ServiceAssociationLink
public ServiceAssociationLink()
Creates an instance of ServiceAssociationLink class.
Method Details
allowDelete
public Boolean allowDelete()
Get the allowDelete property: If true, the resource can be deleted.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static ServiceAssociationLink fromJson(JsonReader jsonReader)
Reads an instance of ServiceAssociationLink from the JsonReader.
Parameters:
Returns:
Throws:
link
public String link()
Get the link property: Link to the external resource.
Returns:
linkedResourceType
public String linkedResourceType()
Get the linkedResourceType property: Resource type of the linked resource.
Returns:
locations
public List
Get the locations property: A list of locations.
Returns:
name
public String name()
Get the name property: Name of the resource that is unique within a resource group. This name can be used to access the resource.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the service association link resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ServiceAssociationLink.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Resource type.
Returns:
validate
public void validate()
Validates the instance.
withAllowDelete
public ServiceAssociationLink withAllowDelete(Boolean allowDelete)
Set the allowDelete property: If true, the resource can be deleted.
Parameters:
Returns:
withId
public ServiceAssociationLink withId(String id)
Overrides:
ServiceAssociationLink.withId(String id)Parameters:
withLink
public ServiceAssociationLink withLink(String link)
Set the link property: Link to the external resource.
Parameters:
Returns:
withLinkedResourceType
public ServiceAssociationLink withLinkedResourceType(String linkedResourceType)
Set the linkedResourceType property: Resource type of the linked resource.
Parameters:
Returns:
withLocations
public ServiceAssociationLink withLocations(List
Set the locations property: A list of locations.
Parameters:
Returns:
withName
public ServiceAssociationLink withName(String name)
Set the name property: Name of the resource that is unique within a resource group. This name can be used to access the resource.
Parameters:
Returns:
Applies to
Azure SDK for Java