Package org.jclouds.rds.features

Examples of org.jclouds.rds.features.SecurityGroupApi


   }

   @Override
   protected Function<Object, IterableWithMarker<SecurityGroup>> markerToNextForArg0(Optional<Object> arg0) {
      final String region = arg0.isPresent() ? arg0.get().toString() : null;
      final SecurityGroupApi securityGroupApi = api.getSecurityGroupApiForRegion(region);
      return new Function<Object, IterableWithMarker<SecurityGroup>>() {

         @Override
         public IterableWithMarker<SecurityGroup> apply(Object input) {
            return securityGroupApi.list(ListSecurityGroupsOptions.Builder.afterMarker(input));
         }

         @Override
         public String toString() {
            return "listSecurityGroupsInRegion(" + region + ")";
View Full Code Here


   }

   @Override
   protected Function<Object, IterableWithMarker<SecurityGroup>> markerToNextForArg0(Optional<Object> arg0) {
      final String region = arg0.isPresent() ? arg0.get().toString() : null;
      final SecurityGroupApi securityGroupApi = api.getSecurityGroupApiForRegion(region);
      return new Function<Object, IterableWithMarker<SecurityGroup>>() {

         @Override
         public IterableWithMarker<SecurityGroup> apply(Object input) {
            return securityGroupApi.list(ListSecurityGroupsOptions.Builder.afterMarker(input));
         }

         @Override
         public String toString() {
            return "listSecurityGroupsInRegion(" + region + ")";
View Full Code Here

TOP

Related Classes of org.jclouds.rds.features.SecurityGroupApi

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.