Tabnine Logo
org.jclouds.cloudstack.functions
Code IndexAdd Tabnine to your IDE (free)

How to use org.jclouds.cloudstack.functions

Best Java code snippets using org.jclouds.cloudstack.functions (Showing top 20 results out of 315)

origin: jclouds/legacy-jclouds

public Set<IPForwardingRule> apply(PublicIPAddress ip, Iterable<Integer> ports) {
 return apply(ip, "tcp", ports);
}
origin: jclouds/legacy-jclouds

public Set<FirewallRule> apply(PublicIPAddress ip, Iterable<Integer> ports) {
 return apply(ip, "tcp", ports);
}

origin: jclouds/legacy-jclouds

@Override
public ListenableFuture<Void> create(Throwable t) throws Exception {
  return immediateFuture(createOrPropagate(t));
}
origin: jclouds/legacy-jclouds

  public AsyncJob<?> apply(HttpResponse response) {
   checkNotNull(response, "response");
   AsyncJob<Map<String, JsonBall>> toParse = parser.apply(response);
   checkNotNull(toParse, "parsed result from %s", response);
   return parseTyped.apply(toParse);
  }
}
origin: jclouds/legacy-jclouds

  public Map.Entry<String, String> apply(HttpResponse response) {
   checkNotNull(response, "response");
   Map<String, String> toParse = parser.apply(response);
   checkNotNull(toParse, "parsed result from %s", response);
   return Iterables.getFirst(toParse.entrySet(), null);
  }
}
origin: jclouds/legacy-jclouds

@Override
protected void configure() {
  bind(DateAdapter.class).to(Iso8601DateAdapter.class);
  super.configure();
}
origin: jclouds/legacy-jclouds

@Override
protected void configure() {
  bind(DateAdapter.class).to(Iso8601DateAdapter.class);
  super.configure();
}
origin: apache/jclouds

@Override
protected void configure() {
  bind(new TypeLiteral<Supplier<String>>() {
   }).toInstance(Suppliers.ofInstance("1"));
  bind(CloudStackApi.class).toInstance(client);
  bind(new TypeLiteral<CacheLoader<String, Zone>>() {}).
   to(ZoneIdToZone.class);
  bind(new TypeLiteral<Supplier<LoadingCache<String, Zone>>>() {}).
   to(ZoneIdToZoneSupplier.class);
  bind(String.class).annotatedWith(Names.named(PROPERTY_SESSION_INTERVAL)).toInstance("60");
}

origin: apache/jclouds

@Override
protected void configure() {
  bind(new TypeLiteral<Supplier<String>>() {
   }).toInstance(Suppliers.ofInstance("1"));
  bind(CloudStackApi.class).toInstance(client);
  bind(new TypeLiteral<CacheLoader<String, Zone>>() {}).
   to(ZoneIdToZone.class);
  bind(new TypeLiteral<Supplier<LoadingCache<String, Zone>>>() {}).
   to(ZoneIdToZoneSupplier.class);
  bind(String.class).annotatedWith(Names.named(PROPERTY_SESSION_INTERVAL)).toInstance("60");
}

origin: org.jclouds.api/cloudstack

public Set<IPForwardingRule> apply(PublicIPAddress ip, Iterable<Integer> ports) {
 return apply(ip, "tcp", ports);
}
origin: apache/jclouds

public Set<FirewallRule> apply(PublicIPAddress ip, Iterable<Integer> ports) {
 return apply(ip, "tcp", ports);
}
origin: org.jclouds.api/cloudstack

  public AsyncJob<?> apply(HttpResponse response) {
   checkNotNull(response, "response");
   AsyncJob<Map<String, JsonBall>> toParse = parser.apply(response);
   checkNotNull(toParse, "parsed result from %s", response);
   return parseTyped.apply(toParse);
  }
}
origin: org.jclouds.api/cloudstack

  public Map.Entry<String, String> apply(HttpResponse response) {
   checkNotNull(response, "response");
   Map<String, String> toParse = parser.apply(response);
   checkNotNull(toParse, "parsed result from %s", response);
   return Iterables.getFirst(toParse.entrySet(), null);
  }
}
origin: apache/jclouds

@Override
protected void configure() {
  bind(DateAdapter.class).to(Iso8601DateAdapter.class);
  super.configure();
}
origin: apache/jclouds

@Override
protected void configure() {
  bind(DateAdapter.class).to(Iso8601DateAdapter.class);
  super.configure();
}
origin: org.jclouds.api/cloudstack

@Override
public ListenableFuture<Void> create(Throwable t) throws Exception {
  return immediateFuture(createOrPropagate(t));
}
origin: apache/jclouds

public Set<IPForwardingRule> apply(PublicIPAddress ip, Iterable<Integer> ports) {
 return apply(ip, "tcp", ports);
}
origin: org.jclouds.api/cloudstack

public Set<FirewallRule> apply(PublicIPAddress ip, Iterable<Integer> ports) {
 return apply(ip, "tcp", ports);
}

origin: apache/jclouds

  public AsyncJob<?> apply(HttpResponse response) {
   checkNotNull(response, "response");
   AsyncJob<Map<String, JsonBall>> toParse = parser.apply(response);
   checkNotNull(toParse, "parsed result from %s", response);
   return parseTyped.apply(toParse);
  }
}
origin: apache/jclouds

  public Map.Entry<String, String> apply(HttpResponse response) {
   checkNotNull(response, "response");
   Map<String, String> toParse = parser.apply(response);
   checkNotNull(toParse, "parsed result from %s", response);
   return Iterables.getFirst(toParse.entrySet(), null);
  }
}
org.jclouds.cloudstack.functions

Most used classes

  • CreatePortForwardingRulesForIP
  • ReuseOrAssociateNewPublicIPAddress
  • StaticNATVirtualMachineInNetwork
  • CreateFirewallRulesForIP
  • CreateSecurityGroupIfNeeded
  • ParseAsyncJobFromHttpResponse,
  • ParseAsyncJobFromHttpResponseTest$1,
  • ParseAsyncJobsFromHttpResponse,
  • ParseAsyncJobsFromHttpResponseTest$1,
  • ParseIdToNameFromHttpResponse,
  • ParseTypedAsyncJob,
  • StaticNATVirtualMachineInNetwork$Factory,
  • StaticNATVirtualMachineInNetworkLiveTest,
  • WindowsLoginCredentialsFromEncryptedData,
  • CloudStackFallbacks$VoidOnNotFoundOr404OrUnableToFindAccountOwner,
  • CreateSecurityGroupIfNeededTest$1,
  • CreateSecurityGroupIfNeededTest$2,
  • CreateSecurityGroupIfNeededTest$3
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