jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Gaul <notificati...@github.com>
Subject Re: [jclouds] JCLOUDS-651: Conditional copy blob (#919)
Date Wed, 17 Feb 2016 00:29:50 GMT
> +   @Nullable
> +   public abstract Map<String, String> userMetadata();
> +
> +   @Nullable
> +   public abstract Date ifModifiedSince();
> +   @Nullable
> +   public abstract Date ifUnmodifiedSince();
> +   @Nullable
> +   public abstract String ifMatch();
> +   @Nullable
> +   public abstract String ifNoneMatch();
> +
> +   @AutoValue.Builder
> +   public abstract static class Builder {
> +      public abstract Builder contentMetadata(ContentMetadata contentMetadata);
> +      public abstract Builder userMetadata(Map<String, String> userMetadata);

I could not find an low effort solution and will punt on this for now.  We can revisit immutable
`Date` when we move to Java 8 and can use `Instant`.

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