com.softlayer.api.service.security.SecureTransportProtocol Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
The newest version!
package com.softlayer.api.service.security;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.security.SecureTransportCipher;
import java.util.ArrayList;
import java.util.List;
/**
* Protocol intended for use in secure communications
*
* @see SoftLayer_Security_SecureTransportProtocol
*/
@ApiType("SoftLayer_Security_SecureTransportProtocol")
public class SecureTransportProtocol extends Entity {
/**
* Unique identifier for the protocol
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String keyName;
public String getKeyName() {
return keyName;
}
public void setKeyName(String keyName) {
keyNameSpecified = true;
this.keyName = keyName;
}
protected boolean keyNameSpecified;
public boolean isKeyNameSpecified() {
return keyNameSpecified;
}
public void unsetKeyName() {
keyName = null;
keyNameSpecified = false;
}
/**
* List of the supported encryption ciphers
*/
@ApiProperty(canBeNullOrNotSet = true)
protected List supportedSecureTransportCiphers;
public List getSupportedSecureTransportCiphers() {
if (supportedSecureTransportCiphers == null) {
supportedSecureTransportCiphers = new ArrayList();
}
return supportedSecureTransportCiphers;
}
protected boolean supportedSecureTransportCiphersSpecified;
public boolean isSupportedSecureTransportCiphersSpecified() {
return supportedSecureTransportCiphersSpecified;
}
public void unsetSupportedSecureTransportCiphers() {
supportedSecureTransportCiphers = null;
supportedSecureTransportCiphersSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public Mask keyName() {
withLocalProperty("keyName");
return this;
}
public SecureTransportCipher.Mask supportedSecureTransportCiphers() {
return withSubMask("supportedSecureTransportCiphers", SecureTransportCipher.Mask.class);
}
}
}