Class NetworkConnectionUpdate

java.lang.Object
com.azure.resourcemanager.devcenter.models.TrackedResourceUpdate
com.azure.resourcemanager.devcenter.models.NetworkConnectionUpdate

public final class NetworkConnectionUpdate extends TrackedResourceUpdate
The network connection properties for partial update. Properties not provided in the update request will not be changed.
  • Constructor Details

    • NetworkConnectionUpdate

      public NetworkConnectionUpdate()
      Creates an instance of NetworkConnectionUpdate class.
  • Method Details

    • withTags

      public NetworkConnectionUpdate withTags(Map<String,String> tags)
      Set the tags property: Resource tags.
      Overrides:
      withTags in class TrackedResourceUpdate
      Parameters:
      tags - the tags value to set.
      Returns:
      the TrackedResourceUpdate object itself.
    • withLocation

      public NetworkConnectionUpdate withLocation(String location)
      Set the location property: The geo-location where the resource lives.
      Overrides:
      withLocation in class TrackedResourceUpdate
      Parameters:
      location - the location value to set.
      Returns:
      the TrackedResourceUpdate object itself.
    • subnetId

      public String subnetId()
      Get the subnetId property: The subnet to attach Virtual Machines to.
      Returns:
      the subnetId value.
    • withSubnetId

      public NetworkConnectionUpdate withSubnetId(String subnetId)
      Set the subnetId property: The subnet to attach Virtual Machines to.
      Parameters:
      subnetId - the subnetId value to set.
      Returns:
      the NetworkConnectionUpdate object itself.
    • domainName

      public String domainName()
      Get the domainName property: Active Directory domain name.
      Returns:
      the domainName value.
    • withDomainName

      public NetworkConnectionUpdate withDomainName(String domainName)
      Set the domainName property: Active Directory domain name.
      Parameters:
      domainName - the domainName value to set.
      Returns:
      the NetworkConnectionUpdate object itself.
    • organizationUnit

      public String organizationUnit()
      Get the organizationUnit property: Active Directory domain Organization Unit (OU).
      Returns:
      the organizationUnit value.
    • withOrganizationUnit

      public NetworkConnectionUpdate withOrganizationUnit(String organizationUnit)
      Set the organizationUnit property: Active Directory domain Organization Unit (OU).
      Parameters:
      organizationUnit - the organizationUnit value to set.
      Returns:
      the NetworkConnectionUpdate object itself.
    • domainUsername

      public String domainUsername()
      Get the domainUsername property: The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com.
      Returns:
      the domainUsername value.
    • withDomainUsername

      public NetworkConnectionUpdate withDomainUsername(String domainUsername)
      Set the domainUsername property: The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com.
      Parameters:
      domainUsername - the domainUsername value to set.
      Returns:
      the NetworkConnectionUpdate object itself.
    • domainPassword

      public String domainPassword()
      Get the domainPassword property: The password for the account used to join domain.
      Returns:
      the domainPassword value.
    • withDomainPassword

      public NetworkConnectionUpdate withDomainPassword(String domainPassword)
      Set the domainPassword property: The password for the account used to join domain.
      Parameters:
      domainPassword - the domainPassword value to set.
      Returns:
      the NetworkConnectionUpdate object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class TrackedResourceUpdate
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.