com.pulumi.aws.ssm.inputs.GetParameterPlainArgs 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.ssm.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class GetParameterPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetParameterPlainArgs Empty = new GetParameterPlainArgs();
/**
* Name of the parameter.
*
*/
@Import(name="name", required=true)
private String name;
/**
* @return Name of the parameter.
*
*/
public String name() {
return this.name;
}
/**
* Whether to return decrypted `SecureString` value. Defaults to `true`.
*
* In addition to all arguments above, the following attributes are exported:
*
*/
@Import(name="withDecryption")
private @Nullable Boolean withDecryption;
/**
* @return Whether to return decrypted `SecureString` value. Defaults to `true`.
*
* In addition to all arguments above, the following attributes are exported:
*
*/
public Optional withDecryption() {
return Optional.ofNullable(this.withDecryption);
}
private GetParameterPlainArgs() {}
private GetParameterPlainArgs(GetParameterPlainArgs $) {
this.name = $.name;
this.withDecryption = $.withDecryption;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetParameterPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetParameterPlainArgs $;
public Builder() {
$ = new GetParameterPlainArgs();
}
public Builder(GetParameterPlainArgs defaults) {
$ = new GetParameterPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param name Name of the parameter.
*
* @return builder
*
*/
public Builder name(String name) {
$.name = name;
return this;
}
/**
* @param withDecryption Whether to return decrypted `SecureString` value. Defaults to `true`.
*
* In addition to all arguments above, the following attributes are exported:
*
* @return builder
*
*/
public Builder withDecryption(@Nullable Boolean withDecryption) {
$.withDecryption = withDecryption;
return this;
}
public GetParameterPlainArgs build() {
if ($.name == null) {
throw new MissingRequiredPropertyException("GetParameterPlainArgs", "name");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy