com.pulumi.aws.memorydb.outputs.GetParameterGroupResult 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.memorydb.outputs;
import com.pulumi.aws.memorydb.outputs.GetParameterGroupParameter;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
@CustomType
public final class GetParameterGroupResult {
/**
* @return ARN of the parameter group.
*
*/
private String arn;
/**
* @return Description of the parameter group.
*
*/
private String description;
/**
* @return Engine version that the parameter group can be used with.
*
*/
private String family;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
/**
* @return Name of the parameter.
*
*/
private String name;
/**
* @return Set of user-defined MemoryDB parameters applied by the parameter group.
*
*/
private List parameters;
/**
* @return Map of tags assigned to the parameter group.
*
*/
private Map tags;
private GetParameterGroupResult() {}
/**
* @return ARN of the parameter group.
*
*/
public String arn() {
return this.arn;
}
/**
* @return Description of the parameter group.
*
*/
public String description() {
return this.description;
}
/**
* @return Engine version that the parameter group can be used with.
*
*/
public String family() {
return this.family;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
/**
* @return Name of the parameter.
*
*/
public String name() {
return this.name;
}
/**
* @return Set of user-defined MemoryDB parameters applied by the parameter group.
*
*/
public List parameters() {
return this.parameters;
}
/**
* @return Map of tags assigned to the parameter group.
*
*/
public Map tags() {
return this.tags;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetParameterGroupResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String arn;
private String description;
private String family;
private String id;
private String name;
private List parameters;
private Map tags;
public Builder() {}
public Builder(GetParameterGroupResult defaults) {
Objects.requireNonNull(defaults);
this.arn = defaults.arn;
this.description = defaults.description;
this.family = defaults.family;
this.id = defaults.id;
this.name = defaults.name;
this.parameters = defaults.parameters;
this.tags = defaults.tags;
}
@CustomType.Setter
public Builder arn(String arn) {
if (arn == null) {
throw new MissingRequiredPropertyException("GetParameterGroupResult", "arn");
}
this.arn = arn;
return this;
}
@CustomType.Setter
public Builder description(String description) {
if (description == null) {
throw new MissingRequiredPropertyException("GetParameterGroupResult", "description");
}
this.description = description;
return this;
}
@CustomType.Setter
public Builder family(String family) {
if (family == null) {
throw new MissingRequiredPropertyException("GetParameterGroupResult", "family");
}
this.family = family;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetParameterGroupResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetParameterGroupResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder parameters(List parameters) {
if (parameters == null) {
throw new MissingRequiredPropertyException("GetParameterGroupResult", "parameters");
}
this.parameters = parameters;
return this;
}
public Builder parameters(GetParameterGroupParameter... parameters) {
return parameters(List.of(parameters));
}
@CustomType.Setter
public Builder tags(Map tags) {
if (tags == null) {
throw new MissingRequiredPropertyException("GetParameterGroupResult", "tags");
}
this.tags = tags;
return this;
}
public GetParameterGroupResult build() {
final var _resultValue = new GetParameterGroupResult();
_resultValue.arn = arn;
_resultValue.description = description;
_resultValue.family = family;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.parameters = parameters;
_resultValue.tags = tags;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy