com.pulumi.aws.acmpca.inputs.GetCertificatePlainArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud 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.aws.acmpca.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetCertificatePlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetCertificatePlainArgs Empty = new GetCertificatePlainArgs();
/**
* ARN of the certificate issued by the private certificate authority.
*
*/
@Import(name="arn", required=true)
private String arn;
/**
* @return ARN of the certificate issued by the private certificate authority.
*
*/
public String arn() {
return this.arn;
}
/**
* ARN of the certificate authority.
*
*/
@Import(name="certificateAuthorityArn", required=true)
private String certificateAuthorityArn;
/**
* @return ARN of the certificate authority.
*
*/
public String certificateAuthorityArn() {
return this.certificateAuthorityArn;
}
private GetCertificatePlainArgs() {}
private GetCertificatePlainArgs(GetCertificatePlainArgs $) {
this.arn = $.arn;
this.certificateAuthorityArn = $.certificateAuthorityArn;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetCertificatePlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetCertificatePlainArgs $;
public Builder() {
$ = new GetCertificatePlainArgs();
}
public Builder(GetCertificatePlainArgs defaults) {
$ = new GetCertificatePlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param arn ARN of the certificate issued by the private certificate authority.
*
* @return builder
*
*/
public Builder arn(String arn) {
$.arn = arn;
return this;
}
/**
* @param certificateAuthorityArn ARN of the certificate authority.
*
* @return builder
*
*/
public Builder certificateAuthorityArn(String certificateAuthorityArn) {
$.certificateAuthorityArn = certificateAuthorityArn;
return this;
}
public GetCertificatePlainArgs build() {
if ($.arn == null) {
throw new MissingRequiredPropertyException("GetCertificatePlainArgs", "arn");
}
if ($.certificateAuthorityArn == null) {
throw new MissingRequiredPropertyException("GetCertificatePlainArgs", "certificateAuthorityArn");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy