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

com.pulumi.azurenative.cache.outputs.SystemDataResponse Maven / Gradle / Ivy

There is a newer version: 2.78.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.cache.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 SystemDataResponse {
    /**
     * @return The timestamp of resource creation (UTC).
     * 
     */
    private @Nullable String createdAt;
    /**
     * @return The identity that created the resource.
     * 
     */
    private @Nullable String createdBy;
    /**
     * @return The type of identity that created the resource.
     * 
     */
    private @Nullable String createdByType;
    /**
     * @return The timestamp of resource last modification (UTC)
     * 
     */
    private @Nullable String lastModifiedAt;
    /**
     * @return The identity that last modified the resource.
     * 
     */
    private @Nullable String lastModifiedBy;
    /**
     * @return The type of identity that last modified the resource.
     * 
     */
    private @Nullable String lastModifiedByType;

    private SystemDataResponse() {}
    /**
     * @return The timestamp of resource creation (UTC).
     * 
     */
    public Optional createdAt() {
        return Optional.ofNullable(this.createdAt);
    }
    /**
     * @return The identity that created the resource.
     * 
     */
    public Optional createdBy() {
        return Optional.ofNullable(this.createdBy);
    }
    /**
     * @return The type of identity that created the resource.
     * 
     */
    public Optional createdByType() {
        return Optional.ofNullable(this.createdByType);
    }
    /**
     * @return The timestamp of resource last modification (UTC)
     * 
     */
    public Optional lastModifiedAt() {
        return Optional.ofNullable(this.lastModifiedAt);
    }
    /**
     * @return The identity that last modified the resource.
     * 
     */
    public Optional lastModifiedBy() {
        return Optional.ofNullable(this.lastModifiedBy);
    }
    /**
     * @return The type of identity that last modified the resource.
     * 
     */
    public Optional lastModifiedByType() {
        return Optional.ofNullable(this.lastModifiedByType);
    }

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

    public static Builder builder(SystemDataResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String createdAt;
        private @Nullable String createdBy;
        private @Nullable String createdByType;
        private @Nullable String lastModifiedAt;
        private @Nullable String lastModifiedBy;
        private @Nullable String lastModifiedByType;
        public Builder() {}
        public Builder(SystemDataResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.createdAt = defaults.createdAt;
    	      this.createdBy = defaults.createdBy;
    	      this.createdByType = defaults.createdByType;
    	      this.lastModifiedAt = defaults.lastModifiedAt;
    	      this.lastModifiedBy = defaults.lastModifiedBy;
    	      this.lastModifiedByType = defaults.lastModifiedByType;
        }

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

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

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

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

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

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

            this.lastModifiedByType = lastModifiedByType;
            return this;
        }
        public SystemDataResponse build() {
            final var _resultValue = new SystemDataResponse();
            _resultValue.createdAt = createdAt;
            _resultValue.createdBy = createdBy;
            _resultValue.createdByType = createdByType;
            _resultValue.lastModifiedAt = lastModifiedAt;
            _resultValue.lastModifiedBy = lastModifiedBy;
            _resultValue.lastModifiedByType = lastModifiedByType;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy