com.pulumi.azurenative.logz.outputs.PlanDataResponse 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.logz.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 PlanDataResponse {
/**
* @return different billing cycles like MONTHLY/WEEKLY. this could be enum
*
*/
private @Nullable String billingCycle;
/**
* @return date when plan was applied
*
*/
private @Nullable String effectiveDate;
/**
* @return plan id as published by Logz
*
*/
private @Nullable String planDetails;
/**
* @return different usage type like PAYG/COMMITTED. this could be enum
*
*/
private @Nullable String usageType;
private PlanDataResponse() {}
/**
* @return different billing cycles like MONTHLY/WEEKLY. this could be enum
*
*/
public Optional billingCycle() {
return Optional.ofNullable(this.billingCycle);
}
/**
* @return date when plan was applied
*
*/
public Optional effectiveDate() {
return Optional.ofNullable(this.effectiveDate);
}
/**
* @return plan id as published by Logz
*
*/
public Optional planDetails() {
return Optional.ofNullable(this.planDetails);
}
/**
* @return different usage type like PAYG/COMMITTED. this could be enum
*
*/
public Optional usageType() {
return Optional.ofNullable(this.usageType);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PlanDataResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String billingCycle;
private @Nullable String effectiveDate;
private @Nullable String planDetails;
private @Nullable String usageType;
public Builder() {}
public Builder(PlanDataResponse defaults) {
Objects.requireNonNull(defaults);
this.billingCycle = defaults.billingCycle;
this.effectiveDate = defaults.effectiveDate;
this.planDetails = defaults.planDetails;
this.usageType = defaults.usageType;
}
@CustomType.Setter
public Builder billingCycle(@Nullable String billingCycle) {
this.billingCycle = billingCycle;
return this;
}
@CustomType.Setter
public Builder effectiveDate(@Nullable String effectiveDate) {
this.effectiveDate = effectiveDate;
return this;
}
@CustomType.Setter
public Builder planDetails(@Nullable String planDetails) {
this.planDetails = planDetails;
return this;
}
@CustomType.Setter
public Builder usageType(@Nullable String usageType) {
this.usageType = usageType;
return this;
}
public PlanDataResponse build() {
final var _resultValue = new PlanDataResponse();
_resultValue.billingCycle = billingCycle;
_resultValue.effectiveDate = effectiveDate;
_resultValue.planDetails = planDetails;
_resultValue.usageType = usageType;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy