com.pulumi.aws.imagebuilder.outputs.GetDistributionConfigurationDistributionContainerDistributionConfigurationTargetRepository Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud 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.aws.imagebuilder.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetDistributionConfigurationDistributionContainerDistributionConfigurationTargetRepository {
/**
* @return Name of the container repository where the output container image is stored.
*
*/
private String repositoryName;
/**
* @return Service in which the image is registered.
*
*/
private String service;
private GetDistributionConfigurationDistributionContainerDistributionConfigurationTargetRepository() {}
/**
* @return Name of the container repository where the output container image is stored.
*
*/
public String repositoryName() {
return this.repositoryName;
}
/**
* @return Service in which the image is registered.
*
*/
public String service() {
return this.service;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDistributionConfigurationDistributionContainerDistributionConfigurationTargetRepository defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String repositoryName;
private String service;
public Builder() {}
public Builder(GetDistributionConfigurationDistributionContainerDistributionConfigurationTargetRepository defaults) {
Objects.requireNonNull(defaults);
this.repositoryName = defaults.repositoryName;
this.service = defaults.service;
}
@CustomType.Setter
public Builder repositoryName(String repositoryName) {
if (repositoryName == null) {
throw new MissingRequiredPropertyException("GetDistributionConfigurationDistributionContainerDistributionConfigurationTargetRepository", "repositoryName");
}
this.repositoryName = repositoryName;
return this;
}
@CustomType.Setter
public Builder service(String service) {
if (service == null) {
throw new MissingRequiredPropertyException("GetDistributionConfigurationDistributionContainerDistributionConfigurationTargetRepository", "service");
}
this.service = service;
return this;
}
public GetDistributionConfigurationDistributionContainerDistributionConfigurationTargetRepository build() {
final var _resultValue = new GetDistributionConfigurationDistributionContainerDistributionConfigurationTargetRepository();
_resultValue.repositoryName = repositoryName;
_resultValue.service = service;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy