com.pulumi.azurenative.logic.outputs.KeyVaultKeyResponse 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.
The 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.logic.outputs;
import com.pulumi.azurenative.logic.outputs.KeyVaultKeyResponseAttributes;
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 KeyVaultKeyResponse {
/**
* @return The key attributes.
*
*/
private @Nullable KeyVaultKeyResponseAttributes attributes;
/**
* @return The key id.
*
*/
private @Nullable String kid;
private KeyVaultKeyResponse() {}
/**
* @return The key attributes.
*
*/
public Optional attributes() {
return Optional.ofNullable(this.attributes);
}
/**
* @return The key id.
*
*/
public Optional kid() {
return Optional.ofNullable(this.kid);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(KeyVaultKeyResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable KeyVaultKeyResponseAttributes attributes;
private @Nullable String kid;
public Builder() {}
public Builder(KeyVaultKeyResponse defaults) {
Objects.requireNonNull(defaults);
this.attributes = defaults.attributes;
this.kid = defaults.kid;
}
@CustomType.Setter
public Builder attributes(@Nullable KeyVaultKeyResponseAttributes attributes) {
this.attributes = attributes;
return this;
}
@CustomType.Setter
public Builder kid(@Nullable String kid) {
this.kid = kid;
return this;
}
public KeyVaultKeyResponse build() {
final var _resultValue = new KeyVaultKeyResponse();
_resultValue.attributes = attributes;
_resultValue.kid = kid;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy