com.jdcloud.sdk.service.vm.model.Keypair Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vm Show documentation
Show all versions of vm Show documentation
JDCLOUD Open API SDK for Java
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*
*
*
*
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
package com.jdcloud.sdk.service.vm.model;
/**
* keypair
*/
public class Keypair implements java.io.Serializable {
private static final long serialVersionUID = 1L;
/**
* 密钥对名称
*/
private String keyName;
/**
* 密钥对的指纹,根据 RFC4716 定义的公钥指纹格式,采用 MD5 信息摘要算法。
*/
private String keyFingerprint;
/**
* 创建时间
*/
private String createTime;
/**
* get 密钥对名称
*
* @return
*/
public String getKeyName() {
return keyName;
}
/**
* set 密钥对名称
*
* @param keyName
*/
public void setKeyName(String keyName) {
this.keyName = keyName;
}
/**
* get 密钥对的指纹,根据 RFC4716 定义的公钥指纹格式,采用 MD5 信息摘要算法。
*
* @return
*/
public String getKeyFingerprint() {
return keyFingerprint;
}
/**
* set 密钥对的指纹,根据 RFC4716 定义的公钥指纹格式,采用 MD5 信息摘要算法。
*
* @param keyFingerprint
*/
public void setKeyFingerprint(String keyFingerprint) {
this.keyFingerprint = keyFingerprint;
}
/**
* get 创建时间
*
* @return
*/
public String getCreateTime() {
return createTime;
}
/**
* set 创建时间
*
* @param createTime
*/
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
/**
* set 密钥对名称
*
* @param keyName
*/
public Keypair keyName(String keyName) {
this.keyName = keyName;
return this;
}
/**
* set 密钥对的指纹,根据 RFC4716 定义的公钥指纹格式,采用 MD5 信息摘要算法。
*
* @param keyFingerprint
*/
public Keypair keyFingerprint(String keyFingerprint) {
this.keyFingerprint = keyFingerprint;
return this;
}
/**
* set 创建时间
*
* @param createTime
*/
public Keypair createTime(String createTime) {
this.createTime = createTime;
return this;
}
}