com.pulumi.azurenative.app.outputs.ContainerRegistryResponse 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.app.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class ContainerRegistryResponse {
/**
* @return Login server of the container registry.
*
*/
private String containerRegistryServer;
/**
* @return Resource ID of the managed identity.
*
*/
private String identityResourceId;
private ContainerRegistryResponse() {}
/**
* @return Login server of the container registry.
*
*/
public String containerRegistryServer() {
return this.containerRegistryServer;
}
/**
* @return Resource ID of the managed identity.
*
*/
public String identityResourceId() {
return this.identityResourceId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ContainerRegistryResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String containerRegistryServer;
private String identityResourceId;
public Builder() {}
public Builder(ContainerRegistryResponse defaults) {
Objects.requireNonNull(defaults);
this.containerRegistryServer = defaults.containerRegistryServer;
this.identityResourceId = defaults.identityResourceId;
}
@CustomType.Setter
public Builder containerRegistryServer(String containerRegistryServer) {
if (containerRegistryServer == null) {
throw new MissingRequiredPropertyException("ContainerRegistryResponse", "containerRegistryServer");
}
this.containerRegistryServer = containerRegistryServer;
return this;
}
@CustomType.Setter
public Builder identityResourceId(String identityResourceId) {
if (identityResourceId == null) {
throw new MissingRequiredPropertyException("ContainerRegistryResponse", "identityResourceId");
}
this.identityResourceId = identityResourceId;
return this;
}
public ContainerRegistryResponse build() {
final var _resultValue = new ContainerRegistryResponse();
_resultValue.containerRegistryServer = containerRegistryServer;
_resultValue.identityResourceId = identityResourceId;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy