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

com.pulumi.azurenative.managedservices.outputs.GetRegistrationDefinitionResult Maven / Gradle / Ivy

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

import com.pulumi.azurenative.managedservices.outputs.PlanResponse;
import com.pulumi.azurenative.managedservices.outputs.RegistrationDefinitionPropertiesResponse;
import com.pulumi.azurenative.managedservices.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 GetRegistrationDefinitionResult {
    /**
     * @return The fully qualified path of the registration definition.
     * 
     */
    private String id;
    /**
     * @return The name of the registration definition.
     * 
     */
    private String name;
    /**
     * @return The details for the Managed Services offer’s plan in Azure Marketplace.
     * 
     */
    private @Nullable PlanResponse plan;
    /**
     * @return The properties of a registration definition.
     * 
     */
    private RegistrationDefinitionPropertiesResponse properties;
    /**
     * @return The metadata for the registration assignment resource.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return The type of the Azure resource (Microsoft.ManagedServices/registrationDefinitions).
     * 
     */
    private String type;

    private GetRegistrationDefinitionResult() {}
    /**
     * @return The fully qualified path of the registration definition.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The name of the registration definition.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The details for the Managed Services offer’s plan in Azure Marketplace.
     * 
     */
    public Optional plan() {
        return Optional.ofNullable(this.plan);
    }
    /**
     * @return The properties of a registration definition.
     * 
     */
    public RegistrationDefinitionPropertiesResponse properties() {
        return this.properties;
    }
    /**
     * @return The metadata for the registration assignment resource.
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return The type of the Azure resource (Microsoft.ManagedServices/registrationDefinitions).
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetRegistrationDefinitionResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String id;
        private String name;
        private @Nullable PlanResponse plan;
        private RegistrationDefinitionPropertiesResponse properties;
        private SystemDataResponse systemData;
        private String type;
        public Builder() {}
        public Builder(GetRegistrationDefinitionResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.id = defaults.id;
    	      this.name = defaults.name;
    	      this.plan = defaults.plan;
    	      this.properties = defaults.properties;
    	      this.systemData = defaults.systemData;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetRegistrationDefinitionResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetRegistrationDefinitionResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder plan(@Nullable PlanResponse plan) {

            this.plan = plan;
            return this;
        }
        @CustomType.Setter
        public Builder properties(RegistrationDefinitionPropertiesResponse properties) {
            if (properties == null) {
              throw new MissingRequiredPropertyException("GetRegistrationDefinitionResult", "properties");
            }
            this.properties = properties;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetRegistrationDefinitionResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetRegistrationDefinitionResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetRegistrationDefinitionResult build() {
            final var _resultValue = new GetRegistrationDefinitionResult();
            _resultValue.id = id;
            _resultValue.name = name;
            _resultValue.plan = plan;
            _resultValue.properties = properties;
            _resultValue.systemData = systemData;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy