com.pulumi.azurenative.azurearcdata.outputs.ActiveDirectoryConnectorStatusResponse 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.azurearcdata.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ActiveDirectoryConnectorStatusResponse {
/**
* @return The time that the custom resource was last updated.
*
*/
private @Nullable String lastUpdateTime;
/**
* @return The version of the replicaSet associated with the AD connector custom resource.
*
*/
private @Nullable Double observedGeneration;
/**
* @return The state of the AD connector custom resource.
*
*/
private @Nullable String state;
private ActiveDirectoryConnectorStatusResponse() {}
/**
* @return The time that the custom resource was last updated.
*
*/
public Optional lastUpdateTime() {
return Optional.ofNullable(this.lastUpdateTime);
}
/**
* @return The version of the replicaSet associated with the AD connector custom resource.
*
*/
public Optional observedGeneration() {
return Optional.ofNullable(this.observedGeneration);
}
/**
* @return The state of the AD connector custom resource.
*
*/
public Optional state() {
return Optional.ofNullable(this.state);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ActiveDirectoryConnectorStatusResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String lastUpdateTime;
private @Nullable Double observedGeneration;
private @Nullable String state;
public Builder() {}
public Builder(ActiveDirectoryConnectorStatusResponse defaults) {
Objects.requireNonNull(defaults);
this.lastUpdateTime = defaults.lastUpdateTime;
this.observedGeneration = defaults.observedGeneration;
this.state = defaults.state;
}
@CustomType.Setter
public Builder lastUpdateTime(@Nullable String lastUpdateTime) {
this.lastUpdateTime = lastUpdateTime;
return this;
}
@CustomType.Setter
public Builder observedGeneration(@Nullable Double observedGeneration) {
this.observedGeneration = observedGeneration;
return this;
}
@CustomType.Setter
public Builder state(@Nullable String state) {
this.state = state;
return this;
}
public ActiveDirectoryConnectorStatusResponse build() {
final var _resultValue = new ActiveDirectoryConnectorStatusResponse();
_resultValue.lastUpdateTime = lastUpdateTime;
_resultValue.observedGeneration = observedGeneration;
_resultValue.state = state;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy