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

com.pulumi.azurenative.media.outputs.EdgeUsageDataCollectionPolicyResponse 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.media.outputs;

import com.pulumi.azurenative.media.outputs.EdgeUsageDataEventHubResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class EdgeUsageDataCollectionPolicyResponse {
    /**
     * @return Usage data collection frequency in ISO 8601 duration format e.g. PT10M , PT5H.
     * 
     */
    private @Nullable String dataCollectionFrequency;
    /**
     * @return Usage data reporting frequency in ISO 8601 duration format e.g. PT10M , PT5H.
     * 
     */
    private @Nullable String dataReportingFrequency;
    /**
     * @return Details of Event Hub where the usage will be reported.
     * 
     */
    private @Nullable EdgeUsageDataEventHubResponse eventHubDetails;
    /**
     * @return Maximum time for which the functionality of the device will not be hampered for not reporting the usage data.
     * 
     */
    private @Nullable String maxAllowedUnreportedUsageDuration;

    private EdgeUsageDataCollectionPolicyResponse() {}
    /**
     * @return Usage data collection frequency in ISO 8601 duration format e.g. PT10M , PT5H.
     * 
     */
    public Optional dataCollectionFrequency() {
        return Optional.ofNullable(this.dataCollectionFrequency);
    }
    /**
     * @return Usage data reporting frequency in ISO 8601 duration format e.g. PT10M , PT5H.
     * 
     */
    public Optional dataReportingFrequency() {
        return Optional.ofNullable(this.dataReportingFrequency);
    }
    /**
     * @return Details of Event Hub where the usage will be reported.
     * 
     */
    public Optional eventHubDetails() {
        return Optional.ofNullable(this.eventHubDetails);
    }
    /**
     * @return Maximum time for which the functionality of the device will not be hampered for not reporting the usage data.
     * 
     */
    public Optional maxAllowedUnreportedUsageDuration() {
        return Optional.ofNullable(this.maxAllowedUnreportedUsageDuration);
    }

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

    public static Builder builder(EdgeUsageDataCollectionPolicyResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String dataCollectionFrequency;
        private @Nullable String dataReportingFrequency;
        private @Nullable EdgeUsageDataEventHubResponse eventHubDetails;
        private @Nullable String maxAllowedUnreportedUsageDuration;
        public Builder() {}
        public Builder(EdgeUsageDataCollectionPolicyResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.dataCollectionFrequency = defaults.dataCollectionFrequency;
    	      this.dataReportingFrequency = defaults.dataReportingFrequency;
    	      this.eventHubDetails = defaults.eventHubDetails;
    	      this.maxAllowedUnreportedUsageDuration = defaults.maxAllowedUnreportedUsageDuration;
        }

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

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

            this.dataReportingFrequency = dataReportingFrequency;
            return this;
        }
        @CustomType.Setter
        public Builder eventHubDetails(@Nullable EdgeUsageDataEventHubResponse eventHubDetails) {

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

            this.maxAllowedUnreportedUsageDuration = maxAllowedUnreportedUsageDuration;
            return this;
        }
        public EdgeUsageDataCollectionPolicyResponse build() {
            final var _resultValue = new EdgeUsageDataCollectionPolicyResponse();
            _resultValue.dataCollectionFrequency = dataCollectionFrequency;
            _resultValue.dataReportingFrequency = dataReportingFrequency;
            _resultValue.eventHubDetails = eventHubDetails;
            _resultValue.maxAllowedUnreportedUsageDuration = maxAllowedUnreportedUsageDuration;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy