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

com.pulumi.azurenative.insights.outputs.GetDataCollectionRuleAssociationResult 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.insights.outputs;

import com.pulumi.azurenative.insights.outputs.DataCollectionRuleAssociationProxyOnlyResourceResponseSystemData;
import com.pulumi.azurenative.insights.outputs.DataCollectionRuleAssociationResponseMetadata;
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 GetDataCollectionRuleAssociationResult {
    /**
     * @return The resource ID of the data collection endpoint that is to be associated.
     * 
     */
    private @Nullable String dataCollectionEndpointId;
    /**
     * @return The resource ID of the data collection rule that is to be associated.
     * 
     */
    private @Nullable String dataCollectionRuleId;
    /**
     * @return Description of the association.
     * 
     */
    private @Nullable String description;
    /**
     * @return Resource entity tag (ETag).
     * 
     */
    private String etag;
    /**
     * @return Fully qualified ID of the resource.
     * 
     */
    private String id;
    /**
     * @return Metadata about the resource
     * 
     */
    private DataCollectionRuleAssociationResponseMetadata metadata;
    /**
     * @return The name of the resource.
     * 
     */
    private String name;
    /**
     * @return The resource provisioning state.
     * 
     */
    private String provisioningState;
    /**
     * @return Metadata pertaining to creation and last modification of the resource.
     * 
     */
    private DataCollectionRuleAssociationProxyOnlyResourceResponseSystemData systemData;
    /**
     * @return The type of the resource.
     * 
     */
    private String type;

    private GetDataCollectionRuleAssociationResult() {}
    /**
     * @return The resource ID of the data collection endpoint that is to be associated.
     * 
     */
    public Optional dataCollectionEndpointId() {
        return Optional.ofNullable(this.dataCollectionEndpointId);
    }
    /**
     * @return The resource ID of the data collection rule that is to be associated.
     * 
     */
    public Optional dataCollectionRuleId() {
        return Optional.ofNullable(this.dataCollectionRuleId);
    }
    /**
     * @return Description of the association.
     * 
     */
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @return Resource entity tag (ETag).
     * 
     */
    public String etag() {
        return this.etag;
    }
    /**
     * @return Fully qualified ID of the resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Metadata about the resource
     * 
     */
    public DataCollectionRuleAssociationResponseMetadata metadata() {
        return this.metadata;
    }
    /**
     * @return The name of the resource.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The resource provisioning state.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return Metadata pertaining to creation and last modification of the resource.
     * 
     */
    public DataCollectionRuleAssociationProxyOnlyResourceResponseSystemData systemData() {
        return this.systemData;
    }
    /**
     * @return The type of the resource.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetDataCollectionRuleAssociationResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String dataCollectionEndpointId;
        private @Nullable String dataCollectionRuleId;
        private @Nullable String description;
        private String etag;
        private String id;
        private DataCollectionRuleAssociationResponseMetadata metadata;
        private String name;
        private String provisioningState;
        private DataCollectionRuleAssociationProxyOnlyResourceResponseSystemData systemData;
        private String type;
        public Builder() {}
        public Builder(GetDataCollectionRuleAssociationResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.dataCollectionEndpointId = defaults.dataCollectionEndpointId;
    	      this.dataCollectionRuleId = defaults.dataCollectionRuleId;
    	      this.description = defaults.description;
    	      this.etag = defaults.etag;
    	      this.id = defaults.id;
    	      this.metadata = defaults.metadata;
    	      this.name = defaults.name;
    	      this.provisioningState = defaults.provisioningState;
    	      this.systemData = defaults.systemData;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder dataCollectionEndpointId(@Nullable String dataCollectionEndpointId) {

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

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

            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder etag(String etag) {
            if (etag == null) {
              throw new MissingRequiredPropertyException("GetDataCollectionRuleAssociationResult", "etag");
            }
            this.etag = etag;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetDataCollectionRuleAssociationResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder metadata(DataCollectionRuleAssociationResponseMetadata metadata) {
            if (metadata == null) {
              throw new MissingRequiredPropertyException("GetDataCollectionRuleAssociationResult", "metadata");
            }
            this.metadata = metadata;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetDataCollectionRuleAssociationResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetDataCollectionRuleAssociationResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(DataCollectionRuleAssociationProxyOnlyResourceResponseSystemData systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetDataCollectionRuleAssociationResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetDataCollectionRuleAssociationResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetDataCollectionRuleAssociationResult build() {
            final var _resultValue = new GetDataCollectionRuleAssociationResult();
            _resultValue.dataCollectionEndpointId = dataCollectionEndpointId;
            _resultValue.dataCollectionRuleId = dataCollectionRuleId;
            _resultValue.description = description;
            _resultValue.etag = etag;
            _resultValue.id = id;
            _resultValue.metadata = metadata;
            _resultValue.name = name;
            _resultValue.provisioningState = provisioningState;
            _resultValue.systemData = systemData;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy