コード例 #1
0
 /** @see CreateServerOptions#withSharedIp(String) */
 public static CreateServerOptions withSharedIp(String publicIp) {
   CreateServerOptions options = new CreateServerOptions();
   return options.withSharedIp(publicIp);
 }
コード例 #2
0
 /** @see CreateServerOptions#withSharedIpGroup(int) */
 public static CreateServerOptions withSharedIpGroup(int id) {
   CreateServerOptions options = new CreateServerOptions();
   return options.withSharedIpGroup(id);
 }
コード例 #3
0
 /** @see CreateServerOptions#withMetadata(Map<String, String>) */
 public static CreateServerOptions withMetadata(Map<String, String> metadata) {
   CreateServerOptions options = new CreateServerOptions();
   return options.withMetadata(metadata);
 }
コード例 #4
0
 /** @see CreateServerOptions#withFile(String,byte []) */
 public static CreateServerOptions withFile(String path, byte[] contents) {
   CreateServerOptions options = new CreateServerOptions();
   return options.withFile(path, contents);
 }