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

com.pulumi.azurenative.awsconnector.outputs.ModifyingPropertiesResponse Maven / Gradle / Ivy

// *** 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.awsconnector.outputs;

import com.pulumi.azurenative.awsconnector.outputs.PropertyValueTypeEnumValueResponse;
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 ModifyingPropertiesResponse {
    /**
     * @return <p>The current value of the domain property that is being modified.</p>
     * 
     */
    private @Nullable String activeValue;
    /**
     * @return <p>The name of the property that is currently being modified.</p>
     * 
     */
    private @Nullable String name;
    /**
     * @return <p>The value that the property that is currently being modified will eventually have.</p>
     * 
     */
    private @Nullable String pendingValue;
    /**
     * @return <p>The type of value that is currently being modified. Properties can have two types:</p> <ul> <li> <p> <code>PLAIN_TEXT</code>: Contain direct values such as '1', 'True', or 'c5.large.search'.</p> </li> <li> <p> <code>STRINGIFIED_JSON</code>: Contain content in JSON format, such as {'Enabled':'True'}'.</p> </li> </ul>
     * 
     */
    private @Nullable PropertyValueTypeEnumValueResponse valueType;

    private ModifyingPropertiesResponse() {}
    /**
     * @return <p>The current value of the domain property that is being modified.</p>
     * 
     */
    public Optional activeValue() {
        return Optional.ofNullable(this.activeValue);
    }
    /**
     * @return <p>The name of the property that is currently being modified.</p>
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }
    /**
     * @return <p>The value that the property that is currently being modified will eventually have.</p>
     * 
     */
    public Optional pendingValue() {
        return Optional.ofNullable(this.pendingValue);
    }
    /**
     * @return <p>The type of value that is currently being modified. Properties can have two types:</p> <ul> <li> <p> <code>PLAIN_TEXT</code>: Contain direct values such as '1', 'True', or 'c5.large.search'.</p> </li> <li> <p> <code>STRINGIFIED_JSON</code>: Contain content in JSON format, such as {'Enabled':'True'}'.</p> </li> </ul>
     * 
     */
    public Optional valueType() {
        return Optional.ofNullable(this.valueType);
    }

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

    public static Builder builder(ModifyingPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String activeValue;
        private @Nullable String name;
        private @Nullable String pendingValue;
        private @Nullable PropertyValueTypeEnumValueResponse valueType;
        public Builder() {}
        public Builder(ModifyingPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.activeValue = defaults.activeValue;
    	      this.name = defaults.name;
    	      this.pendingValue = defaults.pendingValue;
    	      this.valueType = defaults.valueType;
        }

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

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

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

            this.pendingValue = pendingValue;
            return this;
        }
        @CustomType.Setter
        public Builder valueType(@Nullable PropertyValueTypeEnumValueResponse valueType) {

            this.valueType = valueType;
            return this;
        }
        public ModifyingPropertiesResponse build() {
            final var _resultValue = new ModifyingPropertiesResponse();
            _resultValue.activeValue = activeValue;
            _resultValue.name = name;
            _resultValue.pendingValue = pendingValue;
            _resultValue.valueType = valueType;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy