Skip to content

Commit

Permalink
Issue #326
Browse files Browse the repository at this point in the history
  • Loading branch information
gondor committed Apr 17, 2015
1 parent 632cfc3 commit 8ef497e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,13 @@ public interface VolumeBuilder extends Builder<VolumeBuilder, Volume> {
* @return VolumeBuilder
*/
VolumeBuilder metadata(Map<String, String> metadata);

/**
* The associated availability zone. <b>Optional</b>
*
* @param zone The associated availability zone.
* @return VolumeBuilder
*/
VolumeBuilder zone(String zone);

}
Original file line number Diff line number Diff line change
Expand Up @@ -298,5 +298,11 @@ public VolumeBuilder from(Volume in) {
m = (CinderVolume) in;
return this;
}

@Override
public VolumeBuilder zone(String zone) {
m.zone = zone;
return this;
}
}
}

0 comments on commit 8ef497e

Please sign in to comment.