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

com.pulumi.aws.devopsguru.inputs.ServiceIntegrationKmsServerSideEncryptionArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
Show newest version
// *** 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.devopsguru.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ServiceIntegrationKmsServerSideEncryptionArgs extends com.pulumi.resources.ResourceArgs {

    public static final ServiceIntegrationKmsServerSideEncryptionArgs Empty = new ServiceIntegrationKmsServerSideEncryptionArgs();

    /**
     * KMS key ID. This value can be a key ID, key ARN, alias name, or alias ARN.
     * 
     */
    @Import(name="kmsKeyId")
    private @Nullable Output kmsKeyId;

    /**
     * @return KMS key ID. This value can be a key ID, key ARN, alias name, or alias ARN.
     * 
     */
    public Optional> kmsKeyId() {
        return Optional.ofNullable(this.kmsKeyId);
    }

    /**
     * Specifies whether KMS integration is enabled. Valid values are `DISABLED` and `ENABLED`.
     * 
     */
    @Import(name="optInStatus")
    private @Nullable Output optInStatus;

    /**
     * @return Specifies whether KMS integration is enabled. Valid values are `DISABLED` and `ENABLED`.
     * 
     */
    public Optional> optInStatus() {
        return Optional.ofNullable(this.optInStatus);
    }

    /**
     * Type of KMS key used. Valid values are `CUSTOMER_MANAGED_KEY` and `AWS_OWNED_KMS_KEY`.
     * 
     */
    @Import(name="type")
    private @Nullable Output type;

    /**
     * @return Type of KMS key used. Valid values are `CUSTOMER_MANAGED_KEY` and `AWS_OWNED_KMS_KEY`.
     * 
     */
    public Optional> type() {
        return Optional.ofNullable(this.type);
    }

    private ServiceIntegrationKmsServerSideEncryptionArgs() {}

    private ServiceIntegrationKmsServerSideEncryptionArgs(ServiceIntegrationKmsServerSideEncryptionArgs $) {
        this.kmsKeyId = $.kmsKeyId;
        this.optInStatus = $.optInStatus;
        this.type = $.type;
    }

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

    public static final class Builder {
        private ServiceIntegrationKmsServerSideEncryptionArgs $;

        public Builder() {
            $ = new ServiceIntegrationKmsServerSideEncryptionArgs();
        }

        public Builder(ServiceIntegrationKmsServerSideEncryptionArgs defaults) {
            $ = new ServiceIntegrationKmsServerSideEncryptionArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param kmsKeyId KMS key ID. This value can be a key ID, key ARN, alias name, or alias ARN.
         * 
         * @return builder
         * 
         */
        public Builder kmsKeyId(@Nullable Output kmsKeyId) {
            $.kmsKeyId = kmsKeyId;
            return this;
        }

        /**
         * @param kmsKeyId KMS key ID. This value can be a key ID, key ARN, alias name, or alias ARN.
         * 
         * @return builder
         * 
         */
        public Builder kmsKeyId(String kmsKeyId) {
            return kmsKeyId(Output.of(kmsKeyId));
        }

        /**
         * @param optInStatus Specifies whether KMS integration is enabled. Valid values are `DISABLED` and `ENABLED`.
         * 
         * @return builder
         * 
         */
        public Builder optInStatus(@Nullable Output optInStatus) {
            $.optInStatus = optInStatus;
            return this;
        }

        /**
         * @param optInStatus Specifies whether KMS integration is enabled. Valid values are `DISABLED` and `ENABLED`.
         * 
         * @return builder
         * 
         */
        public Builder optInStatus(String optInStatus) {
            return optInStatus(Output.of(optInStatus));
        }

        /**
         * @param type Type of KMS key used. Valid values are `CUSTOMER_MANAGED_KEY` and `AWS_OWNED_KMS_KEY`.
         * 
         * @return builder
         * 
         */
        public Builder type(@Nullable Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Type of KMS key used. Valid values are `CUSTOMER_MANAGED_KEY` and `AWS_OWNED_KMS_KEY`.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public ServiceIntegrationKmsServerSideEncryptionArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy