Package com.ibm.cloud.is.vpc.v1.model
Class BareMetalServerInitializationUserAccount
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.BareMetalServerInitializationUserAccount
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
- Direct Known Subclasses:
BareMetalServerInitializationUserAccountBareMetalServerInitializationHostUserAccount
public class BareMetalServerInitializationUserAccount extends com.ibm.cloud.sdk.core.service.model.GenericModel
BareMetalServerInitializationUserAccount. Classes which extend this class: - BareMetalServerInitializationUserAccountBareMetalServerInitializationHostUserAccount
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
BareMetalServerInitializationUserAccount.ResourceType
The resource type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getEncryptedPassword()
Gets the encryptedPassword.KeyReference
getEncryptionKey()
Gets the encryptionKey.String
getResourceType()
Gets the resourceType.String
getUsername()
Gets the username.
-
-
-
Method Detail
-
getEncryptedPassword
public byte[] getEncryptedPassword()
Gets the encryptedPassword. The password at initialization, encrypted using `encryption_key`, and returned base64-encoded.- Returns:
- the encryptedPassword
-
getEncryptionKey
public KeyReference getEncryptionKey()
Gets the encryptionKey. The public SSH key used to encrypt the password.- Returns:
- the encryptionKey
-
getResourceType
public String getResourceType()
Gets the resourceType. The resource type.- Returns:
- the resourceType
-
getUsername
public String getUsername()
Gets the username. The username for the account created at initialization.- Returns:
- the username
-
-