com.emc.storageos.model.smis.StorageProviderUpdateParam Maven / Gradle / Ivy
/*
* Copyright (c) 2015 EMC Corporation
* All Rights Reserved
*/
package com.emc.storageos.model.smis;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import com.emc.storageos.model.valid.Length;
@XmlRootElement(name = "storage_provider_update")
public class StorageProviderUpdateParam {
private String name;
private String ipAddress;
private Integer portNumber;
private String userName;
private String password;
private Boolean useSSL;
private String interfaceType;
private String secondaryUsername;
private String secondaryPassword;
private String elementManagerURL;
public StorageProviderUpdateParam() {
}
public StorageProviderUpdateParam(String name, String ipAddress,
Integer portNumber, String userName, String password, Boolean useSSL, String interfaceType) {
this.name = name;
this.ipAddress = ipAddress;
this.portNumber = portNumber;
this.userName = userName;
this.password = password;
this.useSSL = useSSL;
this.interfaceType = interfaceType;
}
/**
* New mgmt Provider name
*/
@XmlElement
@Length(min = 2, max = 128)
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
/**
* New mgmt Provider IP address
*
* @valid example: 10.247.99.87
*/
@XmlElement(name = "ip_address")
public String getIpAddress() {
return ipAddress;
}
public void setIpAddress(String ipAddress) {
this.ipAddress = ipAddress;
}
/**
* New Provider port number
*
* @valid example: 5989
*/
@XmlElement(name = "port_number")
public Integer getPortNumber() {
return portNumber;
}
public void setPortNumber(Integer portNumber) {
this.portNumber = portNumber;
}
/**
* New Provider user name
*
* @valid none
*/
@XmlElement(name = "user_name")
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
/**
* New SMIS Provider password
*
* @valid none
*/
@XmlElement
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
/**
* Specifies whether to use SSL (Secure Sockets Layer)
* as the authentication method.
*
* @valid none
*/
@XmlElement(name = "use_ssl")
public Boolean getUseSSL() {
return useSSL;
}
public void setUseSSL(Boolean useSSL) {
this.useSSL = useSSL;
}
/**
* Interface type of the Storage Provider
*
* @valid example: hicommand,smis,vplex,cinder,scaleio,ddmc,ibmxiv
*/
@XmlElement(name = "interface_type")
public String getInterfaceType() {
return interfaceType;
}
public void setInterfaceType(String interfaceType) {
this.interfaceType = interfaceType;
}
/**
* Secondary credentials that may be required for management
*
* @valid none
*/
@XmlElement(required = false, name = "secondary_username")
public String getSecondaryUsername() {
return secondaryUsername;
}
/**
* Secondary credentials that may be required for management
*
* @valid none
*/
public void setSecondaryUsername(String secondaryUsername) {
this.secondaryUsername = secondaryUsername;
}
@XmlElement(required = false, name = "secondary_password")
public String getSecondaryPassword() {
return secondaryPassword;
}
public void setSecondaryPassword(String secondaryPassword) {
this.secondaryPassword = secondaryPassword;
}
/**
* URL of the Element Management system that is associated with the Provider.
*
* @valid none
*/
@XmlElement(required = false, name = "element_manager_url")
public String getElementManagerURL() {
return elementManagerURL;
}
public void setElementManagerURL(String elementManagerURL) {
this.elementManagerURL = elementManagerURL;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy