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

com.pulumi.azurenative.netapp.outputs.GetSubvolumeMetadataResult 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.netapp.outputs;

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

@CustomType
public final class GetSubvolumeMetadataResult {
    /**
     * @return Most recent access time and date
     * 
     */
    private @Nullable String accessedTimeStamp;
    /**
     * @return Bytes used
     * 
     */
    private @Nullable Double bytesUsed;
    /**
     * @return Most recent change time and date
     * 
     */
    private @Nullable String changedTimeStamp;
    /**
     * @return Creation time and date
     * 
     */
    private @Nullable String creationTimeStamp;
    /**
     * @return Resource Id
     * 
     */
    private String id;
    /**
     * @return Most recent modification time and date
     * 
     */
    private @Nullable String modifiedTimeStamp;
    /**
     * @return Resource name
     * 
     */
    private String name;
    /**
     * @return Path to the parent subvolume
     * 
     */
    private @Nullable String parentPath;
    /**
     * @return Path to the subvolume
     * 
     */
    private @Nullable String path;
    /**
     * @return Permissions of the subvolume
     * 
     */
    private @Nullable String permissions;
    /**
     * @return Azure lifecycle management
     * 
     */
    private @Nullable String provisioningState;
    /**
     * @return Size of subvolume
     * 
     */
    private @Nullable Double size;
    /**
     * @return Resource type
     * 
     */
    private String type;

    private GetSubvolumeMetadataResult() {}
    /**
     * @return Most recent access time and date
     * 
     */
    public Optional accessedTimeStamp() {
        return Optional.ofNullable(this.accessedTimeStamp);
    }
    /**
     * @return Bytes used
     * 
     */
    public Optional bytesUsed() {
        return Optional.ofNullable(this.bytesUsed);
    }
    /**
     * @return Most recent change time and date
     * 
     */
    public Optional changedTimeStamp() {
        return Optional.ofNullable(this.changedTimeStamp);
    }
    /**
     * @return Creation time and date
     * 
     */
    public Optional creationTimeStamp() {
        return Optional.ofNullable(this.creationTimeStamp);
    }
    /**
     * @return Resource Id
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Most recent modification time and date
     * 
     */
    public Optional modifiedTimeStamp() {
        return Optional.ofNullable(this.modifiedTimeStamp);
    }
    /**
     * @return Resource name
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Path to the parent subvolume
     * 
     */
    public Optional parentPath() {
        return Optional.ofNullable(this.parentPath);
    }
    /**
     * @return Path to the subvolume
     * 
     */
    public Optional path() {
        return Optional.ofNullable(this.path);
    }
    /**
     * @return Permissions of the subvolume
     * 
     */
    public Optional permissions() {
        return Optional.ofNullable(this.permissions);
    }
    /**
     * @return Azure lifecycle management
     * 
     */
    public Optional provisioningState() {
        return Optional.ofNullable(this.provisioningState);
    }
    /**
     * @return Size of subvolume
     * 
     */
    public Optional size() {
        return Optional.ofNullable(this.size);
    }
    /**
     * @return Resource type
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetSubvolumeMetadataResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String accessedTimeStamp;
        private @Nullable Double bytesUsed;
        private @Nullable String changedTimeStamp;
        private @Nullable String creationTimeStamp;
        private String id;
        private @Nullable String modifiedTimeStamp;
        private String name;
        private @Nullable String parentPath;
        private @Nullable String path;
        private @Nullable String permissions;
        private @Nullable String provisioningState;
        private @Nullable Double size;
        private String type;
        public Builder() {}
        public Builder(GetSubvolumeMetadataResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.accessedTimeStamp = defaults.accessedTimeStamp;
    	      this.bytesUsed = defaults.bytesUsed;
    	      this.changedTimeStamp = defaults.changedTimeStamp;
    	      this.creationTimeStamp = defaults.creationTimeStamp;
    	      this.id = defaults.id;
    	      this.modifiedTimeStamp = defaults.modifiedTimeStamp;
    	      this.name = defaults.name;
    	      this.parentPath = defaults.parentPath;
    	      this.path = defaults.path;
    	      this.permissions = defaults.permissions;
    	      this.provisioningState = defaults.provisioningState;
    	      this.size = defaults.size;
    	      this.type = defaults.type;
        }

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

            this.accessedTimeStamp = accessedTimeStamp;
            return this;
        }
        @CustomType.Setter
        public Builder bytesUsed(@Nullable Double bytesUsed) {

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

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

            this.creationTimeStamp = creationTimeStamp;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetSubvolumeMetadataResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder modifiedTimeStamp(@Nullable String modifiedTimeStamp) {

            this.modifiedTimeStamp = modifiedTimeStamp;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetSubvolumeMetadataResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder parentPath(@Nullable String parentPath) {

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

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

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

            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder size(@Nullable Double size) {

            this.size = size;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetSubvolumeMetadataResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetSubvolumeMetadataResult build() {
            final var _resultValue = new GetSubvolumeMetadataResult();
            _resultValue.accessedTimeStamp = accessedTimeStamp;
            _resultValue.bytesUsed = bytesUsed;
            _resultValue.changedTimeStamp = changedTimeStamp;
            _resultValue.creationTimeStamp = creationTimeStamp;
            _resultValue.id = id;
            _resultValue.modifiedTimeStamp = modifiedTimeStamp;
            _resultValue.name = name;
            _resultValue.parentPath = parentPath;
            _resultValue.path = path;
            _resultValue.permissions = permissions;
            _resultValue.provisioningState = provisioningState;
            _resultValue.size = size;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy