
com.pulumi.azurenative.web.outputs.RegistryCredentialsResponse Maven / Gradle / Ivy
// *** 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.web.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 RegistryCredentialsResponse {
/**
* @return The name of the Secret that contains the registry login password
*
*/
private @Nullable String passwordSecretRef;
/**
* @return Container Registry Server
*
*/
private @Nullable String server;
/**
* @return Container Registry Username
*
*/
private @Nullable String username;
private RegistryCredentialsResponse() {}
/**
* @return The name of the Secret that contains the registry login password
*
*/
public Optional passwordSecretRef() {
return Optional.ofNullable(this.passwordSecretRef);
}
/**
* @return Container Registry Server
*
*/
public Optional server() {
return Optional.ofNullable(this.server);
}
/**
* @return Container Registry Username
*
*/
public Optional username() {
return Optional.ofNullable(this.username);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RegistryCredentialsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String passwordSecretRef;
private @Nullable String server;
private @Nullable String username;
public Builder() {}
public Builder(RegistryCredentialsResponse defaults) {
Objects.requireNonNull(defaults);
this.passwordSecretRef = defaults.passwordSecretRef;
this.server = defaults.server;
this.username = defaults.username;
}
@CustomType.Setter
public Builder passwordSecretRef(@Nullable String passwordSecretRef) {
this.passwordSecretRef = passwordSecretRef;
return this;
}
@CustomType.Setter
public Builder server(@Nullable String server) {
this.server = server;
return this;
}
@CustomType.Setter
public Builder username(@Nullable String username) {
this.username = username;
return this;
}
public RegistryCredentialsResponse build() {
final var _resultValue = new RegistryCredentialsResponse();
_resultValue.passwordSecretRef = passwordSecretRef;
_resultValue.server = server;
_resultValue.username = username;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy