com.nutanix.dp1.mic.microseg.v4.config.DirectoryServerConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of microseg-java-client Show documentation
Show all versions of microseg-java-client Show documentation
Manage Network Security Policy configuration of Nutanix clusters.
The newest version!
/*
* Generated file ..
*
* Product version: 4.0.1-beta-1
*
* Part of the Nutanix Microseg Versioned APIs
*
* (c) 2024 Nutanix Inc. All rights reserved
*
*/
package com.nutanix.dp1.mic.microseg.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.mic.deserializers.MicObjectTypeTypedObject;
import javax.validation.constraints.*;
import java.util.ArrayList;
import java.util.List;
import static com.nutanix.dp1.mic.deserializers.MicDeserializerUtils.*;
@EqualsAndHashCode(callSuper=true)
@Data
@lombok.extern.slf4j.Slf4j
public class DirectoryServerConfig extends com.nutanix.dp1.mic.common.v1.response.ExternalizableAbstractModel implements java.io.Serializable, MicObjectTypeTypedObject {
public DirectoryServerConfig() {
super();
}
@lombok.Builder(builderMethodName = "DirectoryServerConfigBuilder")
public DirectoryServerConfig(String tenantId, String extId, java.util.List links, Boolean isDefaultCategoryEnabled, Boolean shouldKeepDefaultCategoryOnLogin, java.util.List matchingCriterias, String directoryServiceReference, java.util.List domainControllers) {
super(tenantId, extId, links);
this.setIsDefaultCategoryEnabled(isDefaultCategoryEnabled);
this.setShouldKeepDefaultCategoryOnLogin(shouldKeepDefaultCategoryOnLogin);
this.setMatchingCriterias(matchingCriterias);
this.setDirectoryServiceReference(directoryServiceReference);
this.setDomainControllers(domainControllers);
}
@Override
protected String initialize$objectType() {
return "microseg.v4.config.DirectoryServerConfig";
}
@Override
protected String initialize$fv() {
return "v4.r0.b1";
}
/**
* Enablement status of the default category.
*/
@JsonProperty("isDefaultCategoryEnabled")
public Boolean isDefaultCategoryEnabled = null;
/**
* Retain default category on user login.
*/
@JsonProperty("shouldKeepDefaultCategoryOnLogin")
public Boolean shouldKeepDefaultCategoryOnLogin = null;
/**
* The matching criteria used to determine whether an entity will be categorized by identity categorization. If match type is ALL, all the entities will be categorized.
*/
@javax.validation.constraints.Size(min = 1, max = 100)
@JsonProperty("matchingCriterias")
public List matchingCriterias = null;
/**
* The ExtID of the directory service that will be used for mapping.
*/
@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("directoryServiceReference")
public String directoryServiceReference = null;
/**
* List of domain controllers to be used for event scraping.
*/
@javax.validation.constraints.Size(min = 1, max = 100)
@JsonProperty("domainControllers")
public List domainControllers = null;
}