Package com.morpheusdata.request
Class ValidateCloudRequest
java.lang.Object
com.morpheusdata.request.ValidateCloudRequest
-
Field Summary
FieldsModifier and TypeFieldDescriptionFull credential data map.Set to the newly entered credential password, if credentialType is a stringThe type of credential being used.Set to the newly entered credential username, if credentialType is a stringAdditional options -
Constructor Summary
ConstructorsConstructorDescriptionValidateCloudRequest(String credentialUsername, String credentialPassword, String credentialType, Map opts) ValidateCloudRequest(Map credentialData, Map opts) -
Method Summary
Modifier and TypeMethodDescriptionReturns the credential password.Returns the credential username.
-
Field Details
-
credentialUsername
Set to the newly entered credential username, if credentialType is a string -
credentialPassword
Set to the newly entered credential password, if credentialType is a string -
credentialType
The type of credential being used. Set to 'local' if local credentials are used. Set to a number if a saved credential is being used. Set to a string representing the type of the new credential being created -
opts
Additional options -
credentialData
Full credential data map. Contains all fields for the credential type in use (e.g. username, password, authToken, authPath, authKey, etc.). UsegetCredentialUsername()andgetCredentialPassword()for common fields, or access this map directly for type-specific fields.
-
-
Constructor Details
-
ValidateCloudRequest
-
ValidateCloudRequest
-
-
Method Details
-
getCredentialUsername
Returns the credential username. Falls back tocredentialDataifcredentialUsernameis null. -
getCredentialPassword
Returns the credential password. Falls back tocredentialDataifcredentialPasswordis null.
-