com.pulumi.googlenative.container.v1.outputs.DailyMaintenanceWindowResponse Maven / Gradle / Ivy
// *** 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.googlenative.container.v1.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class DailyMaintenanceWindowResponse {
/**
* @return [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario. Duration will be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format "PTnHnMnS".
*
*/
private String duration;
/**
* @return Time within the maintenance window to start the maintenance operations. Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
*
*/
private String startTime;
private DailyMaintenanceWindowResponse() {}
/**
* @return [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario. Duration will be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format "PTnHnMnS".
*
*/
public String duration() {
return this.duration;
}
/**
* @return Time within the maintenance window to start the maintenance operations. Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
*
*/
public String startTime() {
return this.startTime;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DailyMaintenanceWindowResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String duration;
private String startTime;
public Builder() {}
public Builder(DailyMaintenanceWindowResponse defaults) {
Objects.requireNonNull(defaults);
this.duration = defaults.duration;
this.startTime = defaults.startTime;
}
@CustomType.Setter
public Builder duration(String duration) {
this.duration = Objects.requireNonNull(duration);
return this;
}
@CustomType.Setter
public Builder startTime(String startTime) {
this.startTime = Objects.requireNonNull(startTime);
return this;
}
public DailyMaintenanceWindowResponse build() {
final var o = new DailyMaintenanceWindowResponse();
o.duration = duration;
o.startTime = startTime;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy