All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.awsconnector.outputs.AwsRedshiftClusterParameterGroupPropertiesResponse 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.azurenative.awsconnector.outputs;

import com.pulumi.azurenative.awsconnector.outputs.ParameterResponse;
import com.pulumi.azurenative.awsconnector.outputs.TagResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class AwsRedshiftClusterParameterGroupPropertiesResponse {
    /**
     * @return A description of the parameter group.
     * 
     */
    private @Nullable String description;
    /**
     * @return The Amazon Redshift engine version to which the cluster parameter group applies. The cluster engine version determines the set of parameters.
     * 
     */
    private @Nullable String parameterGroupFamily;
    /**
     * @return The name of the cluster parameter group.
     * 
     */
    private @Nullable String parameterGroupName;
    /**
     * @return An array of parameters to be modified. A maximum of 20 parameters can be modified in a single request.
     * 
     */
    private @Nullable List parameters;
    /**
     * @return An array of key-value pairs to apply to this resource.
     * 
     */
    private @Nullable List tags;

    private AwsRedshiftClusterParameterGroupPropertiesResponse() {}
    /**
     * @return A description of the parameter group.
     * 
     */
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @return The Amazon Redshift engine version to which the cluster parameter group applies. The cluster engine version determines the set of parameters.
     * 
     */
    public Optional parameterGroupFamily() {
        return Optional.ofNullable(this.parameterGroupFamily);
    }
    /**
     * @return The name of the cluster parameter group.
     * 
     */
    public Optional parameterGroupName() {
        return Optional.ofNullable(this.parameterGroupName);
    }
    /**
     * @return An array of parameters to be modified. A maximum of 20 parameters can be modified in a single request.
     * 
     */
    public List parameters() {
        return this.parameters == null ? List.of() : this.parameters;
    }
    /**
     * @return An array of key-value pairs to apply to this resource.
     * 
     */
    public List tags() {
        return this.tags == null ? List.of() : this.tags;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(AwsRedshiftClusterParameterGroupPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String description;
        private @Nullable String parameterGroupFamily;
        private @Nullable String parameterGroupName;
        private @Nullable List parameters;
        private @Nullable List tags;
        public Builder() {}
        public Builder(AwsRedshiftClusterParameterGroupPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.description = defaults.description;
    	      this.parameterGroupFamily = defaults.parameterGroupFamily;
    	      this.parameterGroupName = defaults.parameterGroupName;
    	      this.parameters = defaults.parameters;
    	      this.tags = defaults.tags;
        }

        @CustomType.Setter
        public Builder description(@Nullable String description) {

            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder parameterGroupFamily(@Nullable String parameterGroupFamily) {

            this.parameterGroupFamily = parameterGroupFamily;
            return this;
        }
        @CustomType.Setter
        public Builder parameterGroupName(@Nullable String parameterGroupName) {

            this.parameterGroupName = parameterGroupName;
            return this;
        }
        @CustomType.Setter
        public Builder parameters(@Nullable List parameters) {

            this.parameters = parameters;
            return this;
        }
        public Builder parameters(ParameterResponse... parameters) {
            return parameters(List.of(parameters));
        }
        @CustomType.Setter
        public Builder tags(@Nullable List tags) {

            this.tags = tags;
            return this;
        }
        public Builder tags(TagResponse... tags) {
            return tags(List.of(tags));
        }
        public AwsRedshiftClusterParameterGroupPropertiesResponse build() {
            final var _resultValue = new AwsRedshiftClusterParameterGroupPropertiesResponse();
            _resultValue.description = description;
            _resultValue.parameterGroupFamily = parameterGroupFamily;
            _resultValue.parameterGroupName = parameterGroupName;
            _resultValue.parameters = parameters;
            _resultValue.tags = tags;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy