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

com.pulumi.azurenative.media.outputs.TrackPropertyConditionResponse 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.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 TrackPropertyConditionResponse {
    /**
     * @return Track property condition operation
     * 
     */
    private String operation;
    /**
     * @return Track property type
     * 
     */
    private String property;
    /**
     * @return Track property value
     * 
     */
    private @Nullable String value;

    private TrackPropertyConditionResponse() {}
    /**
     * @return Track property condition operation
     * 
     */
    public String operation() {
        return this.operation;
    }
    /**
     * @return Track property type
     * 
     */
    public String property() {
        return this.property;
    }
    /**
     * @return Track property value
     * 
     */
    public Optional value() {
        return Optional.ofNullable(this.value);
    }

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

    public static Builder builder(TrackPropertyConditionResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String operation;
        private String property;
        private @Nullable String value;
        public Builder() {}
        public Builder(TrackPropertyConditionResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.operation = defaults.operation;
    	      this.property = defaults.property;
    	      this.value = defaults.value;
        }

        @CustomType.Setter
        public Builder operation(String operation) {
            if (operation == null) {
              throw new MissingRequiredPropertyException("TrackPropertyConditionResponse", "operation");
            }
            this.operation = operation;
            return this;
        }
        @CustomType.Setter
        public Builder property(String property) {
            if (property == null) {
              throw new MissingRequiredPropertyException("TrackPropertyConditionResponse", "property");
            }
            this.property = property;
            return this;
        }
        @CustomType.Setter
        public Builder value(@Nullable String value) {

            this.value = value;
            return this;
        }
        public TrackPropertyConditionResponse build() {
            final var _resultValue = new TrackPropertyConditionResponse();
            _resultValue.operation = operation;
            _resultValue.property = property;
            _resultValue.value = value;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy