com.nutanix.dp1.mic.microseg.v4.operation.PolicyPreview 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.operation;
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 PolicyPreview extends com.nutanix.dp1.mic.common.v1.response.ExternalizableAbstractModel implements java.io.Serializable, MicObjectTypeTypedObject {
public PolicyPreview() {
super();
}
@lombok.Builder(builderMethodName = "PolicyPreviewBuilder")
public PolicyPreview(String tenantId, String extId, java.util.List links, com.nutanix.dp1.mic.microseg.v4.config.NetworkSecurityPolicy newPolicySpec, java.util.List systemGeneratedPolicies) {
super(tenantId, extId, links);
this.setNewPolicySpec(newPolicySpec);
this.setSystemGeneratedPolicies(systemGeneratedPolicies);
}
@Override
protected String initialize$objectType() {
return "microseg.v4.operation.PolicyPreview";
}
@Override
protected String initialize$fv() {
return "v4.r0.b1";
}
/**
*
*/
@JsonProperty("newPolicySpec")
public com.nutanix.dp1.mic.microseg.v4.config.NetworkSecurityPolicy newPolicySpec = null;
/**
* This field corresponds to a list of policy specifications which captures the system generated FNS Next-Gen policies
as a result of a single FNS policy upgrade.
*/
@javax.validation.constraints.Size(min = 0, max = 9999)
@JsonProperty("systemGeneratedPolicies")
public List systemGeneratedPolicies = null;
}