public String getType() {
        return this.type;
    }
<p>
The type of environment variable. Valid values include:
</p>
<ul>
<li>
<p>
<code>PARAMETER_STORE</code>: An environment variable stored in Systems Manager Parameter Store. For environment
variables of this type, specify the name of the parameter as the <code>value</code> of the EnvironmentVariable.
The parameter value will be substituted for the name at runtime. You can also define Parameter Store environment
variables in the buildspec. To learn how to do so, see <a href=
"https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec.env.parameter-store"
>env/parameter-store</a> in the <i>CodeBuild User Guide</i>.
</p>
</li>
<li>
<p>
<code>PLAINTEXT</code>: An environment variable in plain text format. This is the default value.
</p>
</li>
<li>
<p>
<code>SECRETS_MANAGER</code>: An environment variable stored in Secrets Manager. For environment variables of
this type, specify the name of the secret as the <code>value</code> of the EnvironmentVariable. The secret value
will be substituted for the name at runtime. You can also define Secrets Manager environment variables in the
buildspec. To learn how to do so, see <a href=
"https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec.env.secrets-manager"
>env/secrets-manager</a> in the <i>CodeBuild User Guide</i>.
</p>
</li>
</ul>

@return The type of environment variable. Valid values include:</p>
        <ul>
        <li>
        <p>
        <code>PARAMETER_STORE</code>: An environment variable stored in Systems Manager Parameter Store. For
        environment variables of this type, specify the name of the parameter as the <code>value</code> of the
        EnvironmentVariable. The parameter value will be substituted for the name at runtime. You can also define
        Parameter Store environment variables in the buildspec. To learn how to do so, see <a href=
        "https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec.env.parameter-store"
        >env/parameter-store</a> in the <i>CodeBuild User Guide</i>.
        </p>
        </li>
        <li>
        <p>
        <code>PLAINTEXT</code>: An environment variable in plain text format. This is the default value.
        </p>
        </li>
        <li>
        <p>
        <code>SECRETS_MANAGER</code>: An environment variable stored in Secrets Manager. For environment
        variables of this type, specify the name of the secret as the <code>value</code> of the
        EnvironmentVariable. The secret value will be substituted for the name at runtime. You can also define
        Secrets Manager environment variables in the buildspec. To learn how to do so, see <a href=
        "https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec.env.secrets-manager"
        >env/secrets-manager</a> in the <i>CodeBuild User Guide</i>.
        </p>
        </li>
@see EnvironmentVariableType
aws-java-sdk-codebuild/src/main/java/com/amazonaws/services/codebuild/model/EnvironmentVariable.java