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

com.pulumi.azurenative.migrate.outputs.DiskEncryptionSetResourceSettingsResponse Maven / Gradle / Ivy

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

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 DiskEncryptionSetResourceSettingsResponse {
    /**
     * @return The resource type. For example, the value can be Microsoft.Compute/virtualMachines.
     * Expected value is 'Microsoft.Compute/diskEncryptionSets'.
     * 
     */
    private String resourceType;
    /**
     * @return Gets or sets the target resource group name.
     * 
     */
    private @Nullable String targetResourceGroupName;
    /**
     * @return Gets or sets the target Resource name.
     * 
     */
    private String targetResourceName;

    private DiskEncryptionSetResourceSettingsResponse() {}
    /**
     * @return The resource type. For example, the value can be Microsoft.Compute/virtualMachines.
     * Expected value is 'Microsoft.Compute/diskEncryptionSets'.
     * 
     */
    public String resourceType() {
        return this.resourceType;
    }
    /**
     * @return Gets or sets the target resource group name.
     * 
     */
    public Optional targetResourceGroupName() {
        return Optional.ofNullable(this.targetResourceGroupName);
    }
    /**
     * @return Gets or sets the target Resource name.
     * 
     */
    public String targetResourceName() {
        return this.targetResourceName;
    }

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

    public static Builder builder(DiskEncryptionSetResourceSettingsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String resourceType;
        private @Nullable String targetResourceGroupName;
        private String targetResourceName;
        public Builder() {}
        public Builder(DiskEncryptionSetResourceSettingsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.resourceType = defaults.resourceType;
    	      this.targetResourceGroupName = defaults.targetResourceGroupName;
    	      this.targetResourceName = defaults.targetResourceName;
        }

        @CustomType.Setter
        public Builder resourceType(String resourceType) {
            if (resourceType == null) {
              throw new MissingRequiredPropertyException("DiskEncryptionSetResourceSettingsResponse", "resourceType");
            }
            this.resourceType = resourceType;
            return this;
        }
        @CustomType.Setter
        public Builder targetResourceGroupName(@Nullable String targetResourceGroupName) {

            this.targetResourceGroupName = targetResourceGroupName;
            return this;
        }
        @CustomType.Setter
        public Builder targetResourceName(String targetResourceName) {
            if (targetResourceName == null) {
              throw new MissingRequiredPropertyException("DiskEncryptionSetResourceSettingsResponse", "targetResourceName");
            }
            this.targetResourceName = targetResourceName;
            return this;
        }
        public DiskEncryptionSetResourceSettingsResponse build() {
            final var _resultValue = new DiskEncryptionSetResourceSettingsResponse();
            _resultValue.resourceType = resourceType;
            _resultValue.targetResourceGroupName = targetResourceGroupName;
            _resultValue.targetResourceName = targetResourceName;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy