public abstract static class MetadataEntry.Builder<B extends MetadataEntry.Builder<B>> extends Resource.Builder<B>
Constructor and Description |
---|
MetadataEntry.Builder() |
Modifier and Type | Method and Description |
---|---|
MetadataEntry |
build() |
B |
entry(String key,
String value) |
B |
fromMetadataEntry(MetadataEntry in) |
B |
href(URI href) |
B |
key(String key) |
B |
link(Link link) |
B |
links(Set<Link> links) |
B |
type(String type) |
B |
value(String value) |
fromResource, self
public B key(String key)
MetadataEntry.getKey()
public B value(String value)
MetadataEntry.getValue()
public MetadataEntry build()
build
in class Resource.Builder<B extends MetadataEntry.Builder<B>>
public B href(URI href)
href
in class Resource.Builder<B extends MetadataEntry.Builder<B>>
ResourceType#getHref()
public B type(String type)
type
in class Resource.Builder<B extends MetadataEntry.Builder<B>>
ResourceType#getType()
public B links(Set<Link> links)
links
in class Resource.Builder<B extends MetadataEntry.Builder<B>>
ResourceType#getLinks()
public B link(Link link)
link
in class Resource.Builder<B extends MetadataEntry.Builder<B>>
ResourceType#getLinks()
public B fromMetadataEntry(MetadataEntry in)
Copyright © 2009-2013 jclouds. All Rights Reserved.