com.pulumi.azurenative.dataprotection.outputs.ResourceGuardProxyBaseResponse 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.dataprotection.outputs;
import com.pulumi.azurenative.dataprotection.outputs.ResourceGuardOperationDetailResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ResourceGuardProxyBaseResponse {
private @Nullable String description;
private @Nullable String lastUpdatedTime;
private @Nullable List resourceGuardOperationDetails;
private @Nullable String resourceGuardResourceId;
private ResourceGuardProxyBaseResponse() {}
public Optional description() {
return Optional.ofNullable(this.description);
}
public Optional lastUpdatedTime() {
return Optional.ofNullable(this.lastUpdatedTime);
}
public List resourceGuardOperationDetails() {
return this.resourceGuardOperationDetails == null ? List.of() : this.resourceGuardOperationDetails;
}
public Optional resourceGuardResourceId() {
return Optional.ofNullable(this.resourceGuardResourceId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ResourceGuardProxyBaseResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String description;
private @Nullable String lastUpdatedTime;
private @Nullable List resourceGuardOperationDetails;
private @Nullable String resourceGuardResourceId;
public Builder() {}
public Builder(ResourceGuardProxyBaseResponse defaults) {
Objects.requireNonNull(defaults);
this.description = defaults.description;
this.lastUpdatedTime = defaults.lastUpdatedTime;
this.resourceGuardOperationDetails = defaults.resourceGuardOperationDetails;
this.resourceGuardResourceId = defaults.resourceGuardResourceId;
}
@CustomType.Setter
public Builder description(@Nullable String description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder lastUpdatedTime(@Nullable String lastUpdatedTime) {
this.lastUpdatedTime = lastUpdatedTime;
return this;
}
@CustomType.Setter
public Builder resourceGuardOperationDetails(@Nullable List resourceGuardOperationDetails) {
this.resourceGuardOperationDetails = resourceGuardOperationDetails;
return this;
}
public Builder resourceGuardOperationDetails(ResourceGuardOperationDetailResponse... resourceGuardOperationDetails) {
return resourceGuardOperationDetails(List.of(resourceGuardOperationDetails));
}
@CustomType.Setter
public Builder resourceGuardResourceId(@Nullable String resourceGuardResourceId) {
this.resourceGuardResourceId = resourceGuardResourceId;
return this;
}
public ResourceGuardProxyBaseResponse build() {
final var _resultValue = new ResourceGuardProxyBaseResponse();
_resultValue.description = description;
_resultValue.lastUpdatedTime = lastUpdatedTime;
_resultValue.resourceGuardOperationDetails = resourceGuardOperationDetails;
_resultValue.resourceGuardResourceId = resourceGuardResourceId;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy