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

com.pulumi.aws.elasticache.outputs.GetReplicationGroupLogDeliveryConfiguration 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.elasticache.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetReplicationGroupLogDeliveryConfiguration {
    private String destination;
    private String destinationType;
    private String logFormat;
    private String logType;

    private GetReplicationGroupLogDeliveryConfiguration() {}
    public String destination() {
        return this.destination;
    }
    public String destinationType() {
        return this.destinationType;
    }
    public String logFormat() {
        return this.logFormat;
    }
    public String logType() {
        return this.logType;
    }

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

    public static Builder builder(GetReplicationGroupLogDeliveryConfiguration defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String destination;
        private String destinationType;
        private String logFormat;
        private String logType;
        public Builder() {}
        public Builder(GetReplicationGroupLogDeliveryConfiguration defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.destination = defaults.destination;
    	      this.destinationType = defaults.destinationType;
    	      this.logFormat = defaults.logFormat;
    	      this.logType = defaults.logType;
        }

        @CustomType.Setter
        public Builder destination(String destination) {
            if (destination == null) {
              throw new MissingRequiredPropertyException("GetReplicationGroupLogDeliveryConfiguration", "destination");
            }
            this.destination = destination;
            return this;
        }
        @CustomType.Setter
        public Builder destinationType(String destinationType) {
            if (destinationType == null) {
              throw new MissingRequiredPropertyException("GetReplicationGroupLogDeliveryConfiguration", "destinationType");
            }
            this.destinationType = destinationType;
            return this;
        }
        @CustomType.Setter
        public Builder logFormat(String logFormat) {
            if (logFormat == null) {
              throw new MissingRequiredPropertyException("GetReplicationGroupLogDeliveryConfiguration", "logFormat");
            }
            this.logFormat = logFormat;
            return this;
        }
        @CustomType.Setter
        public Builder logType(String logType) {
            if (logType == null) {
              throw new MissingRequiredPropertyException("GetReplicationGroupLogDeliveryConfiguration", "logType");
            }
            this.logType = logType;
            return this;
        }
        public GetReplicationGroupLogDeliveryConfiguration build() {
            final var _resultValue = new GetReplicationGroupLogDeliveryConfiguration();
            _resultValue.destination = destination;
            _resultValue.destinationType = destinationType;
            _resultValue.logFormat = logFormat;
            _resultValue.logType = logType;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy