com.pulumi.ise.networkaccess.PolicySetUpdateRankArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ise Show documentation
Show all versions of ise Show documentation
A Pulumi package for managing resources on a Cisco ISE (Identity Service Engine) instance.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.ise.networkaccess;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
public final class PolicySetUpdateRankArgs extends com.pulumi.resources.ResourceArgs {
public static final PolicySetUpdateRankArgs Empty = new PolicySetUpdateRankArgs();
/**
* Policy set ID
*
*/
@Import(name="policySetId", required=true)
private Output policySetId;
/**
* @return Policy set ID
*
*/
public Output policySetId() {
return this.policySetId;
}
/**
* The rank (priority) in relation to other rules. Lower rank is higher priority.
*
*/
@Import(name="rank", required=true)
private Output rank;
/**
* @return The rank (priority) in relation to other rules. Lower rank is higher priority.
*
*/
public Output rank() {
return this.rank;
}
private PolicySetUpdateRankArgs() {}
private PolicySetUpdateRankArgs(PolicySetUpdateRankArgs $) {
this.policySetId = $.policySetId;
this.rank = $.rank;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PolicySetUpdateRankArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private PolicySetUpdateRankArgs $;
public Builder() {
$ = new PolicySetUpdateRankArgs();
}
public Builder(PolicySetUpdateRankArgs defaults) {
$ = new PolicySetUpdateRankArgs(Objects.requireNonNull(defaults));
}
/**
* @param policySetId Policy set ID
*
* @return builder
*
*/
public Builder policySetId(Output policySetId) {
$.policySetId = policySetId;
return this;
}
/**
* @param policySetId Policy set ID
*
* @return builder
*
*/
public Builder policySetId(String policySetId) {
return policySetId(Output.of(policySetId));
}
/**
* @param rank The rank (priority) in relation to other rules. Lower rank is higher priority.
*
* @return builder
*
*/
public Builder rank(Output rank) {
$.rank = rank;
return this;
}
/**
* @param rank The rank (priority) in relation to other rules. Lower rank is higher priority.
*
* @return builder
*
*/
public Builder rank(Integer rank) {
return rank(Output.of(rank));
}
public PolicySetUpdateRankArgs build() {
if ($.policySetId == null) {
throw new MissingRequiredPropertyException("PolicySetUpdateRankArgs", "policySetId");
}
if ($.rank == null) {
throw new MissingRequiredPropertyException("PolicySetUpdateRankArgs", "rank");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy