Package org.jclouds.softlayer.domain
Class OperatingSystem.Builder
- java.lang.Object
-
- org.jclouds.softlayer.domain.OperatingSystem.Builder
-
- Enclosing class:
- OperatingSystem
public static class OperatingSystem.Builder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected String
id
protected String
operatingSystemReferenceCode
protected Set<Password>
passwords
protected SoftwareLicense
softwareLicense
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperatingSystem
build()
OperatingSystem.Builder
fromOperatingSystem(OperatingSystem in)
OperatingSystem.Builder
id(String id)
OperatingSystem.Builder
operatingSystemReferenceCode(String operatingSystemReferenceCode)
OperatingSystem.Builder
passwords(Set<Password> passwords)
OperatingSystem.Builder
passwords(Password... in)
OperatingSystem.Builder
softwareLicense(SoftwareLicense softwareLicense)
-
-
-
Field Detail
-
id
protected String id
-
softwareLicense
protected SoftwareLicense softwareLicense
-
operatingSystemReferenceCode
protected String operatingSystemReferenceCode
-
-
Method Detail
-
id
public OperatingSystem.Builder id(String id)
- See Also:
OperatingSystem.getId()
-
softwareLicense
public OperatingSystem.Builder softwareLicense(SoftwareLicense softwareLicense)
- See Also:
OperatingSystem.getSoftwareLicense()
-
operatingSystemReferenceCode
public OperatingSystem.Builder operatingSystemReferenceCode(String operatingSystemReferenceCode)
-
passwords
public OperatingSystem.Builder passwords(Set<Password> passwords)
- See Also:
OperatingSystem.getPasswords()
-
passwords
public OperatingSystem.Builder passwords(Password... in)
-
build
public OperatingSystem build()
-
fromOperatingSystem
public OperatingSystem.Builder fromOperatingSystem(OperatingSystem in)
-
-