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

com.pulumi.azurenative.solutions.outputs.GetApplicationResult Maven / Gradle / Ivy

There is a newer version: 2.78.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.solutions.outputs;

import com.pulumi.azurenative.solutions.outputs.ApplicationArtifactResponse;
import com.pulumi.azurenative.solutions.outputs.ApplicationAuthorizationResponse;
import com.pulumi.azurenative.solutions.outputs.ApplicationBillingDetailsDefinitionResponse;
import com.pulumi.azurenative.solutions.outputs.ApplicationClientDetailsResponse;
import com.pulumi.azurenative.solutions.outputs.ApplicationJitAccessPolicyResponse;
import com.pulumi.azurenative.solutions.outputs.ApplicationPackageContactResponse;
import com.pulumi.azurenative.solutions.outputs.ApplicationPackageSupportUrlsResponse;
import com.pulumi.azurenative.solutions.outputs.IdentityResponse;
import com.pulumi.azurenative.solutions.outputs.PlanResponse;
import com.pulumi.azurenative.solutions.outputs.SkuResponse;
import com.pulumi.azurenative.solutions.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Object;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetApplicationResult {
    /**
     * @return The fully qualified path of managed application definition Id.
     * 
     */
    private @Nullable String applicationDefinitionId;
    /**
     * @return The collection of managed application artifacts.
     * 
     */
    private List artifacts;
    /**
     * @return The  read-only authorizations property that is retrieved from the application package.
     * 
     */
    private List authorizations;
    /**
     * @return The managed application billing details.
     * 
     */
    private ApplicationBillingDetailsDefinitionResponse billingDetails;
    /**
     * @return The client entity that created the JIT request.
     * 
     */
    private ApplicationClientDetailsResponse createdBy;
    /**
     * @return The read-only customer support property that is retrieved from the application package.
     * 
     */
    private ApplicationPackageContactResponse customerSupport;
    /**
     * @return Resource ID
     * 
     */
    private String id;
    /**
     * @return The identity of the resource.
     * 
     */
    private @Nullable IdentityResponse identity;
    /**
     * @return The managed application Jit access policy.
     * 
     */
    private @Nullable ApplicationJitAccessPolicyResponse jitAccessPolicy;
    /**
     * @return The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog.
     * 
     */
    private String kind;
    /**
     * @return Resource location
     * 
     */
    private @Nullable String location;
    /**
     * @return ID of the resource that manages this resource.
     * 
     */
    private @Nullable String managedBy;
    /**
     * @return The managed resource group Id.
     * 
     */
    private @Nullable String managedResourceGroupId;
    /**
     * @return The managed application management mode.
     * 
     */
    private String managementMode;
    /**
     * @return Resource name
     * 
     */
    private String name;
    /**
     * @return Name and value pairs that define the managed application outputs.
     * 
     */
    private Object outputs;
    /**
     * @return Name and value pairs that define the managed application parameters. It can be a JObject or a well formed JSON string.
     * 
     */
    private @Nullable Object parameters;
    /**
     * @return The plan information.
     * 
     */
    private @Nullable PlanResponse plan;
    /**
     * @return The managed application provisioning state.
     * 
     */
    private String provisioningState;
    /**
     * @return The publisher tenant Id.
     * 
     */
    private String publisherTenantId;
    /**
     * @return The SKU of the resource.
     * 
     */
    private @Nullable SkuResponse sku;
    /**
     * @return The read-only support URLs property that is retrieved from the application package.
     * 
     */
    private ApplicationPackageSupportUrlsResponse supportUrls;
    /**
     * @return Metadata pertaining to creation and last modification of the resource.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return Resource tags
     * 
     */
    private @Nullable Map tags;
    /**
     * @return Resource type
     * 
     */
    private String type;
    /**
     * @return The client entity that last updated the JIT request.
     * 
     */
    private ApplicationClientDetailsResponse updatedBy;

    private GetApplicationResult() {}
    /**
     * @return The fully qualified path of managed application definition Id.
     * 
     */
    public Optional applicationDefinitionId() {
        return Optional.ofNullable(this.applicationDefinitionId);
    }
    /**
     * @return The collection of managed application artifacts.
     * 
     */
    public List artifacts() {
        return this.artifacts;
    }
    /**
     * @return The  read-only authorizations property that is retrieved from the application package.
     * 
     */
    public List authorizations() {
        return this.authorizations;
    }
    /**
     * @return The managed application billing details.
     * 
     */
    public ApplicationBillingDetailsDefinitionResponse billingDetails() {
        return this.billingDetails;
    }
    /**
     * @return The client entity that created the JIT request.
     * 
     */
    public ApplicationClientDetailsResponse createdBy() {
        return this.createdBy;
    }
    /**
     * @return The read-only customer support property that is retrieved from the application package.
     * 
     */
    public ApplicationPackageContactResponse customerSupport() {
        return this.customerSupport;
    }
    /**
     * @return Resource ID
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The identity of the resource.
     * 
     */
    public Optional identity() {
        return Optional.ofNullable(this.identity);
    }
    /**
     * @return The managed application Jit access policy.
     * 
     */
    public Optional jitAccessPolicy() {
        return Optional.ofNullable(this.jitAccessPolicy);
    }
    /**
     * @return The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog.
     * 
     */
    public String kind() {
        return this.kind;
    }
    /**
     * @return Resource location
     * 
     */
    public Optional location() {
        return Optional.ofNullable(this.location);
    }
    /**
     * @return ID of the resource that manages this resource.
     * 
     */
    public Optional managedBy() {
        return Optional.ofNullable(this.managedBy);
    }
    /**
     * @return The managed resource group Id.
     * 
     */
    public Optional managedResourceGroupId() {
        return Optional.ofNullable(this.managedResourceGroupId);
    }
    /**
     * @return The managed application management mode.
     * 
     */
    public String managementMode() {
        return this.managementMode;
    }
    /**
     * @return Resource name
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Name and value pairs that define the managed application outputs.
     * 
     */
    public Object outputs() {
        return this.outputs;
    }
    /**
     * @return Name and value pairs that define the managed application parameters. It can be a JObject or a well formed JSON string.
     * 
     */
    public Optional parameters() {
        return Optional.ofNullable(this.parameters);
    }
    /**
     * @return The plan information.
     * 
     */
    public Optional plan() {
        return Optional.ofNullable(this.plan);
    }
    /**
     * @return The managed application provisioning state.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return The publisher tenant Id.
     * 
     */
    public String publisherTenantId() {
        return this.publisherTenantId;
    }
    /**
     * @return The SKU of the resource.
     * 
     */
    public Optional sku() {
        return Optional.ofNullable(this.sku);
    }
    /**
     * @return The read-only support URLs property that is retrieved from the application package.
     * 
     */
    public ApplicationPackageSupportUrlsResponse supportUrls() {
        return this.supportUrls;
    }
    /**
     * @return Metadata pertaining to creation and last modification of the resource.
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return Resource tags
     * 
     */
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }
    /**
     * @return Resource type
     * 
     */
    public String type() {
        return this.type;
    }
    /**
     * @return The client entity that last updated the JIT request.
     * 
     */
    public ApplicationClientDetailsResponse updatedBy() {
        return this.updatedBy;
    }

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

    public static Builder builder(GetApplicationResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String applicationDefinitionId;
        private List artifacts;
        private List authorizations;
        private ApplicationBillingDetailsDefinitionResponse billingDetails;
        private ApplicationClientDetailsResponse createdBy;
        private ApplicationPackageContactResponse customerSupport;
        private String id;
        private @Nullable IdentityResponse identity;
        private @Nullable ApplicationJitAccessPolicyResponse jitAccessPolicy;
        private String kind;
        private @Nullable String location;
        private @Nullable String managedBy;
        private @Nullable String managedResourceGroupId;
        private String managementMode;
        private String name;
        private Object outputs;
        private @Nullable Object parameters;
        private @Nullable PlanResponse plan;
        private String provisioningState;
        private String publisherTenantId;
        private @Nullable SkuResponse sku;
        private ApplicationPackageSupportUrlsResponse supportUrls;
        private SystemDataResponse systemData;
        private @Nullable Map tags;
        private String type;
        private ApplicationClientDetailsResponse updatedBy;
        public Builder() {}
        public Builder(GetApplicationResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.applicationDefinitionId = defaults.applicationDefinitionId;
    	      this.artifacts = defaults.artifacts;
    	      this.authorizations = defaults.authorizations;
    	      this.billingDetails = defaults.billingDetails;
    	      this.createdBy = defaults.createdBy;
    	      this.customerSupport = defaults.customerSupport;
    	      this.id = defaults.id;
    	      this.identity = defaults.identity;
    	      this.jitAccessPolicy = defaults.jitAccessPolicy;
    	      this.kind = defaults.kind;
    	      this.location = defaults.location;
    	      this.managedBy = defaults.managedBy;
    	      this.managedResourceGroupId = defaults.managedResourceGroupId;
    	      this.managementMode = defaults.managementMode;
    	      this.name = defaults.name;
    	      this.outputs = defaults.outputs;
    	      this.parameters = defaults.parameters;
    	      this.plan = defaults.plan;
    	      this.provisioningState = defaults.provisioningState;
    	      this.publisherTenantId = defaults.publisherTenantId;
    	      this.sku = defaults.sku;
    	      this.supportUrls = defaults.supportUrls;
    	      this.systemData = defaults.systemData;
    	      this.tags = defaults.tags;
    	      this.type = defaults.type;
    	      this.updatedBy = defaults.updatedBy;
        }

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

            this.applicationDefinitionId = applicationDefinitionId;
            return this;
        }
        @CustomType.Setter
        public Builder artifacts(List artifacts) {
            if (artifacts == null) {
              throw new MissingRequiredPropertyException("GetApplicationResult", "artifacts");
            }
            this.artifacts = artifacts;
            return this;
        }
        public Builder artifacts(ApplicationArtifactResponse... artifacts) {
            return artifacts(List.of(artifacts));
        }
        @CustomType.Setter
        public Builder authorizations(List authorizations) {
            if (authorizations == null) {
              throw new MissingRequiredPropertyException("GetApplicationResult", "authorizations");
            }
            this.authorizations = authorizations;
            return this;
        }
        public Builder authorizations(ApplicationAuthorizationResponse... authorizations) {
            return authorizations(List.of(authorizations));
        }
        @CustomType.Setter
        public Builder billingDetails(ApplicationBillingDetailsDefinitionResponse billingDetails) {
            if (billingDetails == null) {
              throw new MissingRequiredPropertyException("GetApplicationResult", "billingDetails");
            }
            this.billingDetails = billingDetails;
            return this;
        }
        @CustomType.Setter
        public Builder createdBy(ApplicationClientDetailsResponse createdBy) {
            if (createdBy == null) {
              throw new MissingRequiredPropertyException("GetApplicationResult", "createdBy");
            }
            this.createdBy = createdBy;
            return this;
        }
        @CustomType.Setter
        public Builder customerSupport(ApplicationPackageContactResponse customerSupport) {
            if (customerSupport == null) {
              throw new MissingRequiredPropertyException("GetApplicationResult", "customerSupport");
            }
            this.customerSupport = customerSupport;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetApplicationResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder identity(@Nullable IdentityResponse identity) {

            this.identity = identity;
            return this;
        }
        @CustomType.Setter
        public Builder jitAccessPolicy(@Nullable ApplicationJitAccessPolicyResponse jitAccessPolicy) {

            this.jitAccessPolicy = jitAccessPolicy;
            return this;
        }
        @CustomType.Setter
        public Builder kind(String kind) {
            if (kind == null) {
              throw new MissingRequiredPropertyException("GetApplicationResult", "kind");
            }
            this.kind = kind;
            return this;
        }
        @CustomType.Setter
        public Builder location(@Nullable String location) {

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

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

            this.managedResourceGroupId = managedResourceGroupId;
            return this;
        }
        @CustomType.Setter
        public Builder managementMode(String managementMode) {
            if (managementMode == null) {
              throw new MissingRequiredPropertyException("GetApplicationResult", "managementMode");
            }
            this.managementMode = managementMode;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetApplicationResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder outputs(Object outputs) {
            if (outputs == null) {
              throw new MissingRequiredPropertyException("GetApplicationResult", "outputs");
            }
            this.outputs = outputs;
            return this;
        }
        @CustomType.Setter
        public Builder parameters(@Nullable Object parameters) {

            this.parameters = parameters;
            return this;
        }
        @CustomType.Setter
        public Builder plan(@Nullable PlanResponse plan) {

            this.plan = plan;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetApplicationResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder publisherTenantId(String publisherTenantId) {
            if (publisherTenantId == null) {
              throw new MissingRequiredPropertyException("GetApplicationResult", "publisherTenantId");
            }
            this.publisherTenantId = publisherTenantId;
            return this;
        }
        @CustomType.Setter
        public Builder sku(@Nullable SkuResponse sku) {

            this.sku = sku;
            return this;
        }
        @CustomType.Setter
        public Builder supportUrls(ApplicationPackageSupportUrlsResponse supportUrls) {
            if (supportUrls == null) {
              throw new MissingRequiredPropertyException("GetApplicationResult", "supportUrls");
            }
            this.supportUrls = supportUrls;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetApplicationResult", "systemData");
            }
            this.systemData = systemData;
            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("GetApplicationResult", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder updatedBy(ApplicationClientDetailsResponse updatedBy) {
            if (updatedBy == null) {
              throw new MissingRequiredPropertyException("GetApplicationResult", "updatedBy");
            }
            this.updatedBy = updatedBy;
            return this;
        }
        public GetApplicationResult build() {
            final var _resultValue = new GetApplicationResult();
            _resultValue.applicationDefinitionId = applicationDefinitionId;
            _resultValue.artifacts = artifacts;
            _resultValue.authorizations = authorizations;
            _resultValue.billingDetails = billingDetails;
            _resultValue.createdBy = createdBy;
            _resultValue.customerSupport = customerSupport;
            _resultValue.id = id;
            _resultValue.identity = identity;
            _resultValue.jitAccessPolicy = jitAccessPolicy;
            _resultValue.kind = kind;
            _resultValue.location = location;
            _resultValue.managedBy = managedBy;
            _resultValue.managedResourceGroupId = managedResourceGroupId;
            _resultValue.managementMode = managementMode;
            _resultValue.name = name;
            _resultValue.outputs = outputs;
            _resultValue.parameters = parameters;
            _resultValue.plan = plan;
            _resultValue.provisioningState = provisioningState;
            _resultValue.publisherTenantId = publisherTenantId;
            _resultValue.sku = sku;
            _resultValue.supportUrls = supportUrls;
            _resultValue.systemData = systemData;
            _resultValue.tags = tags;
            _resultValue.type = type;
            _resultValue.updatedBy = updatedBy;
            return _resultValue;
        }
    }
}