com.pulumi.azurenative.workloads.outputs.DayResponse 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.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class DayResponse {
/**
* @return Date of the month
*
*/
private @Nullable Integer date;
/**
* @return Whether Date is last date of month
*
*/
private @Nullable Boolean isLast;
private DayResponse() {}
/**
* @return Date of the month
*
*/
public Optional date() {
return Optional.ofNullable(this.date);
}
/**
* @return Whether Date is last date of month
*
*/
public Optional isLast() {
return Optional.ofNullable(this.isLast);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DayResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer date;
private @Nullable Boolean isLast;
public Builder() {}
public Builder(DayResponse defaults) {
Objects.requireNonNull(defaults);
this.date = defaults.date;
this.isLast = defaults.isLast;
}
@CustomType.Setter
public Builder date(@Nullable Integer date) {
this.date = date;
return this;
}
@CustomType.Setter
public Builder isLast(@Nullable Boolean isLast) {
this.isLast = isLast;
return this;
}
public DayResponse build() {
final var _resultValue = new DayResponse();
_resultValue.date = date;
_resultValue.isLast = isLast;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy