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

com.pulumi.azurenative.migrate.outputs.ModernizeProjectModelPropertiesResponse 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.migrate.outputs;

import com.pulumi.azurenative.migrate.outputs.MigrationConfigurationResponse;
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 ModernizeProjectModelPropertiesResponse {
    /**
     * @return MigrationConfiguration properties.
     * 
     */
    private @Nullable MigrationConfigurationResponse migrationConfiguration;
    /**
     * @return Gets or sets the provisioning state of the ModernizeProject.
     * 
     */
    private String provisioningState;
    /**
     * @return Gets or sets the service endpoint.
     * 
     */
    private String serviceEndpoint;
    /**
     * @return Gets or sets the service resource Id.
     * 
     */
    private String serviceResourceId;

    private ModernizeProjectModelPropertiesResponse() {}
    /**
     * @return MigrationConfiguration properties.
     * 
     */
    public Optional migrationConfiguration() {
        return Optional.ofNullable(this.migrationConfiguration);
    }
    /**
     * @return Gets or sets the provisioning state of the ModernizeProject.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return Gets or sets the service endpoint.
     * 
     */
    public String serviceEndpoint() {
        return this.serviceEndpoint;
    }
    /**
     * @return Gets or sets the service resource Id.
     * 
     */
    public String serviceResourceId() {
        return this.serviceResourceId;
    }

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

    public static Builder builder(ModernizeProjectModelPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable MigrationConfigurationResponse migrationConfiguration;
        private String provisioningState;
        private String serviceEndpoint;
        private String serviceResourceId;
        public Builder() {}
        public Builder(ModernizeProjectModelPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.migrationConfiguration = defaults.migrationConfiguration;
    	      this.provisioningState = defaults.provisioningState;
    	      this.serviceEndpoint = defaults.serviceEndpoint;
    	      this.serviceResourceId = defaults.serviceResourceId;
        }

        @CustomType.Setter
        public Builder migrationConfiguration(@Nullable MigrationConfigurationResponse migrationConfiguration) {

            this.migrationConfiguration = migrationConfiguration;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("ModernizeProjectModelPropertiesResponse", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder serviceEndpoint(String serviceEndpoint) {
            if (serviceEndpoint == null) {
              throw new MissingRequiredPropertyException("ModernizeProjectModelPropertiesResponse", "serviceEndpoint");
            }
            this.serviceEndpoint = serviceEndpoint;
            return this;
        }
        @CustomType.Setter
        public Builder serviceResourceId(String serviceResourceId) {
            if (serviceResourceId == null) {
              throw new MissingRequiredPropertyException("ModernizeProjectModelPropertiesResponse", "serviceResourceId");
            }
            this.serviceResourceId = serviceResourceId;
            return this;
        }
        public ModernizeProjectModelPropertiesResponse build() {
            final var _resultValue = new ModernizeProjectModelPropertiesResponse();
            _resultValue.migrationConfiguration = migrationConfiguration;
            _resultValue.provisioningState = provisioningState;
            _resultValue.serviceEndpoint = serviceEndpoint;
            _resultValue.serviceResourceId = serviceResourceId;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy