jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Bayer <notificati...@github.com>
Subject Re: [jclouds] JCLOUDS-450. Adding support for EC2 MaxCount option. (#277)
Date Wed, 05 Feb 2014 18:35:00 GMT
> @@ -145,6 +145,15 @@ public RunInstancesOptions withBlockDeviceMappings(Set<? extends
BlockDeviceMapp
>        return this;
>     }
>  
> +   /**
> +    * Specifies the optional ClientToken field, which triggers idempotent RunInstances
calls.
> +    * See <a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html">here</a>
for more details.
> +    */
> +   public RunInstancesOptions withClientToken(String clientToken) {
> +      formParameters.put("ClientToken", checkNotNull(clientToken, "clientToken"));

Yup.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/277/files#r9471998
Mime
View raw message