google-notebooks/src/main/java/bio/terra/cloudres/google/notebooks/AIPlatformNotebooksCow.java
/** Create an instance with the {@link InstanceName}. See {@link #create(String, Instance)}. */
Create an instance with the  InstanceName.
Create an instance with the InstanceName .
public Create create(InstanceName instanceName, Instance instance) throws IOException {
      Preconditions.checkArgument(
          instance.getName() == null || instance.getName().equals(instanceName.formatName()),
          "The instance name and it's desired name should be the same if set.");
      return create(instanceName.formatParent(), instance).setInstanceId(instanceName.instanceId());
    }
public Create create ( InstanceName instanceName , Instance instance ) throws IOException { Preconditions . checkArgument ( instance . getName ( ) == null || instance . getName ( ) . equals ( instanceName . formatName ( ) ) , "The instance name and it's desired name should be the same if set." ) ; return create ( instanceName . formatParent ( ) , instance ) . setInstanceId ( instanceName . instanceId ( ) ) ; }
Create an instance with the {@link InstanceName}.
Create an instance with the { @link InstanceName } .