
com.pulumi.scm.outputs.GetIkeGatewayAuthentication Maven / Gradle / Ivy
// *** 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.scm.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.scm.outputs.GetIkeGatewayAuthenticationCertificate;
import com.pulumi.scm.outputs.GetIkeGatewayAuthenticationPreSharedKey;
import java.util.Objects;
@CustomType
public final class GetIkeGatewayAuthentication {
/**
* @return The Certificate param.
*
*/
private GetIkeGatewayAuthenticationCertificate certificate;
/**
* @return The PreSharedKey param.
*
*/
private GetIkeGatewayAuthenticationPreSharedKey preSharedKey;
private GetIkeGatewayAuthentication() {}
/**
* @return The Certificate param.
*
*/
public GetIkeGatewayAuthenticationCertificate certificate() {
return this.certificate;
}
/**
* @return The PreSharedKey param.
*
*/
public GetIkeGatewayAuthenticationPreSharedKey preSharedKey() {
return this.preSharedKey;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetIkeGatewayAuthentication defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private GetIkeGatewayAuthenticationCertificate certificate;
private GetIkeGatewayAuthenticationPreSharedKey preSharedKey;
public Builder() {}
public Builder(GetIkeGatewayAuthentication defaults) {
Objects.requireNonNull(defaults);
this.certificate = defaults.certificate;
this.preSharedKey = defaults.preSharedKey;
}
@CustomType.Setter
public Builder certificate(GetIkeGatewayAuthenticationCertificate certificate) {
if (certificate == null) {
throw new MissingRequiredPropertyException("GetIkeGatewayAuthentication", "certificate");
}
this.certificate = certificate;
return this;
}
@CustomType.Setter
public Builder preSharedKey(GetIkeGatewayAuthenticationPreSharedKey preSharedKey) {
if (preSharedKey == null) {
throw new MissingRequiredPropertyException("GetIkeGatewayAuthentication", "preSharedKey");
}
this.preSharedKey = preSharedKey;
return this;
}
public GetIkeGatewayAuthentication build() {
final var _resultValue = new GetIkeGatewayAuthentication();
_resultValue.certificate = certificate;
_resultValue.preSharedKey = preSharedKey;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy