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

com.pulumi.azurenative.recoveryservices.outputs.HyperVReplicaAzureManagedDiskDetailsResponse 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.recoveryservices.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class HyperVReplicaAzureManagedDiskDetailsResponse {
    /**
     * @return The disk encryption set ARM Id.
     * 
     */
    private @Nullable String diskEncryptionSetId;
    /**
     * @return The disk Id.
     * 
     */
    private @Nullable String diskId;
    /**
     * @return The replica disk type.
     * 
     */
    private @Nullable String replicaDiskType;
    /**
     * @return Seed managed disk Id.
     * 
     */
    private @Nullable String seedManagedDiskId;

    private HyperVReplicaAzureManagedDiskDetailsResponse() {}
    /**
     * @return The disk encryption set ARM Id.
     * 
     */
    public Optional diskEncryptionSetId() {
        return Optional.ofNullable(this.diskEncryptionSetId);
    }
    /**
     * @return The disk Id.
     * 
     */
    public Optional diskId() {
        return Optional.ofNullable(this.diskId);
    }
    /**
     * @return The replica disk type.
     * 
     */
    public Optional replicaDiskType() {
        return Optional.ofNullable(this.replicaDiskType);
    }
    /**
     * @return Seed managed disk Id.
     * 
     */
    public Optional seedManagedDiskId() {
        return Optional.ofNullable(this.seedManagedDiskId);
    }

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

    public static Builder builder(HyperVReplicaAzureManagedDiskDetailsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String diskEncryptionSetId;
        private @Nullable String diskId;
        private @Nullable String replicaDiskType;
        private @Nullable String seedManagedDiskId;
        public Builder() {}
        public Builder(HyperVReplicaAzureManagedDiskDetailsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.diskEncryptionSetId = defaults.diskEncryptionSetId;
    	      this.diskId = defaults.diskId;
    	      this.replicaDiskType = defaults.replicaDiskType;
    	      this.seedManagedDiskId = defaults.seedManagedDiskId;
        }

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

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

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

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

            this.seedManagedDiskId = seedManagedDiskId;
            return this;
        }
        public HyperVReplicaAzureManagedDiskDetailsResponse build() {
            final var _resultValue = new HyperVReplicaAzureManagedDiskDetailsResponse();
            _resultValue.diskEncryptionSetId = diskEncryptionSetId;
            _resultValue.diskId = diskId;
            _resultValue.replicaDiskType = replicaDiskType;
            _resultValue.seedManagedDiskId = seedManagedDiskId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy