com.pulumi.aws.kinesisanalyticsv2.outputs.ApplicationApplicationConfigurationRunConfiguration Maven / Gradle / Ivy
// *** 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.kinesisanalyticsv2.outputs;
import com.pulumi.aws.kinesisanalyticsv2.outputs.ApplicationApplicationConfigurationRunConfigurationApplicationRestoreConfiguration;
import com.pulumi.aws.kinesisanalyticsv2.outputs.ApplicationApplicationConfigurationRunConfigurationFlinkRunConfiguration;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ApplicationApplicationConfigurationRunConfiguration {
/**
* @return The restore behavior of a restarting application.
*
*/
private @Nullable ApplicationApplicationConfigurationRunConfigurationApplicationRestoreConfiguration applicationRestoreConfiguration;
/**
* @return The starting parameters for a Flink-based Kinesis Data Analytics application.
*
*/
private @Nullable ApplicationApplicationConfigurationRunConfigurationFlinkRunConfiguration flinkRunConfiguration;
private ApplicationApplicationConfigurationRunConfiguration() {}
/**
* @return The restore behavior of a restarting application.
*
*/
public Optional applicationRestoreConfiguration() {
return Optional.ofNullable(this.applicationRestoreConfiguration);
}
/**
* @return The starting parameters for a Flink-based Kinesis Data Analytics application.
*
*/
public Optional flinkRunConfiguration() {
return Optional.ofNullable(this.flinkRunConfiguration);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ApplicationApplicationConfigurationRunConfiguration defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable ApplicationApplicationConfigurationRunConfigurationApplicationRestoreConfiguration applicationRestoreConfiguration;
private @Nullable ApplicationApplicationConfigurationRunConfigurationFlinkRunConfiguration flinkRunConfiguration;
public Builder() {}
public Builder(ApplicationApplicationConfigurationRunConfiguration defaults) {
Objects.requireNonNull(defaults);
this.applicationRestoreConfiguration = defaults.applicationRestoreConfiguration;
this.flinkRunConfiguration = defaults.flinkRunConfiguration;
}
@CustomType.Setter
public Builder applicationRestoreConfiguration(@Nullable ApplicationApplicationConfigurationRunConfigurationApplicationRestoreConfiguration applicationRestoreConfiguration) {
this.applicationRestoreConfiguration = applicationRestoreConfiguration;
return this;
}
@CustomType.Setter
public Builder flinkRunConfiguration(@Nullable ApplicationApplicationConfigurationRunConfigurationFlinkRunConfiguration flinkRunConfiguration) {
this.flinkRunConfiguration = flinkRunConfiguration;
return this;
}
public ApplicationApplicationConfigurationRunConfiguration build() {
final var _resultValue = new ApplicationApplicationConfigurationRunConfiguration();
_resultValue.applicationRestoreConfiguration = applicationRestoreConfiguration;
_resultValue.flinkRunConfiguration = flinkRunConfiguration;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy