public class ComputeMetadataBuilder extends ResourceMetadataBuilder<ComputeType>
Modifier and Type | Field and Description |
---|---|
protected String |
id |
protected Set<String> |
tags |
protected ComputeType |
type |
location, name, providerId, uri, userMetadata
Constructor and Description |
---|
ComputeMetadataBuilder(ComputeType type) |
Modifier and Type | Method and Description |
---|---|
ComputeMetadata |
build() |
static ComputeMetadataBuilder |
fromComputeMetadata(ComputeMetadata in) |
ComputeMetadataBuilder |
id(String id) |
ComputeMetadataBuilder |
ids(String id)
set id and providerId to the same value;
|
ComputeMetadataBuilder |
location(Location location) |
ComputeMetadataBuilder |
name(String name) |
ComputeMetadataBuilder |
providerId(String providerId) |
ComputeMetadataBuilder |
tags(Iterable<String> tags) |
ComputeMetadataBuilder |
uri(URI uri) |
ComputeMetadataBuilder |
userMetadata(Map<String,String> userMetadata) |
protected String id
protected ComputeType type
public ComputeMetadataBuilder(ComputeType type)
public ComputeMetadataBuilder id(String id)
public ComputeMetadataBuilder tags(Iterable<String> tags)
public ComputeMetadataBuilder ids(String id)
public ComputeMetadataBuilder providerId(String providerId)
providerId
in class ResourceMetadataBuilder<ComputeType>
public ComputeMetadataBuilder name(String name)
name
in class ResourceMetadataBuilder<ComputeType>
public ComputeMetadataBuilder location(Location location)
location
in class ResourceMetadataBuilder<ComputeType>
public ComputeMetadataBuilder uri(URI uri)
uri
in class ResourceMetadataBuilder<ComputeType>
public ComputeMetadataBuilder userMetadata(Map<String,String> userMetadata)
userMetadata
in class ResourceMetadataBuilder<ComputeType>
public ComputeMetadata build()
public static ComputeMetadataBuilder fromComputeMetadata(ComputeMetadata in)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.