All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.emc.storageos.model.vdc.VirtualDataCenterSecretKeyRestRep Maven / Gradle / Ivy

There is a newer version: 3.5.0.0
Show newest version
/*
 * Copyright (c) 2014 EMC Corporation
 * All Rights Reserved
 */
package com.emc.storageos.model.vdc;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * VDC secret key response rest representation
 */
@XmlRootElement(name = "virtual_data_center_secret_key")
@XmlAccessorType(XmlAccessType.PROPERTY)
public class VirtualDataCenterSecretKeyRestRep {
    private String encodedKey;

    public VirtualDataCenterSecretKeyRestRep() {
    }

    // Key must be base 64 encoded, UTF-8 string
    public void setSecretKey(String k) {
        encodedKey = k;
    }

    @XmlElement(name = "secret_key")
    public String getSecretKey() {
        return encodedKey;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy