public class EdgeGatewaySSHSettingsUpdateRequest extends Object implements Serializable
Constructor and Description |
---|
EdgeGatewaySSHSettingsUpdateRequest(boolean remoteAccess,
String userName,
String password,
String sshLoginBanner,
int passwordExpiry)
Instantiates a new edge gateway ssh settings update request.
|
Modifier and Type | Method and Description |
---|---|
String |
getPassword()
Gets password.
|
int |
getPasswordExpiry()
Gets passwordExpiry.
|
String |
getSshLoginBanner()
Gets sshLoginBanner.
|
String |
getUserName()
Gets userName.
|
boolean |
isRemoteAccess()
Gets remoteAccess.
|
public EdgeGatewaySSHSettingsUpdateRequest(boolean remoteAccess, String userName, String password, String sshLoginBanner, int passwordExpiry)
remoteAccess
- the remote accessuserName
- the user namepassword
- the passwordsshLoginBanner
- the ssh login banner textpasswordExpiry
- the password expirypublic boolean isRemoteAccess()
Whether or not the SSH Settings remote access is enabled. If not defined, remote access is set to false.
public String getUserName()
The user name for the SSH Settings. Username must start with alphabet and must contain only lowercase characters and numbers.
String
the userNamepublic String getPassword()
The password for the SSH Settings. Password length must be at-least 12 characters and at-max 255 characters. It must contain mix of alphabets with both upper case and lower case, numbers and at-least one special character. Password must not contain username as substring. Character must not consecutively repeat 3 or more times
String
the passwordpublic String getSshLoginBanner()
The login banner of the SSH Settings
String
the sshLoginBannerTextpublic int getPasswordExpiry()
The number of days before the SSH Settings password expires. Password expiry should be between 1 and 99999
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.