/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.batch.protocol.models;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Response to a ComputeNodeOperation.GetRemoteLoginSettings request.
*/
public class ComputeNodeGetRemoteLoginSettingsResult {
/**
* The IP address used for remote login to the compute node.
*/
@JsonProperty(required = true)
private String remoteLoginIPAddress;
/**
* The port used for remote login to the compute node.
*/
@JsonProperty(required = true)
private int remoteLoginPort;
/**
* Get the remoteLoginIPAddress value.
*
* @return the remoteLoginIPAddress value
*/
public String remoteLoginIPAddress() {
return this.remoteLoginIPAddress;
}
/**
* Set the remoteLoginIPAddress value.
*
* @param remoteLoginIPAddress the remoteLoginIPAddress value to set
* @return the ComputeNodeGetRemoteLoginSettingsResult object itself.
*/
public ComputeNodeGetRemoteLoginSettingsResult withRemoteLoginIPAddress(String remoteLoginIPAddress) {
this.remoteLoginIPAddress = remoteLoginIPAddress;
return this;
}
/**
* Get the remoteLoginPort value.
*
* @return the remoteLoginPort value
*/
public int remoteLoginPort() {
return this.remoteLoginPort;
}
/**
* Set the remoteLoginPort value.
*
* @param remoteLoginPort the remoteLoginPort value to set
* @return the ComputeNodeGetRemoteLoginSettingsResult object itself.
*/
public ComputeNodeGetRemoteLoginSettingsResult withRemoteLoginPort(int remoteLoginPort) {
this.remoteLoginPort = remoteLoginPort;
return this;
}
}