Tabnine Logo
AccessConfig.setName
Code IndexAdd Tabnine to your IDE (free)

How to use
setName
method
in
com.google.api.services.compute.model.AccessConfig

Best Java code snippets using com.google.api.services.compute.model.AccessConfig.setName (Showing top 7 results out of 315)

origin: googleapis/google-cloud-java

com.google.api.services.compute.model.AccessConfig toPb() {
 com.google.api.services.compute.model.AccessConfig accessConfigPb =
   new com.google.api.services.compute.model.AccessConfig();
 accessConfigPb.setName(name);
 accessConfigPb.setNatIP(natIp);
 if (type != null) {
  accessConfigPb.setType(type.name());
 }
 return accessConfigPb;
}
origin: GoogleCloudPlatform/java-docs-samples

AccessConfig config = new AccessConfig();
config.setType(NETWORK_INTERFACE_CONFIG);
config.setName(NETWORK_ACCESS_CONFIG);
configs.add(config);
ifc.setAccessConfigs(configs);
origin: com.google.cloud/google-cloud-compute

com.google.api.services.compute.model.AccessConfig toPb() {
 com.google.api.services.compute.model.AccessConfig accessConfigPb =
   new com.google.api.services.compute.model.AccessConfig();
 accessConfigPb.setName(name);
 accessConfigPb.setNatIP(natIp);
 if (type != null) {
  accessConfigPb.setType(type.name());
 }
 return accessConfigPb;
}
origin: simpleci/simpleci

.setAccessConfigs(
    new ImmutableList.Builder<AccessConfig>().add(new AccessConfig()
        .setName("External NAT")
        .setType("ONE_TO_ONE_NAT"))
                         .build()))
origin: GoogleCloudPlatform/pubsub

AccessConfig config = new AccessConfig();
config.setType("ONE_TO_ONE_NAT");
config.setName("External NAT");
return new InstanceTemplate()
  .setName("cps-loadtest-" + type + "-" + cores)
origin: spinnaker/halyard

.setName("External NAT")
.setType("ONE_TO_ONE_NAT");
origin: com.netflix.spinnaker.halyard/halyard-deploy

.setName("External NAT")
.setType("ONE_TO_ONE_NAT");
com.google.api.services.compute.modelAccessConfigsetName

Javadoc

The name of this access configuration. The default and recommended name is External NAT but you can use any arbitrary string you would like. For example, My external IP or Network Access.

Popular methods of AccessConfig

  • <init>
  • setType
    The type of configuration. The default and only option is ONE_TO_ONE_NAT.
  • getNatIP
    An external IP address associated with this instance. Specify an unused static external IP address a
  • getName
    The name of this access configuration. The default and recommended name is External NAT but you can
  • getType
    The type of configuration. The default and only option is ONE_TO_ONE_NAT.
  • setNatIP
    An external IP address associated with this instance. Specify an unused static external IP address a

Popular in Java

  • Updating database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getApplicationContext (Context)
  • setRequestProperty (URLConnection)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Socket (java.net)
    Provides a client-side TCP socket.
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now