com.pulumi.azurenative.saas.outputs.SaasPropertiesResponseTerm 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.saas.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 SaasPropertiesResponseTerm {
/**
* @return The end date of the current term
*
*/
private @Nullable String endDate;
/**
* @return The start date of the current term
*
*/
private @Nullable String startDate;
/**
* @return The unit indicating Monthly / Yearly
*
*/
private @Nullable String termUnit;
private SaasPropertiesResponseTerm() {}
/**
* @return The end date of the current term
*
*/
public Optional endDate() {
return Optional.ofNullable(this.endDate);
}
/**
* @return The start date of the current term
*
*/
public Optional startDate() {
return Optional.ofNullable(this.startDate);
}
/**
* @return The unit indicating Monthly / Yearly
*
*/
public Optional termUnit() {
return Optional.ofNullable(this.termUnit);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SaasPropertiesResponseTerm defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String endDate;
private @Nullable String startDate;
private @Nullable String termUnit;
public Builder() {}
public Builder(SaasPropertiesResponseTerm defaults) {
Objects.requireNonNull(defaults);
this.endDate = defaults.endDate;
this.startDate = defaults.startDate;
this.termUnit = defaults.termUnit;
}
@CustomType.Setter
public Builder endDate(@Nullable String endDate) {
this.endDate = endDate;
return this;
}
@CustomType.Setter
public Builder startDate(@Nullable String startDate) {
this.startDate = startDate;
return this;
}
@CustomType.Setter
public Builder termUnit(@Nullable String termUnit) {
this.termUnit = termUnit;
return this;
}
public SaasPropertiesResponseTerm build() {
final var _resultValue = new SaasPropertiesResponseTerm();
_resultValue.endDate = endDate;
_resultValue.startDate = startDate;
_resultValue.termUnit = termUnit;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy