mirror of https://github.com/apache/jclouds.git
add builder inheritance methods
This commit is contained in:
parent
257503f4dd
commit
08c20366bc
|
@ -117,6 +117,54 @@ public class InstantiateVAppParamsType<T extends InstantiateVAppParamsType<T>>
|
|||
return instantiateVAppParams;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see ParamsType#getDescription()
|
||||
*/
|
||||
public Builder<T> description(String description) {
|
||||
super.description(description);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see ParamsType#getName()
|
||||
*/
|
||||
public Builder<T> name(String name) {
|
||||
super.name(name);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see VAppCreationParamsType#getVAppParent()
|
||||
*/
|
||||
public Builder<T> vAppParent(Reference vAppParent) {
|
||||
super.vAppParent(vAppParent);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see VAppCreationParamsType#getInstantiationParams()
|
||||
*/
|
||||
public Builder<T> instantiationParams(InstantiationParams instantiationParams) {
|
||||
super.instantiationParams(instantiationParams);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see VAppCreationParamsType#getDeploy()
|
||||
*/
|
||||
public Builder<T> deploy(Boolean deploy) {
|
||||
super.deploy(deploy);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see VAppCreationParamsType#getPowerOn()
|
||||
*/
|
||||
public Builder<T> powerOn(Boolean powerOn) {
|
||||
super.powerOn(powerOn);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
|
|
|
@ -130,6 +130,22 @@ public class VAppCreationParamsType<T extends VAppCreationParamsType<T>>
|
|||
return vAppCreationParams;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see ParamsType#getDescription()
|
||||
*/
|
||||
public Builder<T> description(String description) {
|
||||
super.description(description);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see ParamsType#getName()
|
||||
*/
|
||||
public Builder<T> name(String name) {
|
||||
super.name(name);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue