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

com.pulumi.azurenative.storsimple.outputs.GetManagerResult 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.storsimple.outputs;

import com.pulumi.azurenative.storsimple.outputs.ManagerIntrinsicSettingsResponse;
import com.pulumi.azurenative.storsimple.outputs.ManagerSkuResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetManagerResult {
    /**
     * @return Represents the type of StorSimple Manager.
     * 
     */
    private @Nullable ManagerIntrinsicSettingsResponse cisIntrinsicSettings;
    /**
     * @return The etag of the manager.
     * 
     */
    private @Nullable String etag;
    /**
     * @return The resource ID.
     * 
     */
    private String id;
    /**
     * @return The geo location of the resource.
     * 
     */
    private String location;
    /**
     * @return The resource name.
     * 
     */
    private String name;
    /**
     * @return Specifies the state of the resource as it is getting provisioned. Value of "Succeeded" means the Manager was successfully created.
     * 
     */
    private @Nullable String provisioningState;
    /**
     * @return Specifies the Sku.
     * 
     */
    private @Nullable ManagerSkuResponse sku;
    /**
     * @return The tags attached to the resource.
     * 
     */
    private @Nullable Map tags;
    /**
     * @return The resource type.
     * 
     */
    private String type;

    private GetManagerResult() {}
    /**
     * @return Represents the type of StorSimple Manager.
     * 
     */
    public Optional cisIntrinsicSettings() {
        return Optional.ofNullable(this.cisIntrinsicSettings);
    }
    /**
     * @return The etag of the manager.
     * 
     */
    public Optional etag() {
        return Optional.ofNullable(this.etag);
    }
    /**
     * @return The resource ID.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The geo location of the resource.
     * 
     */
    public String location() {
        return this.location;
    }
    /**
     * @return The resource name.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Specifies the state of the resource as it is getting provisioned. Value of "Succeeded" means the Manager was successfully created.
     * 
     */
    public Optional provisioningState() {
        return Optional.ofNullable(this.provisioningState);
    }
    /**
     * @return Specifies the Sku.
     * 
     */
    public Optional sku() {
        return Optional.ofNullable(this.sku);
    }
    /**
     * @return The tags attached to the resource.
     * 
     */
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }
    /**
     * @return The resource type.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetManagerResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable ManagerIntrinsicSettingsResponse cisIntrinsicSettings;
        private @Nullable String etag;
        private String id;
        private String location;
        private String name;
        private @Nullable String provisioningState;
        private @Nullable ManagerSkuResponse sku;
        private @Nullable Map tags;
        private String type;
        public Builder() {}
        public Builder(GetManagerResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.cisIntrinsicSettings = defaults.cisIntrinsicSettings;
    	      this.etag = defaults.etag;
    	      this.id = defaults.id;
    	      this.location = defaults.location;
    	      this.name = defaults.name;
    	      this.provisioningState = defaults.provisioningState;
    	      this.sku = defaults.sku;
    	      this.tags = defaults.tags;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder cisIntrinsicSettings(@Nullable ManagerIntrinsicSettingsResponse cisIntrinsicSettings) {

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

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

            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder sku(@Nullable ManagerSkuResponse sku) {

            this.sku = sku;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetManagerResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetManagerResult build() {
            final var _resultValue = new GetManagerResult();
            _resultValue.cisIntrinsicSettings = cisIntrinsicSettings;
            _resultValue.etag = etag;
            _resultValue.id = id;
            _resultValue.location = location;
            _resultValue.name = name;
            _resultValue.provisioningState = provisioningState;
            _resultValue.sku = sku;
            _resultValue.tags = tags;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy