
com.pulumi.azurenative.cloudngfw.outputs.GetGlobalRulestackChangeLogResult 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.cloudngfw.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetGlobalRulestackChangeLogResult {
/**
* @return list of changes
*
*/
private List changes;
/**
* @return lastCommitted timestamp
*
*/
private @Nullable String lastCommitted;
/**
* @return lastModified timestamp
*
*/
private @Nullable String lastModified;
private GetGlobalRulestackChangeLogResult() {}
/**
* @return list of changes
*
*/
public List changes() {
return this.changes;
}
/**
* @return lastCommitted timestamp
*
*/
public Optional lastCommitted() {
return Optional.ofNullable(this.lastCommitted);
}
/**
* @return lastModified timestamp
*
*/
public Optional lastModified() {
return Optional.ofNullable(this.lastModified);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetGlobalRulestackChangeLogResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List changes;
private @Nullable String lastCommitted;
private @Nullable String lastModified;
public Builder() {}
public Builder(GetGlobalRulestackChangeLogResult defaults) {
Objects.requireNonNull(defaults);
this.changes = defaults.changes;
this.lastCommitted = defaults.lastCommitted;
this.lastModified = defaults.lastModified;
}
@CustomType.Setter
public Builder changes(List changes) {
if (changes == null) {
throw new MissingRequiredPropertyException("GetGlobalRulestackChangeLogResult", "changes");
}
this.changes = changes;
return this;
}
public Builder changes(String... changes) {
return changes(List.of(changes));
}
@CustomType.Setter
public Builder lastCommitted(@Nullable String lastCommitted) {
this.lastCommitted = lastCommitted;
return this;
}
@CustomType.Setter
public Builder lastModified(@Nullable String lastModified) {
this.lastModified = lastModified;
return this;
}
public GetGlobalRulestackChangeLogResult build() {
final var _resultValue = new GetGlobalRulestackChangeLogResult();
_resultValue.changes = changes;
_resultValue.lastCommitted = lastCommitted;
_resultValue.lastModified = lastModified;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy