com.pulumi.azurenative.migrate.outputs.CertResponse 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.migrate.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class CertResponse {
/**
* @return Gets or sets the Certificate data.
*
*/
private @Nullable String certData;
/**
* @return Gets or sets a value indicating whether certificate is needed or not.
*
*/
private @Nullable Boolean certNeeded;
/**
* @return Gets or sets a value indicating whether certificate is provided or not.
*
*/
private @Nullable Boolean certProvided;
/**
* @return Gets or sets the type of secret store for the certificate.
*
*/
private @Nullable String secretStore;
private CertResponse() {}
/**
* @return Gets or sets the Certificate data.
*
*/
public Optional certData() {
return Optional.ofNullable(this.certData);
}
/**
* @return Gets or sets a value indicating whether certificate is needed or not.
*
*/
public Optional certNeeded() {
return Optional.ofNullable(this.certNeeded);
}
/**
* @return Gets or sets a value indicating whether certificate is provided or not.
*
*/
public Optional certProvided() {
return Optional.ofNullable(this.certProvided);
}
/**
* @return Gets or sets the type of secret store for the certificate.
*
*/
public Optional secretStore() {
return Optional.ofNullable(this.secretStore);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CertResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String certData;
private @Nullable Boolean certNeeded;
private @Nullable Boolean certProvided;
private @Nullable String secretStore;
public Builder() {}
public Builder(CertResponse defaults) {
Objects.requireNonNull(defaults);
this.certData = defaults.certData;
this.certNeeded = defaults.certNeeded;
this.certProvided = defaults.certProvided;
this.secretStore = defaults.secretStore;
}
@CustomType.Setter
public Builder certData(@Nullable String certData) {
this.certData = certData;
return this;
}
@CustomType.Setter
public Builder certNeeded(@Nullable Boolean certNeeded) {
this.certNeeded = certNeeded;
return this;
}
@CustomType.Setter
public Builder certProvided(@Nullable Boolean certProvided) {
this.certProvided = certProvided;
return this;
}
@CustomType.Setter
public Builder secretStore(@Nullable String secretStore) {
this.secretStore = secretStore;
return this;
}
public CertResponse build() {
final var _resultValue = new CertResponse();
_resultValue.certData = certData;
_resultValue.certNeeded = certNeeded;
_resultValue.certProvided = certProvided;
_resultValue.secretStore = secretStore;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy