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

com.pulumi.azurenative.apimanagement.outputs.KeyVaultLastAccessStatusContractPropertiesResponse 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.apimanagement.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 KeyVaultLastAccessStatusContractPropertiesResponse {
    /**
     * @return Last status code for sync and refresh of secret from key vault.
     * 
     */
    private @Nullable String code;
    /**
     * @return Details of the error else empty.
     * 
     */
    private @Nullable String message;
    /**
     * @return Last time secret was accessed. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
     * 
     */
    private @Nullable String timeStampUtc;

    private KeyVaultLastAccessStatusContractPropertiesResponse() {}
    /**
     * @return Last status code for sync and refresh of secret from key vault.
     * 
     */
    public Optional code() {
        return Optional.ofNullable(this.code);
    }
    /**
     * @return Details of the error else empty.
     * 
     */
    public Optional message() {
        return Optional.ofNullable(this.message);
    }
    /**
     * @return Last time secret was accessed. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
     * 
     */
    public Optional timeStampUtc() {
        return Optional.ofNullable(this.timeStampUtc);
    }

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

    public static Builder builder(KeyVaultLastAccessStatusContractPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String code;
        private @Nullable String message;
        private @Nullable String timeStampUtc;
        public Builder() {}
        public Builder(KeyVaultLastAccessStatusContractPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.code = defaults.code;
    	      this.message = defaults.message;
    	      this.timeStampUtc = defaults.timeStampUtc;
        }

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

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

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

            this.timeStampUtc = timeStampUtc;
            return this;
        }
        public KeyVaultLastAccessStatusContractPropertiesResponse build() {
            final var _resultValue = new KeyVaultLastAccessStatusContractPropertiesResponse();
            _resultValue.code = code;
            _resultValue.message = message;
            _resultValue.timeStampUtc = timeStampUtc;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy