> +
> +    public abstract String location();
> +
> +    public abstract VirtualNetworkProperties properties();
> +
> +    @Nullable
> +    public abstract Map<String, String> tags();
> +
> +    @SerializedNames({"name", "id", "etag", "location", "properties", 
> "tags"})
> +    public static VirtualNetwork create(final String name,
> +                                        final String id,
> +                                        final String etag,
> +                                        final String location,
> +                                        final VirtualNetworkProperties 
> properties,
> +                                        final Map<String, String> tags) {
> +        return new AutoValue_VirtualNetwork(name, id, etag, location, 
> properties, tags == null ? ImmutableMap.<String, String>builder().build() : 
> ImmutableMap.copyOf(tags));

Simpler as `ImmutableMap.<String,String>of()`.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/262/files/1801c68f227e1f245a30c6fa6ff044e7e2634460#r60745410

Reply via email to