public static class AttributeMetadata.Builder<V> extends Object
Modifier and Type | Field and Description |
---|---|
protected AttributeMetadata.Cardinality |
cardinality |
protected com.google.common.base.Optional<V> |
defaultValue |
protected com.google.common.base.Optional<String> |
description |
protected String |
name |
protected String |
rawType |
protected Class<V> |
type |
Constructor and Description |
---|
AttributeMetadata.Builder() |
Modifier and Type | Method and Description |
---|---|
AttributeMetadata<V> |
build() |
AttributeMetadata.Builder<V> |
cardinality(AttributeMetadata.Cardinality cardinality) |
AttributeMetadata.Builder<V> |
defaultValue(V defaultValue) |
AttributeMetadata.Builder<V> |
description(String description) |
AttributeMetadata.Builder<V> |
fromAttributeMetadata(AttributeMetadata<V> in) |
AttributeMetadata.Builder<V> |
name(String name) |
AttributeMetadata.Builder<V> |
rawType(String rawType) |
AttributeMetadata.Builder<V> |
type(Class<V> type) |
protected String name
protected String rawType
protected AttributeMetadata.Cardinality cardinality
protected com.google.common.base.Optional<V> defaultValue
protected com.google.common.base.Optional<String> description
public AttributeMetadata.Builder<V> name(String name)
AttributeMetadata.getName()
public AttributeMetadata.Builder<V> type(Class<V> type)
AttributeMetadata.getType()
public AttributeMetadata.Builder<V> rawType(String rawType)
AttributeMetadata.getRawType()
public AttributeMetadata.Builder<V> cardinality(AttributeMetadata.Cardinality cardinality)
AttributeMetadata.getCardinality()
public AttributeMetadata.Builder<V> defaultValue(V defaultValue)
AttributeMetadata.getDefaultValue()
public AttributeMetadata.Builder<V> description(String description)
AttributeMetadata.getDescription()
public AttributeMetadata<V> build()
public AttributeMetadata.Builder<V> fromAttributeMetadata(AttributeMetadata<V> in)
Copyright © 2009-2013 jclouds. All Rights Reserved.