com.pulumi.azurenative.scom.outputs.DomainUserCredentialsResponse 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.scom.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class DomainUserCredentialsResponse {
/**
* @return Key vault url to get the domain username and password
*
*/
private @Nullable String keyVaultUrl;
/**
* @return Domain Password secret
*
*/
private @Nullable String passwordSecret;
/**
* @return Domain user name secret
*
*/
private @Nullable String userNameSecret;
private DomainUserCredentialsResponse() {}
/**
* @return Key vault url to get the domain username and password
*
*/
public Optional keyVaultUrl() {
return Optional.ofNullable(this.keyVaultUrl);
}
/**
* @return Domain Password secret
*
*/
public Optional passwordSecret() {
return Optional.ofNullable(this.passwordSecret);
}
/**
* @return Domain user name secret
*
*/
public Optional userNameSecret() {
return Optional.ofNullable(this.userNameSecret);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DomainUserCredentialsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String keyVaultUrl;
private @Nullable String passwordSecret;
private @Nullable String userNameSecret;
public Builder() {}
public Builder(DomainUserCredentialsResponse defaults) {
Objects.requireNonNull(defaults);
this.keyVaultUrl = defaults.keyVaultUrl;
this.passwordSecret = defaults.passwordSecret;
this.userNameSecret = defaults.userNameSecret;
}
@CustomType.Setter
public Builder keyVaultUrl(@Nullable String keyVaultUrl) {
this.keyVaultUrl = keyVaultUrl;
return this;
}
@CustomType.Setter
public Builder passwordSecret(@Nullable String passwordSecret) {
this.passwordSecret = passwordSecret;
return this;
}
@CustomType.Setter
public Builder userNameSecret(@Nullable String userNameSecret) {
this.userNameSecret = userNameSecret;
return this;
}
public DomainUserCredentialsResponse build() {
final var _resultValue = new DomainUserCredentialsResponse();
_resultValue.keyVaultUrl = keyVaultUrl;
_resultValue.passwordSecret = passwordSecret;
_resultValue.userNameSecret = userNameSecret;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy