![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.containerservice.outputs.RegistryTaskRegistryCredential Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.containerservice.outputs;
import com.pulumi.azure.containerservice.outputs.RegistryTaskRegistryCredentialCustom;
import com.pulumi.azure.containerservice.outputs.RegistryTaskRegistryCredentialSource;
import com.pulumi.core.annotations.CustomType;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class RegistryTaskRegistryCredential {
/**
* @return One or more `custom` blocks as defined above.
*
*/
private @Nullable List customs;
/**
* @return One `source` block as defined below.
*
*/
private @Nullable RegistryTaskRegistryCredentialSource source;
private RegistryTaskRegistryCredential() {}
/**
* @return One or more `custom` blocks as defined above.
*
*/
public List customs() {
return this.customs == null ? List.of() : this.customs;
}
/**
* @return One `source` block as defined below.
*
*/
public Optional source() {
return Optional.ofNullable(this.source);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RegistryTaskRegistryCredential defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List customs;
private @Nullable RegistryTaskRegistryCredentialSource source;
public Builder() {}
public Builder(RegistryTaskRegistryCredential defaults) {
Objects.requireNonNull(defaults);
this.customs = defaults.customs;
this.source = defaults.source;
}
@CustomType.Setter
public Builder customs(@Nullable List customs) {
this.customs = customs;
return this;
}
public Builder customs(RegistryTaskRegistryCredentialCustom... customs) {
return customs(List.of(customs));
}
@CustomType.Setter
public Builder source(@Nullable RegistryTaskRegistryCredentialSource source) {
this.source = source;
return this;
}
public RegistryTaskRegistryCredential build() {
final var _resultValue = new RegistryTaskRegistryCredential();
_resultValue.customs = customs;
_resultValue.source = source;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy