
com.pulumi.aws.organizations.inputs.GetPolicyPlainArgs 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.aws.organizations.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetPolicyPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetPolicyPlainArgs Empty = new GetPolicyPlainArgs();
/**
* The unique identifier (ID) of the policy that you want more details on. Policy id starts with a "p-" followed by 8-28 lowercase or uppercase letters, digits, and underscores.
*
*/
@Import(name="policyId", required=true)
private String policyId;
/**
* @return The unique identifier (ID) of the policy that you want more details on. Policy id starts with a "p-" followed by 8-28 lowercase or uppercase letters, digits, and underscores.
*
*/
public String policyId() {
return this.policyId;
}
private GetPolicyPlainArgs() {}
private GetPolicyPlainArgs(GetPolicyPlainArgs $) {
this.policyId = $.policyId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetPolicyPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetPolicyPlainArgs $;
public Builder() {
$ = new GetPolicyPlainArgs();
}
public Builder(GetPolicyPlainArgs defaults) {
$ = new GetPolicyPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param policyId The unique identifier (ID) of the policy that you want more details on. Policy id starts with a "p-" followed by 8-28 lowercase or uppercase letters, digits, and underscores.
*
* @return builder
*
*/
public Builder policyId(String policyId) {
$.policyId = policyId;
return this;
}
public GetPolicyPlainArgs build() {
if ($.policyId == null) {
throw new MissingRequiredPropertyException("GetPolicyPlainArgs", "policyId");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy