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

com.pulumi.azurenative.maintenance.outputs.GetConfigurationAssignmentsForResourceGroupResult Maven / Gradle / Ivy

There is a newer version: 2.72.0
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.azurenative.maintenance.outputs;

import com.pulumi.azurenative.maintenance.outputs.ConfigurationAssignmentFilterPropertiesResponse;
import com.pulumi.azurenative.maintenance.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetConfigurationAssignmentsForResourceGroupResult {
    /**
     * @return Properties of the configuration assignment
     * 
     */
    private @Nullable ConfigurationAssignmentFilterPropertiesResponse filter;
    /**
     * @return Fully qualified identifier of the resource
     * 
     */
    private String id;
    /**
     * @return Location of the resource
     * 
     */
    private @Nullable String location;
    /**
     * @return The maintenance configuration Id
     * 
     */
    private @Nullable String maintenanceConfigurationId;
    /**
     * @return Name of the resource
     * 
     */
    private String name;
    /**
     * @return The unique resourceId
     * 
     */
    private @Nullable String resourceId;
    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return Type of the resource
     * 
     */
    private String type;

    private GetConfigurationAssignmentsForResourceGroupResult() {}
    /**
     * @return Properties of the configuration assignment
     * 
     */
    public Optional filter() {
        return Optional.ofNullable(this.filter);
    }
    /**
     * @return Fully qualified identifier of the resource
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Location of the resource
     * 
     */
    public Optional location() {
        return Optional.ofNullable(this.location);
    }
    /**
     * @return The maintenance configuration Id
     * 
     */
    public Optional maintenanceConfigurationId() {
        return Optional.ofNullable(this.maintenanceConfigurationId);
    }
    /**
     * @return Name of the resource
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The unique resourceId
     * 
     */
    public Optional resourceId() {
        return Optional.ofNullable(this.resourceId);
    }
    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return Type of the resource
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetConfigurationAssignmentsForResourceGroupResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable ConfigurationAssignmentFilterPropertiesResponse filter;
        private String id;
        private @Nullable String location;
        private @Nullable String maintenanceConfigurationId;
        private String name;
        private @Nullable String resourceId;
        private SystemDataResponse systemData;
        private String type;
        public Builder() {}
        public Builder(GetConfigurationAssignmentsForResourceGroupResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.filter = defaults.filter;
    	      this.id = defaults.id;
    	      this.location = defaults.location;
    	      this.maintenanceConfigurationId = defaults.maintenanceConfigurationId;
    	      this.name = defaults.name;
    	      this.resourceId = defaults.resourceId;
    	      this.systemData = defaults.systemData;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder filter(@Nullable ConfigurationAssignmentFilterPropertiesResponse filter) {

            this.filter = filter;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetConfigurationAssignmentsForResourceGroupResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder location(@Nullable String location) {

            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder maintenanceConfigurationId(@Nullable String maintenanceConfigurationId) {

            this.maintenanceConfigurationId = maintenanceConfigurationId;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetConfigurationAssignmentsForResourceGroupResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder resourceId(@Nullable String resourceId) {

            this.resourceId = resourceId;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetConfigurationAssignmentsForResourceGroupResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetConfigurationAssignmentsForResourceGroupResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetConfigurationAssignmentsForResourceGroupResult build() {
            final var _resultValue = new GetConfigurationAssignmentsForResourceGroupResult();
            _resultValue.filter = filter;
            _resultValue.id = id;
            _resultValue.location = location;
            _resultValue.maintenanceConfigurationId = maintenanceConfigurationId;
            _resultValue.name = name;
            _resultValue.resourceId = resourceId;
            _resultValue.systemData = systemData;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy