com.pulumi.azurenative.iotoperationsmq.outputs.CertManagerPrivateKeyResponse 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.iotoperationsmq.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class CertManagerPrivateKeyResponse {
/**
* @return algorithm for private key.
*
*/
private String algorithm;
/**
* @return cert-manager rotationPolicy.
*
*/
private String rotationPolicy;
/**
* @return size of private key.
*
*/
private Integer size;
private CertManagerPrivateKeyResponse() {}
/**
* @return algorithm for private key.
*
*/
public String algorithm() {
return this.algorithm;
}
/**
* @return cert-manager rotationPolicy.
*
*/
public String rotationPolicy() {
return this.rotationPolicy;
}
/**
* @return size of private key.
*
*/
public Integer size() {
return this.size;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CertManagerPrivateKeyResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String algorithm;
private String rotationPolicy;
private Integer size;
public Builder() {}
public Builder(CertManagerPrivateKeyResponse defaults) {
Objects.requireNonNull(defaults);
this.algorithm = defaults.algorithm;
this.rotationPolicy = defaults.rotationPolicy;
this.size = defaults.size;
}
@CustomType.Setter
public Builder algorithm(String algorithm) {
if (algorithm == null) {
throw new MissingRequiredPropertyException("CertManagerPrivateKeyResponse", "algorithm");
}
this.algorithm = algorithm;
return this;
}
@CustomType.Setter
public Builder rotationPolicy(String rotationPolicy) {
if (rotationPolicy == null) {
throw new MissingRequiredPropertyException("CertManagerPrivateKeyResponse", "rotationPolicy");
}
this.rotationPolicy = rotationPolicy;
return this;
}
@CustomType.Setter
public Builder size(Integer size) {
if (size == null) {
throw new MissingRequiredPropertyException("CertManagerPrivateKeyResponse", "size");
}
this.size = size;
return this;
}
public CertManagerPrivateKeyResponse build() {
final var _resultValue = new CertManagerPrivateKeyResponse();
_resultValue.algorithm = algorithm;
_resultValue.rotationPolicy = rotationPolicy;
_resultValue.size = size;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy