com.pulumi.azurenative.logic.outputs.KeyVaultKeyResponseAttributes Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.logic.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.Double;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class KeyVaultKeyResponseAttributes {
/**
* @return When the key was created.
*
*/
private @Nullable Double created;
/**
* @return Whether the key is enabled or not.
*
*/
private @Nullable Boolean enabled;
/**
* @return When the key was updated.
*
*/
private @Nullable Double updated;
private KeyVaultKeyResponseAttributes() {}
/**
* @return When the key was created.
*
*/
public Optional created() {
return Optional.ofNullable(this.created);
}
/**
* @return Whether the key is enabled or not.
*
*/
public Optional enabled() {
return Optional.ofNullable(this.enabled);
}
/**
* @return When the key was updated.
*
*/
public Optional updated() {
return Optional.ofNullable(this.updated);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(KeyVaultKeyResponseAttributes defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Double created;
private @Nullable Boolean enabled;
private @Nullable Double updated;
public Builder() {}
public Builder(KeyVaultKeyResponseAttributes defaults) {
Objects.requireNonNull(defaults);
this.created = defaults.created;
this.enabled = defaults.enabled;
this.updated = defaults.updated;
}
@CustomType.Setter
public Builder created(@Nullable Double created) {
this.created = created;
return this;
}
@CustomType.Setter
public Builder enabled(@Nullable Boolean enabled) {
this.enabled = enabled;
return this;
}
@CustomType.Setter
public Builder updated(@Nullable Double updated) {
this.updated = updated;
return this;
}
public KeyVaultKeyResponseAttributes build() {
final var _resultValue = new KeyVaultKeyResponseAttributes();
_resultValue.created = created;
_resultValue.enabled = enabled;
_resultValue.updated = updated;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy