Class ComputeNodeIdentityReference

java.lang.Object
com.azure.resourcemanager.batch.models.ComputeNodeIdentityReference

public final class ComputeNodeIdentityReference extends Object
The reference to a user assigned identity associated with the Batch pool which a compute node will use.
  • Constructor Details

    • ComputeNodeIdentityReference

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

    • resourceId

      public String resourceId()
      Get the resourceId property: The ARM resource id of the user assigned identity.
      Returns:
      the resourceId value.
    • withResourceId

      public ComputeNodeIdentityReference withResourceId(String resourceId)
      Set the resourceId property: The ARM resource id of the user assigned identity.
      Parameters:
      resourceId - the resourceId value to set.
      Returns:
      the ComputeNodeIdentityReference object itself.
    • validate

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