public abstract class ResourceMetadataBuilder<T extends Enum<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected Location |
location |
protected String |
name |
protected String |
providerId |
protected URI |
uri |
protected Map<String,String> |
userMetadata |
Constructor and Description |
---|
ResourceMetadataBuilder() |
Modifier and Type | Method and Description |
---|---|
ResourceMetadataBuilder<T> |
location(Location location) |
ResourceMetadataBuilder<T> |
name(String name) |
ResourceMetadataBuilder<T> |
providerId(String providerId) |
ResourceMetadataBuilder<T> |
uri(URI uri) |
ResourceMetadataBuilder<T> |
userMetadata(Map<String,String> userMetadata) |
protected String providerId
protected String name
protected Location location
protected URI uri
public ResourceMetadataBuilder<T> providerId(String providerId)
public ResourceMetadataBuilder<T> name(String name)
public ResourceMetadataBuilder<T> location(Location location)
public ResourceMetadataBuilder<T> uri(URI uri)
public ResourceMetadataBuilder<T> userMetadata(Map<String,String> userMetadata)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.