com.pulumi.azurenative.migrate.outputs.PerfDataSettingsResponse 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.migrate.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class PerfDataSettingsResponse {
/**
* @return Gets percentile utilization for performance data.
*
*/
private String percentile;
/**
* @return Gets or sets perf data end time.
*
*/
private @Nullable String perfDataEndTime;
/**
* @return Gets or sets perf data start time.
*
*/
private @Nullable String perfDataStartTime;
/**
* @return Gets perf data time range.
*
*/
private String timeRange;
private PerfDataSettingsResponse() {}
/**
* @return Gets percentile utilization for performance data.
*
*/
public String percentile() {
return this.percentile;
}
/**
* @return Gets or sets perf data end time.
*
*/
public Optional perfDataEndTime() {
return Optional.ofNullable(this.perfDataEndTime);
}
/**
* @return Gets or sets perf data start time.
*
*/
public Optional perfDataStartTime() {
return Optional.ofNullable(this.perfDataStartTime);
}
/**
* @return Gets perf data time range.
*
*/
public String timeRange() {
return this.timeRange;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PerfDataSettingsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String percentile;
private @Nullable String perfDataEndTime;
private @Nullable String perfDataStartTime;
private String timeRange;
public Builder() {}
public Builder(PerfDataSettingsResponse defaults) {
Objects.requireNonNull(defaults);
this.percentile = defaults.percentile;
this.perfDataEndTime = defaults.perfDataEndTime;
this.perfDataStartTime = defaults.perfDataStartTime;
this.timeRange = defaults.timeRange;
}
@CustomType.Setter
public Builder percentile(String percentile) {
if (percentile == null) {
throw new MissingRequiredPropertyException("PerfDataSettingsResponse", "percentile");
}
this.percentile = percentile;
return this;
}
@CustomType.Setter
public Builder perfDataEndTime(@Nullable String perfDataEndTime) {
this.perfDataEndTime = perfDataEndTime;
return this;
}
@CustomType.Setter
public Builder perfDataStartTime(@Nullable String perfDataStartTime) {
this.perfDataStartTime = perfDataStartTime;
return this;
}
@CustomType.Setter
public Builder timeRange(String timeRange) {
if (timeRange == null) {
throw new MissingRequiredPropertyException("PerfDataSettingsResponse", "timeRange");
}
this.timeRange = timeRange;
return this;
}
public PerfDataSettingsResponse build() {
final var _resultValue = new PerfDataSettingsResponse();
_resultValue.percentile = percentile;
_resultValue.perfDataEndTime = perfDataEndTime;
_resultValue.perfDataStartTime = perfDataStartTime;
_resultValue.timeRange = timeRange;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy