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

com.pulumi.azurenative.testbase.outputs.GetActionRequestResult 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.testbase.outputs;

import com.pulumi.azurenative.testbase.outputs.PreReleaseAccessRequestSpecResponse;
import com.pulumi.azurenative.testbase.outputs.SystemDataResponse;
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 GetActionRequestResult {
    private String creationDate;
    /**
     * @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
     * 
     */
    private String id;
    /**
     * @return The name of the resource
     * 
     */
    private String name;
    private @Nullable PreReleaseAccessRequestSpecResponse preReleaseAccessRequestSpec;
    /**
     * @return The provisioning state of the resource.
     * 
     */
    private String provisioningState;
    private String requestType;
    private String status;
    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    private String type;

    private GetActionRequestResult() {}
    public String creationDate() {
        return this.creationDate;
    }
    /**
     * @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The name of the resource
     * 
     */
    public String name() {
        return this.name;
    }
    public Optional preReleaseAccessRequestSpec() {
        return Optional.ofNullable(this.preReleaseAccessRequestSpec);
    }
    /**
     * @return The provisioning state of the resource.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    public String requestType() {
        return this.requestType;
    }
    public String status() {
        return this.status;
    }
    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetActionRequestResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String creationDate;
        private String id;
        private String name;
        private @Nullable PreReleaseAccessRequestSpecResponse preReleaseAccessRequestSpec;
        private String provisioningState;
        private String requestType;
        private String status;
        private SystemDataResponse systemData;
        private String type;
        public Builder() {}
        public Builder(GetActionRequestResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.creationDate = defaults.creationDate;
    	      this.id = defaults.id;
    	      this.name = defaults.name;
    	      this.preReleaseAccessRequestSpec = defaults.preReleaseAccessRequestSpec;
    	      this.provisioningState = defaults.provisioningState;
    	      this.requestType = defaults.requestType;
    	      this.status = defaults.status;
    	      this.systemData = defaults.systemData;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder creationDate(String creationDate) {
            if (creationDate == null) {
              throw new MissingRequiredPropertyException("GetActionRequestResult", "creationDate");
            }
            this.creationDate = creationDate;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetActionRequestResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetActionRequestResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder preReleaseAccessRequestSpec(@Nullable PreReleaseAccessRequestSpecResponse preReleaseAccessRequestSpec) {

            this.preReleaseAccessRequestSpec = preReleaseAccessRequestSpec;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetActionRequestResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder requestType(String requestType) {
            if (requestType == null) {
              throw new MissingRequiredPropertyException("GetActionRequestResult", "requestType");
            }
            this.requestType = requestType;
            return this;
        }
        @CustomType.Setter
        public Builder status(String status) {
            if (status == null) {
              throw new MissingRequiredPropertyException("GetActionRequestResult", "status");
            }
            this.status = status;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetActionRequestResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetActionRequestResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetActionRequestResult build() {
            final var _resultValue = new GetActionRequestResult();
            _resultValue.creationDate = creationDate;
            _resultValue.id = id;
            _resultValue.name = name;
            _resultValue.preReleaseAccessRequestSpec = preReleaseAccessRequestSpec;
            _resultValue.provisioningState = provisioningState;
            _resultValue.requestType = requestType;
            _resultValue.status = status;
            _resultValue.systemData = systemData;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy