com.pulumi.azurenative.workloads.outputs.SettingsResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.azurenative.workloads.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SettingsResponse {
/**
* @return Workload compression flag. This has been added so that 'isSqlCompression'
* will be deprecated once clients upgrade to consider this flag.
*
*/
private @Nullable Boolean isCompression;
/**
* @return SQL compression flag
*
*/
private @Nullable Boolean issqlcompression;
/**
* @return TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
*
*/
private @Nullable String timeZone;
private SettingsResponse() {}
/**
* @return Workload compression flag. This has been added so that 'isSqlCompression'
* will be deprecated once clients upgrade to consider this flag.
*
*/
public Optional isCompression() {
return Optional.ofNullable(this.isCompression);
}
/**
* @return SQL compression flag
*
*/
public Optional issqlcompression() {
return Optional.ofNullable(this.issqlcompression);
}
/**
* @return TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
*
*/
public Optional timeZone() {
return Optional.ofNullable(this.timeZone);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SettingsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean isCompression;
private @Nullable Boolean issqlcompression;
private @Nullable String timeZone;
public Builder() {}
public Builder(SettingsResponse defaults) {
Objects.requireNonNull(defaults);
this.isCompression = defaults.isCompression;
this.issqlcompression = defaults.issqlcompression;
this.timeZone = defaults.timeZone;
}
@CustomType.Setter
public Builder isCompression(@Nullable Boolean isCompression) {
this.isCompression = isCompression;
return this;
}
@CustomType.Setter
public Builder issqlcompression(@Nullable Boolean issqlcompression) {
this.issqlcompression = issqlcompression;
return this;
}
@CustomType.Setter
public Builder timeZone(@Nullable String timeZone) {
this.timeZone = timeZone;
return this;
}
public SettingsResponse build() {
final var _resultValue = new SettingsResponse();
_resultValue.isCompression = isCompression;
_resultValue.issqlcompression = issqlcompression;
_resultValue.timeZone = timeZone;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy