All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.meraki.organizations.inputs.PolicyObjectsGroupsState Maven / Gradle / Ivy

There is a newer version: 0.4.0-alpha.1731736975
Show newest version
// *** 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.meraki.organizations.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class PolicyObjectsGroupsState extends com.pulumi.resources.ResourceArgs {

    public static final PolicyObjectsGroupsState Empty = new PolicyObjectsGroupsState();

    /**
     * Category of a policy object group (one of: NetworkObjectGroup, GeoLocationGroup, PortObjectGroup, ApplicationGroup)
     * 
     */
    @Import(name="category")
    private @Nullable Output category;

    /**
     * @return Category of a policy object group (one of: NetworkObjectGroup, GeoLocationGroup, PortObjectGroup, ApplicationGroup)
     * 
     */
    public Optional> category() {
        return Optional.ofNullable(this.category);
    }

    @Import(name="createdAt")
    private @Nullable Output createdAt;

    public Optional> createdAt() {
        return Optional.ofNullable(this.createdAt);
    }

    /**
     * A name for the group of network addresses, unique within the organization (alphanumeric, space, dash, or underscore characters only)
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return A name for the group of network addresses, unique within the organization (alphanumeric, space, dash, or underscore characters only)
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    @Import(name="networkIds")
    private @Nullable Output> networkIds;

    public Optional>> networkIds() {
        return Optional.ofNullable(this.networkIds);
    }

    /**
     * A list of Policy Object ID's that this NetworkObjectGroup should be associated to (note: these ID's will replace the existing associated Policy Objects)
     * 
     */
    @Import(name="objectIds")
    private @Nullable Output> objectIds;

    /**
     * @return A list of Policy Object ID's that this NetworkObjectGroup should be associated to (note: these ID's will replace the existing associated Policy Objects)
     * 
     */
    public Optional>> objectIds() {
        return Optional.ofNullable(this.objectIds);
    }

    /**
     * organizationId path parameter. Organization ID
     * 
     */
    @Import(name="organizationId")
    private @Nullable Output organizationId;

    /**
     * @return organizationId path parameter. Organization ID
     * 
     */
    public Optional> organizationId() {
        return Optional.ofNullable(this.organizationId);
    }

    /**
     * policyObjectGroupId path parameter. Policy object group ID
     * 
     */
    @Import(name="policyObjectGroupId")
    private @Nullable Output policyObjectGroupId;

    /**
     * @return policyObjectGroupId path parameter. Policy object group ID
     * 
     */
    public Optional> policyObjectGroupId() {
        return Optional.ofNullable(this.policyObjectGroupId);
    }

    @Import(name="updatedAt")
    private @Nullable Output updatedAt;

    public Optional> updatedAt() {
        return Optional.ofNullable(this.updatedAt);
    }

    private PolicyObjectsGroupsState() {}

    private PolicyObjectsGroupsState(PolicyObjectsGroupsState $) {
        this.category = $.category;
        this.createdAt = $.createdAt;
        this.name = $.name;
        this.networkIds = $.networkIds;
        this.objectIds = $.objectIds;
        this.organizationId = $.organizationId;
        this.policyObjectGroupId = $.policyObjectGroupId;
        this.updatedAt = $.updatedAt;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(PolicyObjectsGroupsState defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private PolicyObjectsGroupsState $;

        public Builder() {
            $ = new PolicyObjectsGroupsState();
        }

        public Builder(PolicyObjectsGroupsState defaults) {
            $ = new PolicyObjectsGroupsState(Objects.requireNonNull(defaults));
        }

        /**
         * @param category Category of a policy object group (one of: NetworkObjectGroup, GeoLocationGroup, PortObjectGroup, ApplicationGroup)
         * 
         * @return builder
         * 
         */
        public Builder category(@Nullable Output category) {
            $.category = category;
            return this;
        }

        /**
         * @param category Category of a policy object group (one of: NetworkObjectGroup, GeoLocationGroup, PortObjectGroup, ApplicationGroup)
         * 
         * @return builder
         * 
         */
        public Builder category(String category) {
            return category(Output.of(category));
        }

        public Builder createdAt(@Nullable Output createdAt) {
            $.createdAt = createdAt;
            return this;
        }

        public Builder createdAt(String createdAt) {
            return createdAt(Output.of(createdAt));
        }

        /**
         * @param name A name for the group of network addresses, unique within the organization (alphanumeric, space, dash, or underscore characters only)
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name A name for the group of network addresses, unique within the organization (alphanumeric, space, dash, or underscore characters only)
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public Builder networkIds(@Nullable Output> networkIds) {
            $.networkIds = networkIds;
            return this;
        }

        public Builder networkIds(List networkIds) {
            return networkIds(Output.of(networkIds));
        }

        public Builder networkIds(String... networkIds) {
            return networkIds(List.of(networkIds));
        }

        /**
         * @param objectIds A list of Policy Object ID's that this NetworkObjectGroup should be associated to (note: these ID's will replace the existing associated Policy Objects)
         * 
         * @return builder
         * 
         */
        public Builder objectIds(@Nullable Output> objectIds) {
            $.objectIds = objectIds;
            return this;
        }

        /**
         * @param objectIds A list of Policy Object ID's that this NetworkObjectGroup should be associated to (note: these ID's will replace the existing associated Policy Objects)
         * 
         * @return builder
         * 
         */
        public Builder objectIds(List objectIds) {
            return objectIds(Output.of(objectIds));
        }

        /**
         * @param objectIds A list of Policy Object ID's that this NetworkObjectGroup should be associated to (note: these ID's will replace the existing associated Policy Objects)
         * 
         * @return builder
         * 
         */
        public Builder objectIds(String... objectIds) {
            return objectIds(List.of(objectIds));
        }

        /**
         * @param organizationId organizationId path parameter. Organization ID
         * 
         * @return builder
         * 
         */
        public Builder organizationId(@Nullable Output organizationId) {
            $.organizationId = organizationId;
            return this;
        }

        /**
         * @param organizationId organizationId path parameter. Organization ID
         * 
         * @return builder
         * 
         */
        public Builder organizationId(String organizationId) {
            return organizationId(Output.of(organizationId));
        }

        /**
         * @param policyObjectGroupId policyObjectGroupId path parameter. Policy object group ID
         * 
         * @return builder
         * 
         */
        public Builder policyObjectGroupId(@Nullable Output policyObjectGroupId) {
            $.policyObjectGroupId = policyObjectGroupId;
            return this;
        }

        /**
         * @param policyObjectGroupId policyObjectGroupId path parameter. Policy object group ID
         * 
         * @return builder
         * 
         */
        public Builder policyObjectGroupId(String policyObjectGroupId) {
            return policyObjectGroupId(Output.of(policyObjectGroupId));
        }

        public Builder updatedAt(@Nullable Output updatedAt) {
            $.updatedAt = updatedAt;
            return this;
        }

        public Builder updatedAt(String updatedAt) {
            return updatedAt(Output.of(updatedAt));
        }

        public PolicyObjectsGroupsState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy