Class Instance.Builder
java.lang.Object
org.jclouds.openstack.trove.v1.domain.Instance.Builder
- Enclosing class:
Instance
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
fromInstance
(Instance in) size
(int size) status
(Instance.Status status)
-
Field Details
-
id
-
name
-
size
protected int size -
flavor
-
status
-
links
-
hostname
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
- Parameters:
id
- The id of this instance.- Returns:
- The builder object.
- See Also:
-
name
- Parameters:
name
- The name of this instance.- Returns:
- The builder object.
- See Also:
-
size
- Parameters:
size
- Specifies the volume size in gigabytes (GB).- Returns:
- The builder object.
- See Also:
-
flavor
- Parameters:
flavor
- The Flavor of this instance as specified in the response from the List Flavors API call.- Returns:
- The builder object.
- See Also:
-
status
- Parameters:
status
- The status of this instance.- Returns:
- The builder object.
- See Also:
-
links
- Parameters:
links
- The links to this instance.- Returns:
- The builder object.
- See Also:
-
hostname
- Parameters:
name
- The hostname of this instance.- Returns:
- The builder object.
- See Also:
-
build
- Returns:
- A new Instance object.
-
fromInstance
-