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