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

com.pulumi.aws.pipes.outputs.PipeTargetParametersCloudwatchLogsParameters 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.pipes.outputs;

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

@CustomType
public final class PipeTargetParametersCloudwatchLogsParameters {
    /**
     * @return The name of the log stream.
     * 
     */
    private @Nullable String logStreamName;
    /**
     * @return The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. This is the JSON path to the field in the event e.g. $.detail.timestamp
     * 
     */
    private @Nullable String timestamp;

    private PipeTargetParametersCloudwatchLogsParameters() {}
    /**
     * @return The name of the log stream.
     * 
     */
    public Optional logStreamName() {
        return Optional.ofNullable(this.logStreamName);
    }
    /**
     * @return The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. This is the JSON path to the field in the event e.g. $.detail.timestamp
     * 
     */
    public Optional timestamp() {
        return Optional.ofNullable(this.timestamp);
    }

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

    public static Builder builder(PipeTargetParametersCloudwatchLogsParameters defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String logStreamName;
        private @Nullable String timestamp;
        public Builder() {}
        public Builder(PipeTargetParametersCloudwatchLogsParameters defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.logStreamName = defaults.logStreamName;
    	      this.timestamp = defaults.timestamp;
        }

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

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

            this.timestamp = timestamp;
            return this;
        }
        public PipeTargetParametersCloudwatchLogsParameters build() {
            final var _resultValue = new PipeTargetParametersCloudwatchLogsParameters();
            _resultValue.logStreamName = logStreamName;
            _resultValue.timestamp = timestamp;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy