com.pulumi.aws.cloudfront.outputs.RealtimeLogConfigEndpoint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
The 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.cloudfront.outputs;
import com.pulumi.aws.cloudfront.outputs.RealtimeLogConfigEndpointKinesisStreamConfig;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class RealtimeLogConfigEndpoint {
/**
* @return The Amazon Kinesis data stream configuration.
*
*/
private RealtimeLogConfigEndpointKinesisStreamConfig kinesisStreamConfig;
/**
* @return The type of data stream where real-time log data is sent. The only valid value is `Kinesis`.
*
*/
private String streamType;
private RealtimeLogConfigEndpoint() {}
/**
* @return The Amazon Kinesis data stream configuration.
*
*/
public RealtimeLogConfigEndpointKinesisStreamConfig kinesisStreamConfig() {
return this.kinesisStreamConfig;
}
/**
* @return The type of data stream where real-time log data is sent. The only valid value is `Kinesis`.
*
*/
public String streamType() {
return this.streamType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RealtimeLogConfigEndpoint defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private RealtimeLogConfigEndpointKinesisStreamConfig kinesisStreamConfig;
private String streamType;
public Builder() {}
public Builder(RealtimeLogConfigEndpoint defaults) {
Objects.requireNonNull(defaults);
this.kinesisStreamConfig = defaults.kinesisStreamConfig;
this.streamType = defaults.streamType;
}
@CustomType.Setter
public Builder kinesisStreamConfig(RealtimeLogConfigEndpointKinesisStreamConfig kinesisStreamConfig) {
if (kinesisStreamConfig == null) {
throw new MissingRequiredPropertyException("RealtimeLogConfigEndpoint", "kinesisStreamConfig");
}
this.kinesisStreamConfig = kinesisStreamConfig;
return this;
}
@CustomType.Setter
public Builder streamType(String streamType) {
if (streamType == null) {
throw new MissingRequiredPropertyException("RealtimeLogConfigEndpoint", "streamType");
}
this.streamType = streamType;
return this;
}
public RealtimeLogConfigEndpoint build() {
final var _resultValue = new RealtimeLogConfigEndpoint();
_resultValue.kinesisStreamConfig = kinesisStreamConfig;
_resultValue.streamType = streamType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy