com.nutanix.dp1.sec.security.v4.config.PublicKey Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of security-java-client Show documentation
Show all versions of security-java-client Show documentation
Manage security features, such as encryption, certificates, or platform hardening.
The newest version!
/*
* Generated file ..
*
* Product version: 4.0.1-beta-1
*
* Part of the Nutanix Security APIs
*
* (c) 2024 Nutanix Inc. All rights reserved
*
*/
package com.nutanix.dp1.sec.security.v4.config;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.AccessLevel;
import com.nutanix.devplatform.models.PrettyModeViews.*;
import com.fasterxml.jackson.annotation.JsonView;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.stream.Collectors;
import com.nutanix.dp1.sec.deserializers.SecObjectTypeTypedObject;
import javax.validation.constraints.*;
import java.util.List;
import static com.nutanix.dp1.sec.deserializers.SecDeserializerUtils.*;
/**
* Display model to encapsulate cluster public key information.
*/
@EqualsAndHashCode(callSuper=true)
@Data
@lombok.extern.slf4j.Slf4j
public class PublicKey extends com.nutanix.dp1.sec.common.v1.response.ExternalizableAbstractModel implements java.io.Serializable, SecObjectTypeTypedObject {
public PublicKey() {
super();
}
@lombok.Builder(builderMethodName = "PublicKeyBuilder")
public PublicKey(String tenantId, String extId, java.util.List links, String name, String key, String clusterExtId) {
super(tenantId, extId, links);
this.setName(name);
this.setKey(key);
this.setClusterExtId(clusterExtId);
}
@Override
protected String initialize$objectType() {
return "security.v4.config.PublicKey";
}
@Override
protected String initialize$fv() {
return "v4.r0.b1";
}
/**
* The name of public key.
*/
@javax.validation.constraints.Size(min = 3, max = 20)
@JsonProperty("name")
public String name = null;
/**
* The ssh key string information.
*/
@JsonProperty("key")
public String key = null;
/**
* UUID for the cluster.
*/
@javax.validation.constraints.Pattern(regexp="^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$")
@JsonProperty("clusterExtId")
public String clusterExtId = null;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy