Class ParseScalingPolicyResponse
- java.lang.Object
-
- org.jclouds.rackspace.autoscale.v1.functions.ParseScalingPolicyResponse
-
- All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,ScalingPolicy>
,Function<HttpResponse,ScalingPolicy>
public class ParseScalingPolicyResponse extends Object implements com.google.common.base.Function<HttpResponse,ScalingPolicy>
This parses the scaling policy response and decouples domain objects from the json object returned by the service.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScalingPolicy
apply(HttpResponse from)
Parse a single scaling policy response
-
-
-
Method Detail
-
apply
public ScalingPolicy apply(HttpResponse from)
Parse a single scaling policy response- Specified by:
apply
in interfacecom.google.common.base.Function<HttpResponse,ScalingPolicy>
- Specified by:
apply
in interfaceFunction<HttpResponse,ScalingPolicy>
-
-