Class SSHUsersImpl
java.lang.Object
api.equinix.javasdk.networkedge.client.implementation.SSHUsersImpl
-
Constructor Summary
ConstructorsConstructorDescriptionSSHUsersImpl(SSHUserClient<SSHUser> serviceClient, NetworkEdge serviceManager) Constructor for SSHUsersImpl. -
Method Summary
Modifier and TypeMethodDescriptioncheckUsernameAvailability(String username) Returns true if the username is available, otherwise returns 400 bad request.Returns an instance of SSHUserBuilder for defining a new SSH User.Gets the specified SSH User.list()list.list(RequestBuilder.SSHUser requestBuilder) Lists SSH Users based on the parameters provided.
-
Constructor Details
-
SSHUsersImpl
Constructor for SSHUsersImpl.
- Parameters:
serviceClient- aSSHUserClientobject.serviceManager- aNetworkEdgeobject.
-
-
Method Details
-
list
list.
- Specified by:
listin interfaceSSHUsers- Returns:
- a
PaginatedListobject.
-
list
Lists SSH Users based on the parameters provided.list.
- Specified by:
listin interfaceSSHUsers- Parameters:
requestBuilder- the desired query parameters.- Returns:
PaginatedList
-
getByUuid
-
define
Returns an instance of SSHUserBuilder for defining a new SSH User.- Specified by:
definein interfaceSSHUsers- Parameters:
username- the username for the new SSH User.password- the password for the new SSH User.deviceUuid- the unique identifier of the device to add the SSH User to.- Returns:
SSHUserOperator.SSHUserBuilder
-
checkUsernameAvailability
Returns true if the username is available, otherwise returns 400 bad request.- Specified by:
checkUsernameAvailabilityin interfaceSSHUsers- Parameters:
username- the username to check the availability of.- Returns:
Boolean
-