AssociationInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. servicenetworking. fluent. models. AssociationInner
- com.
- com.
- com.
public final class AssociationInner
extends Resource
Association Subresource of Traffic Controller.
Constructor Summary
| Constructor | Description |
|---|---|
| AssociationInner() |
Creates an instance of Association |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Association |
fromJson(JsonReader jsonReader)
Reads an instance of Association |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Association |
properties()
Get the properties property: The resource-specific properties for this resource. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Association |
withLocation(String location) |
|
Association |
withProperties(AssociationProperties properties)
Set the properties property: The resource-specific properties for this resource. |
|
Association |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
AssociationInner
public AssociationInner()
Creates an instance of AssociationInner class.
Method Details
fromJson
public static AssociationInner fromJson(JsonReader jsonReader)
Reads an instance of AssociationInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
AssociationInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
AssociationInner.name()Returns:
properties
public AssociationProperties properties()
Get the properties property: The resource-specific properties for this resource.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AssociationInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
AssociationInner.type()Returns:
validate
public void validate()
Validates the instance.
withLocation
public AssociationInner withLocation(String location)
Overrides:
AssociationInner.withLocation(String location)Parameters:
withProperties
public AssociationInner withProperties(AssociationProperties properties)
Set the properties property: The resource-specific properties for this resource.
Parameters:
Returns:
withTags
public AssociationInner withTags(Map<String,String> tags)
Overrides:
AssociationInner.withTags(Map<String,String> tags)Parameters: