com.pulumi.azurenative.azurearcdata.outputs.ActiveDirectoryConnectorPropertiesResponse 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.azurenative.azurearcdata.outputs.ActiveDirectoryConnectorSpecResponse;
import com.pulumi.azurenative.azurearcdata.outputs.ActiveDirectoryConnectorStatusResponse;
import com.pulumi.azurenative.azurearcdata.outputs.BasicLoginInformationResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ActiveDirectoryConnectorPropertiesResponse {
/**
* @return Username and password for domain service account authentication.
*
*/
private @Nullable BasicLoginInformationResponse domainServiceAccountLoginInformation;
/**
* @return The provisioning state of the Active Directory connector resource.
*
*/
private String provisioningState;
/**
* @return null
*
*/
private ActiveDirectoryConnectorSpecResponse spec;
/**
* @return null
*
*/
private @Nullable ActiveDirectoryConnectorStatusResponse status;
private ActiveDirectoryConnectorPropertiesResponse() {}
/**
* @return Username and password for domain service account authentication.
*
*/
public Optional domainServiceAccountLoginInformation() {
return Optional.ofNullable(this.domainServiceAccountLoginInformation);
}
/**
* @return The provisioning state of the Active Directory connector resource.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return null
*
*/
public ActiveDirectoryConnectorSpecResponse spec() {
return this.spec;
}
/**
* @return null
*
*/
public Optional status() {
return Optional.ofNullable(this.status);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ActiveDirectoryConnectorPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable BasicLoginInformationResponse domainServiceAccountLoginInformation;
private String provisioningState;
private ActiveDirectoryConnectorSpecResponse spec;
private @Nullable ActiveDirectoryConnectorStatusResponse status;
public Builder() {}
public Builder(ActiveDirectoryConnectorPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.domainServiceAccountLoginInformation = defaults.domainServiceAccountLoginInformation;
this.provisioningState = defaults.provisioningState;
this.spec = defaults.spec;
this.status = defaults.status;
}
@CustomType.Setter
public Builder domainServiceAccountLoginInformation(@Nullable BasicLoginInformationResponse domainServiceAccountLoginInformation) {
this.domainServiceAccountLoginInformation = domainServiceAccountLoginInformation;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("ActiveDirectoryConnectorPropertiesResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder spec(ActiveDirectoryConnectorSpecResponse spec) {
if (spec == null) {
throw new MissingRequiredPropertyException("ActiveDirectoryConnectorPropertiesResponse", "spec");
}
this.spec = spec;
return this;
}
@CustomType.Setter
public Builder status(@Nullable ActiveDirectoryConnectorStatusResponse status) {
this.status = status;
return this;
}
public ActiveDirectoryConnectorPropertiesResponse build() {
final var _resultValue = new ActiveDirectoryConnectorPropertiesResponse();
_resultValue.domainServiceAccountLoginInformation = domainServiceAccountLoginInformation;
_resultValue.provisioningState = provisioningState;
_resultValue.spec = spec;
_resultValue.status = status;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy